(2013-10-13, 07:21)rob_webset Wrote: Looks like it's finding the file, just the player is failing to play it. If you diff the latest tvtunes_scraper.py with the old one, there are very few changes for playing the preview theme. Looking at your log it appears that the file URL is generated OK, it is when it is given to the XBMC Player that it then seems to have problems.
I did a very quick search for the error you were getting and got a few posts:
http://forum.xbmc.org/showthread.php?tid=159233
http://forum.xbmc.org/showthread.php?tid=149408
http://trac.xbmc.org/ticket/13864
So I would check which version of XBMC you are running and test playing the manually downloaded file on the same machine.
Rob
Thanks! I also found those threads. I've tried using DVDPlayer, AMLPlayer, and PAPlayer as default for html sources. However none of them worked. I'm using XBMC Frodo 12.2 built for AML android devices (specifically
this one) .
PAPlayer plays fine mp3's as you can see in the log below:
Code:
13:23:42 T:1087812216 DEBUG: CPlayerCoreFactory::GetPlayers(/storage/emulated/0/external_storage/sda1/XBMC/Tunes/theme.mp3)
13:23:42 T:1087812216 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
13:23:42 T:1087812216 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
13:23:42 T:1087812216 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv
13:23:42 T:1087812216 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: myth/mms
13:23:42 T:1087812216 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
13:23:42 T:1087812216 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtmp
13:23:42 T:1087812216 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
13:23:42 T:1087812216 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
13:23:42 T:1087812216 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
13:23:42 T:1087812216 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: ifo
13:23:42 T:1087812216 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
13:23:42 T:1087812216 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
13:23:42 T:1087812216 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
13:23:42 T:1087812216 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: radio
13:23:42 T:1087812216 DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
13:23:42 T:1087812216 DEBUG: CPlayerCoreFactory::GetPlayers: adding audiodefaultplayer (3)
13:23:42 T:1087812216 DEBUG: CPlayerCoreFactory::GetPlayers: for video=0, audio=1
13:23:42 T:1087812216 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: PAPlayer (3)
13:23:42 T:1087812216 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
13:23:42 T:1087812216 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
13:23:42 T:1087812216 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: AMLPlayer (4)
13:23:42 T:1087812216 DEBUG: CPlayerCoreFactory::GetPlayers: added 3 players
13:23:42 T:1087812216 DEBUG: CFileCache::Open - opening </storage/emulated/0/external_storage/sda1/XBMC/Tunes/theme.mp3> using cache
13:23:42 T:1935052760 DEBUG: , request seek on source to 3213385
13:23:42 T:1087812216 DEBUG: - waiting for position 3278793.
13:23:42 T:1935052760 INFO: CFileCache::Process - Hit eof.
13:23:42 T:1935052760 DEBUG: , request seek on source to 0
13:23:42 T:1087812216 INFO: AudioDecoder: File is queued
13:23:42 T:1087812216 INFO: CSoftAE::MakeStream - AE_FMT_S32NE, 44100, FL,FR
13:23:42 T:1088481496 DEBUG: CSoftAE::Run - Sink restart flagged
13:23:42 T:1088481496 INFO: CSoftAE::InternalOpenSink - keeping old sink with : AE_FMT_FLOAT, FL,FR, 44100hz
13:23:42 T:1088481496 DEBUG: CSoftAE::InternalOpenSink - Using speaker layout: 5.1
13:23:42 T:1088481496 DEBUG: CSoftAE::InternalOpenSink - Internal Buffer Size: 30104
13:23:42 T:1088481496 DEBUG: AERemap: Downmix normalization is disabled
13:23:42 T:1088481496 DEBUG: CSoftAEStream::CSoftAEStream - Converting from AE_FMT_S32NE to AE_FMT_FLOAT
13:23:42 T:1087812216 DEBUG: AudioDecoder::GetReplayGain - Final Replaygain applied: 1.000000, Track/Album Gain 89.000000, Peak 0.000000
13:23:42 T:1087812216 INFO: PAPlayer::PrepareStream - Ready
13:23:42 T:1951618224 DEBUG: PAPlayer::Process - Playback started
13:23:42 T:1088481496 DEBUG: CSoftAE::Run - Sink restart flagged
13:23:42 T:1088481496 INFO: CSoftAE::InternalOpenSink - keeping old sink with : AE_FMT_FLOAT, FL,FR, 44100hz
13:23:42 T:1088481496 DEBUG: CSoftAE::InternalOpenSink - Using speaker layout: 5.1
13:23:42 T:1088481496 DEBUG: CSoftAE::InternalOpenSink - Internal Buffer Size: 30104
Now, here are the logs of DVDPlayer:
Code:
13:37:08 T:1087813064 INFO: - Created session to http://www.televisiontunes.com
13:37:09 T:1087813064 DEBUG: CCurlFile::GetMimeType - http://www.televisiontunes.com/download.php?f=X-Files_-_Secret_of_the_X-Files -> x-directory/normal
13:37:09 T:1087813064 DEBUG: CPlayerCoreFactory::GetPlayers(http://www.televisiontunes.com/download.php?f=X-Files_-_Secret_of_the_X-Files)
13:37:09 T:1087813064 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
13:37:09 T:1087813064 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
13:37:09 T:1087813064 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv
13:37:09 T:1087813064 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: myth/mms
13:37:09 T:1087813064 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
13:37:09 T:1087813064 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtmp
13:37:09 T:1087813064 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: http
13:37:09 T:1087813064 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: http
13:37:09 T:1087813064 DEBUG: CPlayerSelectionRule::GetPlayers: adding player: DVDPlayer (1) for rule: http
13:37:09 T:1087813064 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
13:37:09 T:1087813064 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
13:37:09 T:1087813064 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: streams
13:37:09 T:1087813064 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: aacp/sdp
13:37:09 T:1087813064 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: mp2
13:37:09 T:1087813064 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
13:37:09 T:1087813064 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: ifo
13:37:09 T:1087813064 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
13:37:09 T:1087813064 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
13:37:09 T:1087813064 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
13:37:09 T:1087813064 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: radio
13:37:09 T:1087813064 DEBUG: CPlayerCoreFactory::GetPlayers: matched 1 rules with players
13:37:09 T:1087813064 DEBUG: CPlayerCoreFactory::GetPlayers: adding audiodefaultplayer (3)
13:37:09 T:1087813064 DEBUG: CPlayerCoreFactory::GetPlayers: for video=0, audio=1
13:37:09 T:1087813064 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: PAPlayer (3)
13:37:09 T:1087813064 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
13:37:09 T:1087813064 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
13:37:09 T:1087813064 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: AMLPlayer (4)
13:37:09 T:1087813064 DEBUG: CPlayerCoreFactory::GetPlayers: added 3 players
13:37:09 T:1087813064 NOTICE: DVDPlayer: Opening: http://www.televisiontunes.com/download.php?f=X-Files_-_Secret_of_the_X-Files
13:37:09 T:1087813064 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
13:37:09 T:1087813064 DEBUG: CRenderManager::UpdateDisplayLatency - Latency set to 0 msec
13:37:09 T:1087813064 DEBUG: LinuxRendererGL: Cleaning up GL resources
13:37:09 T:1087813064 DEBUG: SECTION:LoadDLL(libavutil-51-arm.so)
13:37:09 T:1087813064 DEBUG: Loading: /data/app-lib/org.xbmc.xbmc-1/libavutil-51-arm.so
13:37:09 T:1087813064 DEBUG: SECTION:LoadDLL(libswscale-2-arm.so)
13:37:09 T:1087813064 DEBUG: Loading: /data/app-lib/org.xbmc.xbmc-1/libswscale-2-arm.so
13:37:09 T:1955337016 NOTICE: Creating InputStream
13:37:09 T:1955337016 DEBUG: CFileCache::Open - opening <download.php> using cache
13:37:09 T:1955337016 DEBUG: CurlFile::Open(0x74586830) http://www.televisiontunes.com/download.php?f=X-Files_-_Secret_of_the_X-Files
13:37:09 T:1087813064 DEBUG: ------ Window Init (DialogBusy.xml) ------
13:37:09 T:1087813064 DEBUG: Window DialogBusy.xml was already loaded
13:37:09 T:1087813064 DEBUG: Alloc resources: 0.01m
13:37:09 T:1955337016 NOTICE: Creating Demuxer
13:37:09 T:1955337016 DEBUG: SECTION:LoadDLL(libavcodec-53-arm.so)
13:37:09 T:1955337016 DEBUG: Loading: /data/app-lib/org.xbmc.xbmc-1/libavcodec-53-arm.so
13:37:09 T:1955337016 DEBUG: SECTION:LoadDLL(libavformat-53-arm.so)
13:37:09 T:1955337016 DEBUG: Loading: /data/app-lib/org.xbmc.xbmc-1/libavformat-53-arm.so
13:37:10 T:1944219256 INFO: CFileCache::Process - Hit eof.
13:37:10 T:1955337016 ERROR: - error probing input format, http://www.televisiontunes.com/download.php?f=X-Files_-_Secret_of_the_X-Files
13:37:10 T:1955337016 ERROR: - Error creating demuxer
13:37:10 T:1955337016 NOTICE: CDVDPlayer::OnExit()
13:37:10 T:1955337016 NOTICE: CDVDPlayer::OnExit() deleting input stream
13:37:10 T:1087813064 DEBUG: CAnnouncementManager - Announcement: OnStop from xbmc
13:37:10 T:1087813064 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnStop
13:37:10 T:1087813064 NOTICE: CDVDPlayer::CloseFile()
13:37:10 T:1087813064 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
13:37:10 T:1087813064 NOTICE: DVDPlayer: waiting for threads to exit
13:37:10 T:1087813064 NOTICE: DVDPlayer: finished waiting
13:37:10 T:1087813064 DEBUG: LinuxRendererGL: Cleaning up GL resources
13:37:10 T:1087813064 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
13:37:21 T:1087813064 DEBUG: SECTION:UnloadDelayed(DLL: libImageLib-arm.so)
13:37:21 T:1087813064 DEBUG: Unloading: libImageLib-arm.so
13:37:40 T:1087813064 DEBUG: SECTION:UnloadDelayed(DLL: libavcodec-53-arm.so)
13:37:40 T:1087813064 DEBUG: Unloading: libavcodec-53-arm.so
13:37:40 T:1087813064 INFO: - Closing session to http://www.televisiontunes.com (easy=0x73267c18, multi=0x749659c0)
13:37:41 T:1087813064 DEBUG: SECTION:UnloadDelayed(DLL: libavformat-53-arm.so)
13:37:41 T:1087813064 DEBUG: Unloading: libavformat-53-arm.so
AMLPlayer just crashes XBMC and the log is empty..
I also tried putting the url in "theme.strm" file and it seems to be using DVDPlayer but it also fails to play:
Code:
13:47:39 T:1087815360 DEBUG: CApplication::ProcessAndStartPlaylist(/storage/emulated/0/external_storage/sda1/XBMC/Tunes/theme.strm, 0)
13:47:39 T:1087815360 DEBUG: CAnnouncementManager - Announcement: OnClear from xbmc
13:47:39 T:1087815360 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnClear
13:47:39 T:1087815360 DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc
13:47:39 T:1087815360 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd
13:47:39 T:1087815360 INFO: - Created session to http://www.televisiontunes.com
13:47:39 T:1087815360 DEBUG: CCurlFile::GetMimeType - http://www.televisiontunes.com/download.php?f=X-Files_-_Secret_of_the_X-Files -> x-directory/normal
13:47:39 T:1087815360 DEBUG: CPlayerCoreFactory::GetPlayers(http://www.televisiontunes.com/download.php?f=X-Files_-_Secret_of_the_X-Files)
13:47:39 T:1087815360 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
13:47:39 T:1087815360 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
13:47:39 T:1087815360 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv
13:47:39 T:1087815360 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: myth/mms
13:47:39 T:1087815360 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
13:47:39 T:1087815360 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtmp
13:47:39 T:1087815360 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
13:47:39 T:1087815360 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
13:47:39 T:1087815360 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: streams
13:47:39 T:1087815360 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: aacp/sdp
13:47:39 T:1087815360 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: mp2
13:47:39 T:1087815360 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
13:47:39 T:1087815360 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: ifo
13:47:39 T:1087815360 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
13:47:39 T:1087815360 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
13:47:39 T:1087815360 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
13:47:39 T:1087815360 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: radio
13:47:39 T:1087815360 DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
13:47:39 T:1087815360 DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (1)
13:47:39 T:1087815360 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
13:47:39 T:1087815360 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
13:47:39 T:1087815360 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
13:47:39 T:1087815360 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: AMLPlayer (4)
13:47:39 T:1087815360 DEBUG: CPlayerCoreFactory::GetPlayers: added 2 players
13:47:39 T:1087815360 NOTICE: DVDPlayer: Opening: http://www.televisiontunes.com/download.php?f=X-Files_-_Secret_of_the_X-Files
13:47:39 T:1087815360 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
13:47:39 T:1087815360 DEBUG: CRenderManager::UpdateDisplayLatency - Latency set to 0 msec
13:47:39 T:1087815360 DEBUG: LinuxRendererGL: Cleaning up GL resources
13:47:39 T:1087815360 DEBUG: SECTION:LoadDLL(libavutil-51-arm.so)
13:47:39 T:1087815360 DEBUG: Loading: /data/app-lib/org.xbmc.xbmc-1/libavutil-51-arm.so
13:47:39 T:1087815360 DEBUG: SECTION:LoadDLL(libswscale-2-arm.so)
13:47:39 T:1087815360 DEBUG: Loading: /data/app-lib/org.xbmc.xbmc-1/libswscale-2-arm.so
13:47:39 T:1992521016 NOTICE: Creating InputStream
13:47:39 T:1992521016 DEBUG: CFileCache::Open - opening <download.php> using cache
13:47:39 T:1992521016 DEBUG: CurlFile::Open(0x725797b0) http://www.televisiontunes.com/download.php?f=X-Files_-_Secret_of_the_X-Files
13:47:39 T:1087815360 DEBUG: ------ Window Init (DialogBusy.xml) ------
13:47:39 T:1087815360 DEBUG: Window DialogBusy.xml was already loaded
13:47:39 T:1087815360 DEBUG: Alloc resources: 0.03m
13:47:40 T:1992521016 NOTICE: Creating Demuxer
13:47:40 T:1992521016 DEBUG: SECTION:LoadDLL(libavcodec-53-arm.so)
13:47:40 T:1992521016 DEBUG: Loading: /data/app-lib/org.xbmc.xbmc-1/libavcodec-53-arm.so
13:47:40 T:1992521016 DEBUG: SECTION:LoadDLL(libavformat-53-arm.so)
13:47:40 T:1992521016 DEBUG: Loading: /data/app-lib/org.xbmc.xbmc-1/libavformat-53-arm.so
13:47:40 T:1926854176 INFO: CFileCache::Process - Hit eof.
13:47:41 T:1992521016 ERROR: - error probing input format, http://www.televisiontunes.com/download.php?f=X-Files_-_Secret_of_the_X-Files
13:47:41 T:1992521016 ERROR: - Error creating demuxer
13:47:41 T:1992521016 NOTICE: CDVDPlayer::OnExit()
13:47:41 T:1992521016 NOTICE: CDVDPlayer::OnExit() deleting input stream
13:47:41 T:1087815360 DEBUG: CAnnouncementManager - Announcement: OnStop from xbmc
13:47:41 T:1087815360 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnStop
13:47:41 T:1087815360 ERROR: Playlist Player: skipping unplayable item: 0, path [http://www.televisiontunes.com/download.php?f=X-Files_-_Secret_of_the_X-Files]
13:47:41 T:1087815360 DEBUG: Playlist Player: no more playable items... aborting playback
I don't know what else to do. Can you help me in any way?