Hi, Im' using a Win7 PC (with Frodo) as server, everything (including MySQL) works fine - sources are stored like that:
<source>
<name>D-Movies</name>
<path pathversion="1">D:\Movies\</path>
</source>
On the Raspberry runs OpenElec (Frodo) and the MySQL works as well - if I tag a movie as 'seen' it is updated on the PC and vice versa.
But I can't watch anything on the Raspberry - if I select a movie in the 'Movies' section, it just says something like 'file not found'. The sources on the openelec are stored like that (and I can access the files, so the links work):
<source>
<name>D-Movies</name>
<path pathversion="1">smb://192.168.1.14/D-Delta/Movies/</path>
</source>
With my brilliant and sharp mind I immediately deducted that the sources on PC and Raspberry have to be the same - as the MySQL database was created and filled on the PC the paths to the movies on the Raspberry have to be something like "D:\Movies\" which of course doesn't work on linux.
I thought that I could use the pathsubstitution feature and changed my advancedsettings.xml on the Raspberry to:
<pathsubstitution>
<substitute>
<from>D:\Movies\</from>
<to>smb://192.168.1.14/D-Delta/Movies/</to>
</substitute>
</pathsubstitution>
Well, that didn't work. Next I tried it the other way round, that didn't work as well:
<pathsubstitution>
<substitute>
<from>smb://192.168.1.14/D-Delta/Movies/</from>
<to>D:\Movies\</to>
</substitute>
</pathsubstitution>
As I noticed that my mind wasn't as brilliant and sharp as I had thought (duh!), I tried desperately things like copying the original sources.xml from the PC to the Raspberry and again trying various pathsubstitions. No luck so far.
Does anyone know how to fix this problem without changing all sources on the PC to smbs and reimporting the database? Thanx!
<source>
<name>D-Movies</name>
<path pathversion="1">D:\Movies\</path>
</source>
On the Raspberry runs OpenElec (Frodo) and the MySQL works as well - if I tag a movie as 'seen' it is updated on the PC and vice versa.
But I can't watch anything on the Raspberry - if I select a movie in the 'Movies' section, it just says something like 'file not found'. The sources on the openelec are stored like that (and I can access the files, so the links work):
<source>
<name>D-Movies</name>
<path pathversion="1">smb://192.168.1.14/D-Delta/Movies/</path>
</source>
With my brilliant and sharp mind I immediately deducted that the sources on PC and Raspberry have to be the same - as the MySQL database was created and filled on the PC the paths to the movies on the Raspberry have to be something like "D:\Movies\" which of course doesn't work on linux.
I thought that I could use the pathsubstitution feature and changed my advancedsettings.xml on the Raspberry to:
<pathsubstitution>
<substitute>
<from>D:\Movies\</from>
<to>smb://192.168.1.14/D-Delta/Movies/</to>
</substitute>
</pathsubstitution>
Well, that didn't work. Next I tried it the other way round, that didn't work as well:
<pathsubstitution>
<substitute>
<from>smb://192.168.1.14/D-Delta/Movies/</from>
<to>D:\Movies\</to>
</substitute>
</pathsubstitution>
As I noticed that my mind wasn't as brilliant and sharp as I had thought (duh!), I tried desperately things like copying the original sources.xml from the PC to the Raspberry and again trying various pathsubstitions. No luck so far.
Does anyone know how to fix this problem without changing all sources on the PC to smbs and reimporting the database? Thanx!