![]() |
|
SageTV Clients Development This forum is for discussions relating to SageTV Open Source Clients Development. |
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
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: Code:
Sending SageTV Command 20 23:14:08.282 [Media-thesteins.org] DEBUG s.m.android.gdx.MiniClientRenderer - New Player Requested 23:14:08.282 [Media-thesteins.org] DEBUG s.m.android.gdx.MiniClientRenderer - Using iJKPlayer 23:14:08.283 [Media-thesteins.org] 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 s.m.net.SimplePullDataSource - 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(String.java:504) ~[na:0.0] at java.lang.String.substring(String.java:1333) ~[na:0.0] at sagex.miniclient.net.SimplePullDataSource.getHost(SimplePullDataSource.java:93) ~[na:0.0] at sagex.miniclient.net.SimplePullDataSource.open(SimplePullDataSource.java:43) ~[na:0.0] at sagex.miniclient.android.video.ijkplayer.IJKPullMediaSource._open(IJKPullMediaSource.java:33) ~[na:0.0] at sagex.miniclient.android.video.ijkplayer.IJKPullMediaSource.getSize(IJKPullMediaSource.java:51) ~[na:0.0] 23:14:08.298 [Thread-2086] DEBUG s.m.net.SimplePullDataSource - Close()
__________________
Home Network: https://karylstein.com/technology.html |
#2
|
|||
|
|||
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: https://karylstein.com/technology.html |
#3
|
||||
|
||||
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)
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
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 |