SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Clients Development
Forum Rules FAQs Community Downloads Today's Posts Search


SageTV Clients Development This forum is for discussions relating to SageTV Open Source Clients Development.

Thread Tools Search this Thread Display Modes
Old 08-19-2016, 09:28 PM
KarylFStein KarylFStein is offline
Sage Fanatic
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
Android Error: Failed to play the selected media file

Right after I upgraded sagex, I lost the ability to play back shows on my tablet. I understand that the client doesn't use sagex for anything, but as far as I know that was the only change between it working and it not, so just throwing that out. Playback on my phone works fine, though.

I can browse the menus fine, but when I select something to watch it says that there was a failure playing the selected media file. The path it provides in the error message is correct. I get the following in the logs:

Sending SageTV Command 20
23:14:08.282 [] DEBUG - New Player Requested
23:14:08.282 [] DEBUG - Using iJKPlayer
23:14:08.283 [] DEBUG s.m.a.v.ijkplayer.IJKMediaPlayerImpl - load(): url: \\STEINSERVER\Recorded TV\AmericasGotTalent-S11E15-LiveResults2-25154257-0.mpg
23:14:08.284 [main] DEBUG s.m.a.gdx.MiniClientGDXActivity - Setting up the Video Frame
23:14:08.284 [main] DEBUG s.m.a.v.ijkplayer.IJKMediaPlayerImpl - Creating Player
23:14:08.285 [main] DEBUG s.m.a.v.ijkplayer.IJKMediaPlayerImpl - Sending \\STEINSERVER\Recorded TV\AmericasGotTalent-S11E15-LiveResults2-25154257-0.mpg to mediaplayer
23:14:08.285 [main] INFO  s.m.a.v.ijkplayer.IJKMediaPlayerImpl - Playing URL Using DataSource: isPush:false, sageTVUrl: \\STEINSERVER\Recorded TV\AmericasGotTalent-S11E15-LiveResults2-25154257-0.mpg
23:14:08.291 [main] DEBUG s.m.a.v.ijkplayer.IJKMediaPlayerImpl - mediaplayer has our URL
23:14:08.296 [Thread-2086] ERROR - Unable to open: \\STEINSERVER\Recorded TV\AmericasGotTalent-S11E15-LiveResults2-25154257-0.mpg
java.lang.StringIndexOutOfBoundsException: length=78; regionStart=6; regionLength=-7
	at java.lang.String.startEndAndLength( ~[na:0.0]
	at java.lang.String.substring( ~[na:0.0]
	at ~[na:0.0]
	at ~[na:0.0]
	at ~[na:0.0]
	at ~[na:0.0]
23:14:08.298 [Thread-2086] DEBUG - Close()
Phoenix Remote on the same tablet and Placeshifter on my PC both work fine.
Home Network:
Reply With Quote
Old 08-19-2016, 09:39 PM
KarylFStein KarylFStein is offline
Sage Fanatic
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
Strange, I just tried connecting to the "internal" IP of the server, (192.168.x.x), and playback worked. I usually connect to the external IP, (the public address my ISP assigns), even when at home and that has worked fine in the past. (I recently traveled for a couple weeks and used it almost daily--major problems with skipping, but that's for another thread...)
Home Network:
Reply With Quote
Old 08-20-2016, 04:34 AM
stuckless's Avatar
stuckless stuckless is offline
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
When you are using the external IP the client is probably in "placeshifter" mode and would be transcoding the files on the fly on the server... so using the internal IP would certainly be better on the same network.

That being said, the error, showing the url as url: \\STEINSERVER\Recorded TV\AmericasGotTalent-S11E15-LiveResults2-25154257-0.mpg is also odd, since that looks like a local file playback and the URL should actually be stv:// or push://. I can't really explain why it would be trying to play the file locally, but, I do know it has nothing to do with the updated sagex... that much would be a coincidence. (core sage and miniclient don't rely on sagex at all)
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error (-19) There is no mediaplayer that can playback the selected file Email68 SageTV Placeshifter 2 09-10-2010 09:14 PM
ERROR (-19): There is no MediaPlayer that can playback the selected file Texas-Hansen SageTV Placeshifter 3 02-11-2009 02:37 PM
error (-20):- There is no MediaPlayer that can playback the selected file while it's zzmystique SageTV Beta Test Software 3 02-29-2008 03:48 PM
Placeshifter Error (-19) There is no MediaPlayer that can playback the selected file Addict SageTV Placeshifter 3 04-28-2007 12:26 PM
ERROR(-2): Files Selected... backsix SageTV Beta Test Software 3 09-22-2005 09:18 PM

All times are GMT -6. The time now is 05:59 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.