xboxscene.org forums
OG Xbox Forums => Software Forums => XboxMediaCenter => Topic started by: vmaxvboost on May 03, 2008, 03:32:00 PM
-
I read the manual, and added the following lines to advancedsettings.xml
<system>
<playlistspath>smb://<login>:<password>@LKG316394/HDD_1_1_1/Music/Playlists</playlistspath>
</system>
where login and password is my NAS drive's login & password
This doesn't work.
Is this the correct way to change the default directory for music playlists?
Any help?
Brian
-
The user/pass probably have to be url-encoded.
I suggest removing any reference to the playlist path from advancedsettings.xml and guisettings.xml - just remove the whole tag is probably easiest.
Then create a playlist from the GUI and save it. It'll prompt for where.
Navigate to the appropriate place, and away you go.
Cheers,
Jonathan
-
Thanks for your help.
I removed these lines from advancedsettings.xml
<system>
<playlistspath>smb://<login>:<password>@LKG316394/HDD_1_1_1/Music/Playlists</playlistspath>
</system>
...deleted these lines from guisettings.xml
<playlist>
<repeat>false</repeat>
<shuffle>false</shuffle>
</playlist>
...and commented out these lines from guisettings.xml
...rebooted, saved a playlist, it didn't prompt me for a path, and XBMC saved it to /userdata/playlists/music
I didn't see any reference to "playlist path" (other than commented out above) in either file.
What are "url-encoded" login and password?
Where is the "whole tag" you are referring to for playlist path?
I then tried adding the above <system> lines to guisettings.xml. No luck.
My XBMC version is from Feb 10, 2008
Any help?
Brian
-
You have to remove the:
<system>
... other stuff ...
<playlistspath>whatever_is_here</playlistspath>
... other stuff ...
</system>
from guisettings.xml - that's where it's getting it's setting from.
Cheers,
Jonathan
-
Thanks, Jonathan. I appreciate your time and help.
I tried removing
<playlistspath>whatever_is_here</playlistspath>
from guisettings.xml, but no luck. Still saved the playlist under the UserData folder, without prompting me.
How do I "url-encode" the login & password for this path -
<playlistspath>smb://<login>:<password>@LKG316394/HDD_1_1_1/Music/Playlists</playlistspath>
or, how do I hard-code it in guisettings.xml without getting the GUI to prompt me?
What is interesting is that I don't need to "url-encode" my login or password to play music from this NAS drive (using the NAS drive under "My Music" from the main screen), or using this NAS drive from FileManager.
Thanks again,
Brian
-
http://www.albionresearch.com/misc/urlencode.php
make sure to edit guisettings.xml while xbmc isnt running (it is saved on restart voiding your changes..)
-
Wow, if had hair, I'd pull it out. For something so simple and straight forward....
My login and password do not need to be URL-encoded, as there is no difference between the actual password and the URL-encoded password.
----------------------------------------------------
For this type of setup in guisettings.xml
<system>
<playlistspath>smb://<login>:<password>@LKG316394/HDD_1_1_1/Music/Playlists</playlistspath>
</system>
------------------------------------------------
...if I have this path
LKG316394/HDD_1_1_1/Music/Playlists
or this path
LKG316394/HDD_1_1_1/Music
no file is saved at all.
-------------------------------------------
If I have this path
LKG316394/HDD_1_1_1/
it saves the playlist in this folder
LKG316394/HDD_1_1_1/Music (one folder down)
...mixed in with all of my other music folders.
---------------------------------------------
One time, it saved the playlist as a file, with 0.2 kb file size
Repeating the exact same task, it saved it as a folder, with no file size specified
Both times, the songs within the playlist played OK.
------------------------------------------
???????????? what the ????
How much are trailing backslashes (/) needed when you specify path for playlists?
I'm at a loss...
Brian
-
The playlists path is a base path.
All playlists are stored off that path in subfolders.
Create a Music subdir in whatever your playlists path is.
Cheers,
Jonathan
-
Thanks again, Jonathan. At least now I understand what is going on.
Now, to go forward, I have all of my music and its subfolders on my NAS drive at this path:
smb://<login>:<password>@LKG316394/HDD_1_1_1/Music/
If I don't want the playlists mixed in with my music folders, I can rename the path to
smb://<login>:<password>@LKG316394/HDD_1_1_1/Music2/
and create a path
smb://<login>:<password>@LKG316394/HDD_1_1_1/Music/
solely for playlists.
-------------------------------------------------------------------
Another option, or work around, is to create a simple one line script
move
"q:\userdata\playlists\music\*.*"
to
"smb://<login>:<password>@LKG316394/HDD_1_1_1/Music/playlists"
Does anyone know how to write this script?
Thanks,
Brian
-
Thanks, Jonathan. That worked!
Make changes to <system> section of guisettings.xml
Whatever path you want, create "/Music" subfolder, and that is where the playlists are stored
Brian