path substitution
#1
hi,

i have an apple tv2 running frodo 12.2 and to save some space i am trying to use path substitution to move the thumbnails onto a shared folder on my pc since my library is shared using mysql.

i have shared a folder d:\Tnails as tnails and given everyone full permission to it, and a user called xbmc full permission too.

here is my advanced.xml file

<advancedsettings>

<pathsubstitution>
<substitute>
<from>special://masterprofile/Thumbnails</from>
<to>smb://192.168.0.5/Tnails/</to>
</substitute>
</pathsubstitution>

<pathsubstitution>
<substitute>
<from>special://profile/Thumbnails</from>
<to>smb://192.168.0.5/Tnails/</to>
</substitute>
</pathsubstitution>

<videodatabase>
<type>mysql</type>
<host>192.168.0.5</host>
<port>3306</port>
<user>xbmc</user>
<pass>xbmc</pass>
<name>Videos</name>
</videodatabase>

<musicdatabase>
<type>mysql</type>
<host>192.168.0.5</host>
<port>3306</port>
<user>xbmc</user>
<pass>xbmc</pass>
<name>Music</name>
</musicdatabase>
</advancedsettings>

when i run xbmc the path substitution does not appear to be working and i see these errors in my xbmc.log file:

21:04:32 T:103776256 NOTICE: -----------------------------------------------------------------------
21:04:32 T:103776256 NOTICE: Starting XBMC (12.2 Git:20130502-32b1a5e), Platform: Darwin iOS (13.0.0, Version 6.1 (Build 10B144b)). Built on May 2 2013
21:04:32 T:103776256 NOTICE: special://xbmc/ is mapped to: /private/var/stash/Applications/XBMC.frappliance/XBMCData/XBMCHome
21:04:32 T:103776256 NOTICE: special://xbmcbin/ is mapped to: /private/var/stash/Applications/XBMC.frappliance/XBMCData/XBMCHome
21:04:32 T:103776256 NOTICE: special://masterprofile/ is mapped to: /var/mobile/Library/Preferences/XBMC/userdata
21:04:32 T:103776256 NOTICE: special://home/ is mapped to: /var/mobile/Library/Preferences/XBMC
21:04:32 T:103776256 NOTICE: special://temp/ is mapped to: /var/mobile/Library/Preferences/XBMC/temp
21:04:32 T:103776256 NOTICE: special://frameworks/ is mapped to: /var/stash/Applications/XBMC.frappliance/Frameworks
21:04:32 T:103776256 NOTICE: The executable running is: /var/stash/Applications/XBMC.frappliance/XBMC
21:04:32 T:103776256 NOTICE: Local hostname: Living-Room-Apple-TV
21:04:32 T:103776256 NOTICE: Log File is located: /var/mobile/Library/Preferences/xbmc.log
21:04:32 T:103776256 NOTICE: -----------------------------------------------------------------------
21:04:32 T:103776256 NOTICE: load settings...
21:04:32 T:103776256 NOTICE: special://profile/ is mapped to: special://masterprofile/
21:04:32 T:103776256 NOTICE: loading special://masterprofile/guisettings.xml
21:04:32 T:103776256 NOTICE: Getting hardware information now...
21:04:32 T:103776256 INFO: Using analog output
21:04:32 T:103776256 INFO: AC3 pass through is enabled
21:04:32 T:103776256 INFO: DTS pass through is enabled
21:04:32 T:103776256 DEBUG: Error: Requested setting (audiooutput.passthroughaac) was not found. It must be case-sensitive
21:04:32 T:103776256 INFO: AAC pass through is disabled
21:04:32 T:103776256 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
21:04:32 T:103776256 DEBUG: CPlayerCoreConfig::<ctor>: created player DVDPlayer for core 1
21:04:32 T:103776256 DEBUG: CPlayerCoreConfig::<ctor>: created player oldmplayercore for core 1
21:04:32 T:103776256 DEBUG: CPlayerCoreConfig::<ctor>: created player PAPlayer for core 3
21:04:32 T:103776256 DEBUG: CPlayerSelectionRule::Initialize: creating rule: system rules
21:04:32 T:103776256 DEBUG: CPlayerSelectionRule::Initialize: creating rule: rtv
21:04:32 T:103776256 DEBUG: CPlayerSelectionRule::Initialize: creating rule: hdhomerun/myth/mms/udp
21:04:32 T:103776256 DEBUG: CPlayerSelectionRule::Initialize: creating rule: lastfm/shout
21:04:32 T:103776256 DEBUG: CPlayerSelectionRule::Initialize: creating rule: rtmp
21:04:32 T:103776256 DEBUG: CPlayerSelectionRule::Initialize: creating rule: rtsp
21:04:32 T:103776256 DEBUG: CPlayerSelectionRule::Initialize: creating rule: streams
21:04:32 T:103776256 DEBUG: CPlayerSelectionRule::Initialize: creating rule: aacp/sdp
21:04:32 T:103776256 DEBUG: CPlayerSelectionRule::Initialize: creating rule: mp2
21:04:32 T:103776256 DEBUG: CPlayerSelectionRule::Initialize: creating rule: dvd
21:04:32 T:103776256 DEBUG: CPlayerSelectionRule::Initialize: creating rule: dvdimage
21:04:32 T:103776256 DEBUG: CPlayerSelectionRule::Initialize: creating rule: sdp/asf
21:04:32 T:103776256 DEBUG: CPlayerSelectionRule::Initialize: creating rule: nsv
21:04:32 T:103776256 DEBUG: CPlayerSelectionRule::Initialize: creating rule: radio
21:04:32 T:103776256 NOTICE: Loaded playercorefactory configuration
21:04:32 T:103776256 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
21:04:32 T:103776256 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
21:04:32 T:103776256 NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
21:04:32 T:103776256 NOTICE: Loaded settings file from special://profile/advancedsettings.xml
21:04:32 T:103776256 NOTICE: Contents of special://profile/advancedsettings.xml are...
<advancedsettings>
<pathsubstitution>
<substitute>
<from>special://masterprofile/Thumbnails</from>
<to>smb://192.168.0.5/Tnails/</to>
</substitute>
</pathsubstitution>
<pathsubstitution>
<substitute>
<from>special://profile/Thumbnails</from>
<to>smb://192.168.0.5/Tnails/</to>
</substitute>
</pathsubstitution>
<videodatabase>
<type>mysql</type>
<host>192.168.0.5</host>
<port>3306</port>
<user>xbmc</user>
<pass>xbmc</pass>
<name>Videos</name>
</videodatabase>
<musicdatabase>
<type>mysql</type>
<host>192.168.0.5</host>
<port>3306</port>
<user>xbmc</user>
<pass>xbmc</pass>
<name>Music</name>
</musicdatabase>
</advancedsettings>
21:04:32 T:103776256 DEBUG: Configuring path substitutions
21:04:32 T:103776256 DEBUG: Registering substition pair:
21:04:32 T:103776256 DEBUG: From: [/var/mobile/Library/Preferences/XBMC/userdata/Thumbnails]
21:04:32 T:103776256 DEBUG: To: [smb://192.168.0.5/Tnails/]
21:04:32 T:103776256 WARNING: VIDEO database configuration is experimental.
21:04:32 T:103776256 NOTICE: Getting hardware information now...
21:04:32 T:103776256 INFO: Using analog output
21:04:32 T:103776256 INFO: AC3 pass through is enabled
21:04:32 T:103776256 INFO: DTS pass through is enabled
21:04:32 T:103776256 DEBUG: Error: Requested setting (audiooutput.passthroughaac) was not found. It must be case-sensitive
21:04:32 T:103776256 INFO: AAC pass through is disabled
21:04:32 T:103776256 NOTICE: Default DVD Player: dvdplayer
21:04:32 T:103776256 NOTICE: Default Video Player: dvdplayer
21:04:32 T:103776256 NOTICE: Default Audio Player: paplayer
21:04:32 T:103776256 NOTICE: Disabled debug logging due to GUI setting. Level 0.
21:04:32 T:103776256 NOTICE: Log level changed to 0
21:04:32 T:103776256 NOTICE: Loading media sources from special://masterprofile/sources.xml
21:04:33 T:103776256 ERROR: Create - Error( Permission denied )
21:04:33 T:103776256 ERROR: Create - Error creating /var/mobile/Library/Preferences/XBMC/userdata/Thumbnails
21:04:33 T:103776256 ERROR: Create - Error creating special://masterprofile/Thumbnails
21:04:33 T:103776256 ERROR: Create - Error( Permission denied )
21:04:33 T:103776256 ERROR: Create - Error creating /var/mobile/Library/Preferences/XBMC/userdata/Thumbnails/Video
21:04:33 T:103776256 ERROR: Create - Error creating special://masterprofile/Thumbnails/Video
21:04:33 T:103776256 ERROR: Create - Error( Permission denied )
21:04:33 T:103776256 ERROR: Create - Error creating /var/mobile/Library/Preferences/XBMC/userdata/Thumbnails/Video/Bookmarks
21:04:33 T:103776256 ERROR: Create - Error creating special://masterprofile/Thumbnails/Video/Bookmarks
21:04:33 T:103776256 ERROR: Create - Error( Permission denied )
21:04:33 T:103776256 ERROR: Create - Error creating /var/mobile/Library/Preferences/XBMC/userdata/Thumbnails/0
21:04:33 T:103776256 ERROR: Create - Error creating special://masterprofile/Thumbnails/0
21:04:33 T:103776256 ERROR: Create - Error( Permission denied )
21:04:33 T:103776256 ERROR: Create - Error creating /var/mobile/Library/Preferences/XBMC/userdata/Thumbnails/1
21:04:33 T:103776256 ERROR: Create - Error creating special://masterprofile/Thumbnails/1
21:04:33 T:103776256 ERROR: Create - Error( Permission denied )
21:04:33 T:103776256 ERROR: Create - Error creating /var/mobile/Library/Preferences/XBMC/userdata/Thumbnails/2
21:04:33 T:103776256 ERROR: Create - Error creating special://masterprofile/Thumbnails/2
21:04:33 T:103776256 ERROR: Create - Error( Permission denied )
21:04:33 T:103776256 ERROR: Create - Error creating /var/mobile/Library/Preferences/XBMC/userdata/Thumbnails/3
21:04:33 T:103776256 ERROR: Create - Error creating special://masterprofile/Thumbnails/3
21:04:33 T:103776256 ERROR: Create - Error( Permission denied )
21:04:33 T:103776256 ERROR: Create - Error creating /var/mobile/Library/Preferences/XBMC/userdata/Thumbnails/4
21:04:33 T:103776256 ERROR: Create - Error creating special://masterprofile/Thumbnails/4
21:04:33 T:103776256 ERROR: Create - Error( Permission denied )
21:04:33 T:103776256 ERROR: Create - Error creating /var/mobile/Library/Preferences/XBMC/userdata/Thumbnails/5
21:04:33 T:103776256 ERROR: Create - Error creating special://masterprofile/Thumbnails/5
21:04:33 T:103776256 ERROR: Create - Error( Permission denied )
21:04:33 T:103776256 ERROR: Create - Error creating /var/mobile/Library/Preferences/XBMC/userdata/Thumbnails/6
21:04:33 T:103776256 ERROR: Create - Error creating special://masterprofile/Thumbnails/6
21:04:33 T:103776256 ERROR: Create - Error( Permission denied )
21:04:33 T:103776256 ERROR: Create - Error creating /var/mobile/Library/Preferences/XBMC/userdata/Thumbnails/7
21:04:33 T:103776256 ERROR: Create - Error creating special://masterprofile/Thumbnails/7
21:04:33 T:103776256 ERROR: Create - Error( Permission denied )
21:04:33 T:103776256 ERROR: Create - Error creating /var/mobile/Library/Preferences/XBMC/userdata/Thumbnails/8
21:04:33 T:103776256 ERROR: Create - Error creating special://masterprofile/Thumbnails/8
21:04:33 T:103776256 ERROR: Create - Error( Permission denied )
21:04:33 T:103776256 ERROR: Create - Error creating /var/mobile/Library/Preferences/XBMC/userdata/Thumbnails/9
21:04:33 T:103776256 ERROR: Create - Error creating special://masterprofile/Thumbnails/9
21:04:33 T:103776256 ERROR: Create - Error( Permission denied )
21:04:33 T:103776256 ERROR: Create - Error creating /var/mobile/Library/Preferences/XBMC/userdata/Thumbnails/a
21:04:33 T:103776256 ERROR: Create - Error creating special://masterprofile/Thumbnails/a
21:04:33 T:103776256 ERROR: Create - Error( Permission denied )
21:04:33 T:103776256 ERROR: Create - Error creating /var/mobile/Library/Preferences/XBMC/userdata/Thumbnails/b
21:04:33 T:103776256 ERROR: Create - Error creating special://masterprofile/Thumbnails/b
21:04:33 T:103776256 ERROR: Create - Error( Permission denied )
21:04:33 T:103776256 ERROR: Create - Error creating /var/mobile/Library/Preferences/XBMC/userdata/Thumbnails/c
21:04:33 T:103776256 ERROR: Create - Error creating special://masterprofile/Thumbnails/c
21:04:33 T:103776256 ERROR: Create - Error( Permission denied )
21:04:33 T:103776256 ERROR: Create - Error creating /var/mobile/Library/Preferences/XBMC/userdata/Thumbnails/d
21:04:33 T:103776256 ERROR: Create - Error creating special://masterprofile/Thumbnails/d
21:04:33 T:103776256 ERROR: Create - Error( Permission denied )
21:04:33 T:103776256 ERROR: Create - Error creating /var/mobile/Library/Preferences/XBMC/userdata/Thumbnails/e
21:04:33 T:103776256 ERROR: Create - Error creating special://masterprofile/Thumbnails/e
21:04:33 T:103776256 ERROR: Create - Error( Permission denied )
21:04:33 T:103776256 ERROR: Create - Error creating /var/mobile/Library/Preferences/XBMC/userdata/Thumbnails/f
21:04:33 T:103776256 ERROR: Create - Error creating special://masterprofile/Thumbnails/f
21:04:33 T:103776256 NOTICE: Running database version Addons15
21:04:34 T:103776256 NOTICE: Checking resolution 16
21:04:34 T:103776256 NOTICE: GL_VENDOR = Imagination Technologies
21:04:34 T:103776256 NOTICE: GL_RENDERER = PowerVR SGX 535
21:04:34 T:103776256 NOTICE: GL_VERSION = OpenGL ES 2.0 IMGSGX535-73.16.1
21:04:34 T:103776256 NOTICE: GL_SHADING_LANGUAGE_VERSION = OpenGL ES GLSL ES 1.0
21:04:34 T:103776256 NOTICE: GL_EXTENSIONS = GL_OES_depth_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_texture_float GL_OES_texture_half_float GL_OES_vertex_array_object GL_EXT_blend_minmax GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_map_buffer_range GL_EXT_read_format_bgra GL_EXT_separate_shader_objects GL_EXT_shader_framebuffer_fetch GL_EXT_shader_texture_lod GL_EXT_texture_filter_anisotropic GL_EXT_texture_storage GL_APPLE_copy_texture_levels GL_APPLE_framebuffer_multisample GL_APPLE_rgb_422 GL_APPLE_sync GL_APPLE_texture_format_BGRA8888 GL_APPLE_texture_max_level GL_IMG_read_format GL_IMG_texture_compression_pvrtc
21:04:35 T:103776256 NOTICE: Running database version Addons15
21:04:35 T:103776256 NOTICE: Running database version ViewModes4
21:04:35 T:103776256 NOTICE: Running database version Textures13
21:04:35 T:103776256 NOTICE: Running database version Music32
21:04:35 T:103776256 NOTICE: Running database version Videos75
21:04:35 T:103776256 NOTICE: Running database version TV22
21:04:35 T:103776256 NOTICE: Running database version Epg7
21:04:35 T:103776256 NOTICE: initializing playlistplayer
21:04:35 T:103776256 NOTICE: DONE initializing playlistplayer
21:04:37 T:103776256 NOTICE: UpdateLibraries - Starting video library startup scan
21:04:37 T:803811328 NOTICE: -->Python Interpreter Initialized<--
21:04:37 T:103776256 NOTICE: initialize done
21:04:37 T:103776256 NOTICE: Running the application...
21:04:37 T:804765696 NOTICE: -->Python Interpreter Initialized<--
21:04:39 T:103776256 NOTICE: Webserver: Starting...
21:04:39 T:103776256 NOTICE: WebServer: Started the webserver
21:04:39 T:103776256 NOTICE: ES: Starting event server
21:04:39 T:138366976 NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
21:04:39 T:138366976 NOTICE: UDP: Listening on port 9777
21:04:39 T:103776256 NOTICE: starting zeroconf publishing
21:04:39 T:130297856 NOTICE: VideoInfoScanner: Starting scan ..
21:04:39 T:130830336 NOTICE: -->Python Interpreter Initialized<--
21:04:45 T:804765696 NOTICE: Artwork Downloader: ## Service - Run at startup: False
21:04:45 T:804765696 NOTICE: Artwork Downloader: ## Service - Delayed startup: minutes
21:04:45 T:804765696 NOTICE: Artwork Downloader: ## Service - Run as service: False
21:04:45 T:804765696 NOTICE: Artwork Downloader: ## Service - Time: :00
21:04:46 T:130830336 NOTICE: StorageServer Module loaded RUN
21:04:46 T:130830336 NOTICE: StorageClient-2.5.2 Starting server
21:04:46 T:130830336 NOTICE: StorageServer-2.5.2 Storage Server starting /var/mobile/Library/Preferences/XBMC/temp/commoncache.db
21:04:51 T:130297856 WARNING: No information found for item 'smb://JAMIENIC-PC/Downloads/films/Dreams_Come_True_A_Celebration_of_Disney_Animation/dreams come true a celebration of disney animation.avi', it won't be added to the library.
21:05:01 T:130297856 WARNING: GetDirectory: rar lib returned no files in archive smb://JAMIENIC-PC/TV/True Blood/TRUE.BLOOD.S06E10.RADIOACTIVE.1080P.WEB-DL.DD5.1.H.264-NZBGEEK.PART01.RAR, likely corrupt
21:05:01 T:130297856 ERROR: GetDirectory - Error getting rar://smb%3a%2f%2fJAMIENIC-PC%2fTV%2fTrue%20Blood%2fTRUE.BLOOD.S06E10.RADIOACTIVE.1080P.WEB-DL.DD5.1.H.264-NZBGEEK.PART01.RAR/
21:05:05 T:130297856 NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:28
21:05:07 T:103776256 NOTICE: Log level changed to 2
21:05:07 T:103776256 NOTICE: Enabled debug logging due to GUI setting. Level 2.
21:05:07 T:103776256 DEBUG: ------ Window Init () ------
21:05:11 T:997174152 DEBUG: XBMCPureController: Button press remoteAction = 1
21:05:11 T:103776256 DEBUG: CWinEventsIOS: Button press keyID = 6
21:05:11 T:103776256 ERROR: Unable to save settings to special://masterprofile/guisettings.xml
21:05:11 T:103776256 DEBUG: CGUIWindowManager:TonguereviousWindow: Deactivate
21:05:11 T:103776256 DEBUG: ------ Window Deinit (SettingsCategory.xml) ------
21:05:11 T:103776256 DEBUG: CGUIWindowManager:TonguereviousWindow: Activate new
21:05:11 T:103776256 DEBUG: ------ Window Init (Settings.xml) ------
21:05:21 T:103776256 INFO: CheckIdle - Closing session to http://api.themoviedb.org (easy=0x6c70000, multi=0x21c68410)


can anyone shed some light on why i am getting an error creating the files or why it still thinks that the folder is on the apple tv itself?

i have tried my advanced.xml file with and without moving the masterprofile.

Thanks

Jamie
Reply
#2
hi guys i sorted it, i needed to specify the user name and password that the smb share was using, i my case xbmc and password xbmc.
Reply

Logout Mark Read Team Forum Stats Members Help
path substitution0