Can't create playlist, NFS path substitution & advancedsettings.xml
#1
Hi,

First post, hope it's in the right place.

As the subject says i can't create a playlist.
I'm running Frodo 12.2 on a RPi and also Frodo 12.3 on ATV2.
I get the same error on both.

ATV2:

Code:
18:51:00 T:117395456 WARNING: FileNFS::OpenForWrite() called with overwriting enabled! - //playlists/music/atvplaylist.m3u
18:51:00 T:117395456   ERROR: CNFSFile::Open: Unable to open file : '//playlists/music/atvplaylist.m3u' error : 'open call failed with "NFS: Lookup of //playlists failed with NFS3ERR_NOENT(-2)"'
18:51:00 T:117395456   ERROR: Could not save M3U playlist: [special://profile/playlists/music/atvplaylist.m3u]

RPi:

Code:
18:30:05 T:3040403456 WARNING: FileNFS::OpenForWrite() called with overwriting enabled! - //playlists/music/HELPPLAYLIST.m3u
18:30:05 T:3040403456   ERROR: CNFSFile::Open: Unable to open file : '//playlists/music/HELPPLAYLIST.m3u' error : 'open call failed with "NFS: Lookup of //playlists failed with NFS3ERR_NOENT(-2)"'
18:30:05 T:3040403456   ERROR: Could not save M3U playlist: [special://profile/playlists/music/HELPPLAYLIST.m3u]

advancedsettings.xml:

Code:
<advancedsettings>
  <videodatabase>
    <type>mysql</type>
    <host>***.***.***.***</host>
    <port>3306</port>
    <user>xbmc</user>
    <pass>xbmc</pass>
  </videodatabase>
  <musicdatabase>
    <type>mysql</type>
    <host>***.***.***.***</host>
    <port>3306</port>
    <user>xbmc</user>
    <pass>xbmc</pass>
  </musicdatabase>
  <videolibrary>
    <importwatchedstate>true</importwatchedstate>
    <importresumepoint>true</importresumepoint>
  </videolibrary>
  <pathsubstitution>
    <substitute>
      <from>special://profile/playlists/</from>
      <to>nfs://***.***.***.***/Users/apple/XBMC/userdata_sync/playlists/</to>
    </substitute>
    <substitute>
      <from>special://profile/keymaps/</from>
      <to>nfs://***.***.***.***/Users/apple/XBMC/userdata_sync/keymaps/</to>
    </substitute>
    <substitute>
      <from>special://profile/sources.xml</from>
      <to>nfs://***.***.***.***/Users/apple/XBMC/userdata_sync/sources.xml</to>
    </substitute>
    <substitute>
      <from>special://profile/mediasources.xml</from>
      <to>nfs://***.***.***.***/Users/apple/XBMC/userdata_sync/mediasources.xml</to>
    </substitute>
    <substitute>
      <from>special://profile/RssFeeds.xml</from>
      <to>nfs://***.***.***.***/Users/apple/XBMC/userdata_sync/RssFeeds.xml</to>
    </substitute>
    <substitute>
      <from>special://profile/favourites.xml</from>
      <to>nfs://***.***.***.***/Users/apple/XBMC/userdata_sync/favourites.xml</to>
    </substitute>
    <substitute>
      <from>special://profile/passwords.xml</from>
      <to>nfs://***.***.***.***/Users/apple/XBMC/userdata_sync/passwords.xml</to>
    </substitute>
  </pathsubstitution>
</advancedsettings>

The userdata_sync folder has read/write permission for "everyone".

NFS setup on iMac 10.7.5:

Code:
#### XBMC acces to itunes shares ####
/Users/apple/Music/iTunes/iTunes\ Music/Music -ro -mapall=nobody -alldirs
/Users/apple/Music/iTunes/iTunes\ Music/Movies -ro -mapall=nobody -alldirs
/Users/apple/Music/iTunes/iTunes\ Music/TV\ Shows -ro -mapall=nobody -alldirs

#### Sync XBMC Clients ####
/Users/apple/XBMC/userdata_sync/ -ro -mapall=nobody -alldirs

I checked this with
Code:
nfsd checkexports

I also have other NFS & mysql stuff that is working i.e. access to iTunes shares and syncing 1channel info.

Is there a problem with my advancedsettings.xml file? Thanks in advance for any help.

Bye.
Reply
#2
You're exporting userdata_sync as a read-only share:
Code:
/Users/apple/XBMC/userdata_sync/ -ro -mapall=nobody -alldirs

Remove -ro.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply
#3
LaughI should have picked that.
I knew it was something stupid I'd done, thanks for your reply.
Reply

Logout Mark Read Team Forum Stats Members Help
Can't create playlist, NFS path substitution & advancedsettings.xml0