Bug streaming from ftp server
#1
I did the mistake of posting this in the General forum but I guess it belongs here.

I have been "streaming" stuff from a friends ftp server for several years without any problems on my old xbox. With my ATV however, some of the items will not start. The xbmc log outputs the error: "ERROR: Playlist Player: skipping unplayable item: -1". The exact same items starts right away on my old xbox (where by the way xbmc has not been updated for probably a couple of years).

If I download any of the "unplayable items" to a computer at my home and play it through an smb share it works flawlessly.

My friend is running a FileZilla server on a Windows server. I have installed vsftp server on my Ubuntu server (so we really do not have very much in common except the ATV). All the same items failes over ftp both from my ubuntu server as on my friends windows server.

If anyone needs a test file to recreate the bug, please PM me.


I am running:
ATV OS 2.3
XBMC Atlantis

Here is some more detailed information from my log (There is however a lot of debug log, so I am not sure if this is the most interesting part:

22:40:55 T:43185152 M: 20123648 DEBUG: Playback has started
22:40:55 T:43185152 M: 20123648 NOTICE: CDVDPlayer::OnExit()
22:40:55 T:43185152 M: 20123648 NOTICE: DVDPlayer: eof, waiting for queues to empty
22:40:55 T:43185152 M: 20123648 NOTICE: DVDPlayer: closing audio stream
22:40:55 T:43185152 M: 20123648 NOTICE: Closing audio stream
22:40:55 T:43185152 M: 20123648 NOTICE: waiting for audio thread to exit
22:40:55 T:43377664 M: 20123648 DEBUG: CDVDPlayerAudio::Process - Abort recieved, exiting thread
22:40:55 T:43377664 M: 20123648 NOTICE: Closing audio device
22:40:55 T:43377664 M: 20123648 NOTICE: thread end: CDVDPlayerAudio::OnExit()
22:40:55 T:43377664 M: 20123648 DEBUG: staticThread, deleting thread graphic context
22:40:55 T:43377664 M: 20123648 DEBUG: Thread 43377664 terminating
22:40:55 T:43185152 M: 20131840 NOTICE: Deleting audio codec
22:40:55 T:43185152 M: 20164608 NOTICE: DVDPlayer: closing video stream
22:40:55 T:43185152 M: 20164608 NOTICE: Closing video stream
22:40:55 T:43185152 M: 20164608 NOTICE: waiting for video thread to exit
22:40:55 T:43428352 M: 20164608 ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true
22:40:55 T:43428352 M: 20164608 NOTICE: thread end: video_thread
22:40:55 T:43428352 M: 20164608 DEBUG: staticThread, deleting thread graphic context
22:40:55 T:43428352 M: 20164608 DEBUG: Thread 43428352 terminating
22:40:55 T:43185152 M: 20172800 NOTICE: deleting video codec
22:40:55 T:43185152 M: 20176896 NOTICE: CDVDPlayer::OnExit() deleting demuxer
22:40:55 T:43185152 M: 20180992 NOTICE: CDVDPlayer::OnExit() deleting input stream
22:40:55 T:43185152 M: 20180992 DEBUG: FileCurl::Close(0xa2c81e0) ftp://user:pwd@ip_address:port/my%20...04180000%2empg
22:40:55 T:43185152 M: 20279296 DEBUG: Playback has finished
22:40:55 T:43185152 M: 20279296 DEBUG: staticThread, deleting thread graphic context
22:40:55 T:43185152 M: 20279296 DEBUG: Thread 43185152 terminating
22:40:55 T:43352064 M: 20279296 DEBUG: staticThread, deleting thread object
22:40:55 T:43352064 M: 20279296 DEBUG: staticThread, deleting thread graphic context
22:40:55 T:43352064 M: 20279296 DEBUG: Thread 43352064 terminating
22:40:56 T:2684407808 M: 20275200 DEBUG: GetMovieId (ftp://user:pwd@ip_address:port/my recordings/Manual Recordings/BarneTV_20081204180000.mpg), query = select idMovie from movie where idFile=43
22:40:56 T:2684407808 M: 20275200 DEBUG: GetEpisodeId (ftp://user:pwd@ip_address:port/my recordings/Manual Recordings/BarneTV_20081204180000.mpg), query = select idEpisode from episode where idFile=43
22:40:56 T:2684407808 M: 20275200 DEBUG: GetMusicVideoId (ftp://user:pwd@ip_address:port/my recordings/Manual Recordings/BarneTV_20081204180000.mpg), query = select idMVideo from musicvideo where idFile=43
22:40:56 T:2684407808 M: 20275200 ERROR: Playlist Player: skipping unplayable item: -1, path [ftp://user:pwd@ip_address:port/my recordings/Manual Recordings/BarneTV_20081204180000.mpg]
22:40:56 T:2684407808 M: 20275200 WARNING: Attempt to set unplayable index -1
22:40:56 T:2684407808 M: 20275200 DEBUG: Playlist Player: too many consecutive failures... aborting playback
22:40:56 T:2684407808 M: 20275200 INFO: Loading skin file: DialogOK.xml
Reply
#2
I found this post while browsing for a solution myself. I have a similar problem with a diffrent output. If anyone can help I'd appreciate it.
My original post is on this page http://forum.xbmc.org/showthread.php?tid...man&page=3. The log is in a link located on that page.
Thanks
cbleman
Reply
#3
jon74 -> in the log, FileCurl properly delimits the spaces in your file path, but GetMovieId does not. Could you me seeing a file path issue?
Reply
#4
I selected upnp, browsed to the root directory of my ISO files, and added that as a source. I added music files the same way, and all my Music files work fine. The only glitch I see is I cannot see the album cover art in ATV. Any Ideas?
Edit: I can see all the cover art for ISO files and Music files on my PC, but not on ATV. May be related?
Reply
#5
davilla -> Thanks for your reply. I checked out your teory, but it seems like it is not related to the path of the file. I got my friend to change the folder containing the failing items so there were not special characters (including spaces in the url). All the same items are still failing.

The new path of one of the failing items were: ftp://user:pwd@ip_address:port/test/A.mpeg


The strange thing is that the folder I am streaming from contains 30-40 files, all these are recordings from TV. Each recording produce a 1.7GB mpeg encoded file. Since they are all produced the same way I would think that there shouldn't be any difference to them, but some of these files failes while other plays flawlessly.
Reply

Logout Mark Read Team Forum Stats Members Help
Bug streaming from ftp server0