SageTV Community  

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

Notices

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
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:

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()
Phoenix Remote on the same tablet and Placeshifter on my PC both work fine.
__________________
Home Network: https://karylstein.com/technology.html
Reply With Quote
  #2  
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: https://karylstein.com/technology.html
Reply With Quote
  #3  
Old 08-20-2016, 04:34 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
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
Reply


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.