Linux Ubuntu: XBMC Can't Play Content Streamed from local Network
#1
Everything works fine with XBMC if content is played locally on the HDD, or USB drive.

The problem is when i try to add a network storage source. I'm using a Western Digital My Net N900 Central router with 1TB built-in storage. I can add the storage device either as a uPnP device, or as a Windows SMB device. Either way, most content cannot be played through XBMC. MP3, AVI, MKV, JPG media files will all fail. It is not a connection speed problem as I have a wireless-n connection. I have also tried with LAN and the same problem exists.

I have also previously tested with a different router, TP-Link TL-WR1043ND router connected via USB to an external HDD device. XBMC has the same problem playing content from it.

I've also found that if I access media from another PC within the same router network, it will work fine. I've narrowed down the issue to XBMC on Ubuntu (12.10) with storage directly connected to the router. Can anyone tell me why this is not working correctly?



Here's an excerpt of the xbmc.log file. My apologies that I'm a newbie, but how can i attached the whole xbmc.log file here?

09:00:38 T:2723638080 ERROR: Read - Error( -1, 22, Invalid argument )
09:00:48 T:2723638080 ERROR: CacheImage Unable to create new image special://masterprofile/Thumbnails/Music/5/52ae5683.tbn from image smb://MYNETN900C/Public/Shared Music/Watch It Burn EP/folder.jpg
09:00:49 T:2723638080 NOTICE: My Music: Scanning for music info using worker thread, operation took 03:31
09:02:12 T:3019221696 ERROR: Read - Error( -1, 22, Invalid argument )
09:02:12 T:3019221696 ERROR: MP3Codec: Error reading file
09:02:12 T:3019221696 ERROR: MP3Codec: Unable to determine file format of musicdb://3/7/35.mp3 (corrupt start of mp3?)
09:02:22 T:3019221696 ERROR: CAudioDecoder: Unable to Init Codec while loading file musicdb://3/7/35.mp3
09:02:22 T:3019221696 ERROR: Playlist Player: skipping unplayable item: 3, path [musicdb://3/7/35.mp3]
09:03:32 T:3019221696 ERROR: Read - Error( -1, 22, Invalid argument )
09:03:32 T:3019221696 ERROR: MP3Codec: Error reading file
09:03:32 T:3019221696 ERROR: MP3Codec: Unable to determine file format of musicdb://3/5/33.mp3 (corrupt start of mp3?)
09:03:42 T:3019221696 ERROR: CAudioDecoder: Unable to Init Codec while loading file musicdb://3/5/33.mp3
09:03:42 T:3019221696 ERROR: Playlist Player: skipping unplayable item: 0, path [musicdb://3/5/33.mp3]
09:05:15 T:3019221696 NOTICE: Samba is idle. Closing the remaining connections
09:05:46 T:3019221696 NOTICE: Storing total System Uptime
09:05:46 T:3019221696 NOTICE: Saving settings
09:05:46 T:3019221696 NOTICE: stop all
09:05:46 T:3019221696 NOTICE: ES: Stopping event server
09:05:46 T:3019221696 NOTICE: stopping upnp
09:05:46 T:3019221696 NOTICE: stopping zeroconf publishing
09:05:46 T:3019221696 NOTICE: Webserver: Stopping...
09:05:46 T:3019221696 NOTICE: WebServer: Stopped the webserver
09:05:46 T:3019221696 NOTICE: Webserver: Stopped...
09:05:47 T:2805971776 NOTICE: ES: UDP Event server stopped
09:05:47 T:3019221696 NOTICE: stop dvd detect media
09:05:47 T:3019221696 NOTICE: stop sap announcement listener
09:05:47 T:3019221696 NOTICE: clean cached files!
09:05:47 T:3019221696 NOTICE: unload skin
09:05:48 T:2870995776 NOTICE: StorageServer-1.3.0 Closed down
09:05:53 T:3019221696 ERROR: XBPyThread:Confusedtop - script didn't stop in proper time - lets kill it
09:05:53 T:3019221696 NOTICE: stop python
09:05:55 T:3019221696 NOTICE: stopped
09:05:55 T:3019221696 NOTICE: destroy
09:05:55 T:3019221696 NOTICE: closing down remote control service
09:05:55 T:3019221696 NOTICE: unload sections
09:05:56 T:3019221696 NOTICE: destroy
09:05:56 T:3019221696 WARNING: Attempted to remove window 10104 from the window manager when it didn't exist
09:05:56 T:3019221696 NOTICE: closing down remote control service
09:05:56 T:3019221696 NOTICE: unload sections
09:05:56 T:3019221696 NOTICE: application stopped...
Reply
#2
You'll want to enable debugging for xbmc.log by going to Settings/System/Debugging (wiki) -> Enable debug logging, and then use xbmclogs.com or pastebin.com and paste the url to attach the whole log. Note the warning on the debug log (wiki) page, that if you have passwords exposed in your logs that you'll want to hide them with a find/replace tool in a text editor.
Reply
#3
Thanks. Here's the log file:
http://xbmclogs.com/show.php?id=15674

The activity is just to add a music source from Windows SMB, then scan the source into the library, and then attempt to play it. It will then fail.

I've since switched to Ubuntu 12.04 but seeing the same failure as Ubuntu 12.10. XBMC installed from the Software Manager.
Reply
#4
I have almost the same problem. I'm running XBMC on Bodhi Linux and am connected to a WD My Net N900 router via ethernet. Same result, sometimes it works sometimes it doesn't. sometimes it stops feeding the file and xbmc indicates a "buffering..." message. Regardless if its HD or SD.
Reply

Logout Mark Read Team Forum Stats Members Help
Ubuntu: XBMC Can't Play Content Streamed from local Network0