Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Trouble Playing Videos from a PC SMB share
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Trouble Playing Videos from a PC SMB share
21st Nov, 2013, 06:34 AM
Post: #1
takethecake Offline
Registered
Posts: 2
Joined: Nov 2013
Reputation: 0
Trouble Playing Videos from a PC SMB share
I'm getting the dreaded "file no longer available" every time I try and play a video on the Pi from my MySQL server on my windows machine. I'm pretty sure I've got my syntax correct as far as using SMB shares, forward slashes/backward slashes, using IP address instead of computer name, etc. I went into the log, and I think my problem is coming from these couple lines:

ERROR: LoadSources Error loading special://masterprofile/sources.xml: Line 38, Error reading end tag.
ERROR: Error: Requested setting (audiooutput.guisoundmode) was not found. It must be case-sensitive

Any clues? Let me know if you guys need any other info
Find all posts by this user
Quote this message in a reply
21st Nov, 2013, 02:03 PM
Post: #2
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Trouble Playing Videos from a PC SMB share
@takethecake

second error (audiooutput.guisoundmode) is common one and can be ignored for now.

but the sources.xml is definitely not correct, like reported by XBMC. anyhow on scraped library link to file is taken from video db and the error should also be logged into xbmc.log after you try playing the file (check / post few last lines of /home/xbian/.xbmc/temp/xbmc.log).

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
22nd Nov, 2013, 08:41 AM
Post: #3
takethecake Offline
Registered
Posts: 2
Joined: Nov 2013
Reputation: 0
RE: Trouble Playing Videos from a PC SMB share
(21st Nov, 2013 02:03 PM)mk01 Wrote:  @takethecake

anyhow on scraped library link to file is taken from video db and the error should also be logged into xbmc.log after you try playing the file (check / post few last lines of /home/xbian/.xbmc/temp/xbmc.log).

I'm not sure I understand what you're saying here, but here is what my sources file looks like on my PC that's acting as my server. When the initial Pi configuration started having this error (the initial install had no sources.xml file), I copied this file into the Pi's /home/xbian/.xbmc/userdata folder, but it didn't help (kind of a shot in the dark there...):

<sources>
<programs>
<default pathversion="1"></default>
</programs>

<video>
<default pathversion="1"></default>
<source>
<name>TV Shows</name>
<path pathversion="1">smb://windowsusername:windowspassword@192.168.1.5/E/TV Shows/</path>
</source>
<source>
<path pathversion="1">smb://windowsusername:windowspassword@192.168.1.5/F/Movies/</path>
<name>Movies</name>
</source>
</video>

<music>
<default pathversion="1"></default>
<source>
<name>Music</name>
<path pathversion="1">smb://windowsusername:windowspassword@192.168.1.5/F/Music/</path>
</source>
</music>

<pictures>
<default pathversion="1"></default>
</pictures>
<files>
<default pathversion="1"></default>
</files>
</sources>

The advancedsettings.xml that I have on both my desktop server, laptop, and now Pi, is:

<advancedsettings>
<pathsubstitution>
<substitute>
<from>special://profile/sources.xml</from>
<to>smb://windowsusername:windowspassword@192.168.1.5/xbmc/userdata/sources.xml</to>
</substitute>
<substitute>
<from>special://profile/mediasources.xml</from>
<to>smb://windowsusername:windowspassword@192.168.1.5/xbmc/userdata/mediasources.xml</to>
</substitute>
</pathsubstitution>

<videodatabase>
<type>mysql</type>
<host>192.168.1.5</host>
<port>3306</port>
<user>xbmc</user>
<pass>xbmc</pass>
</videodatabase>

<musicdatabase>
<type>mysql</type>
<host>192.168.1.5</host>
<port>3306</port>
<user>xbmc</user>
<pass>xbmc</pass>
</musicdatabase>
</advancedsettings>


And just to reiterate, the XBMC installation on my laptop is able to see and play everything from my desktop server without any problems. I feel like this problem is probably something dumb, but I'm just not familiar enough with this stuff to know what to look for. Thanks for the help so far!
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  "Playing Now" and black videos IngoVals 19 57,387 21st Feb, 2013 08:05 PM
Last Post: rikardo1979

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 10th May, 2025, 06:55 PM Powered By MyBB, © 2002-2025 MyBB Group.