Nightingale Forums

Full Version: Path is never correct in exported playlists
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I am syncing from Ubuntu to an SD card, and everything works fine except one problem: the path to the files, set in the playlists.

I'll sync to /media/user/sdcard/Music, and the relative playlist folder is ../, meaning that it writes to /media/user/sdcard. This is fine, and the playlists go to the right place; however, When I open them. the path to files should be:

Music/Artist/File Name.mp3

but instead, it is:

./../sdcard/File Name.mp3

It doesn't matter if I change the playlist directory. It always sets the paths in the wrong place. What do I do?
(03-12-2015, 01:04 PM)3×5 Wrote: [ -> ]It doesn't matter if I change the playlist directory. It always sets the paths in the wrong place. What do I do?

For me, using ".." as directory works as expected better. I agree that this is inconvenient, but "../" is treated as if you would have the playlist within a folder named by the empty string on the parent directory.

There is, however, an actual bug causing the wrong directory to be put into the file. Should be fixed in trunk.
Thanks, rsjtdrjgfuzkfg. Do you mean that if I set my playlist directory to be '..' rather than '../', nightingale will know to export the playlists one level above the music, but the paths within these playlists will now be correct?

Also, do I need the nightly build for this to work? Thanks.
(03-16-2015, 03:29 PM)3×5 Wrote: [ -> ]Do you mean that if I set my playlist directory to be '..' rather than '../', nightingale will know to export the playlists one level above the music, but the paths within these playlists will now be correct?
Yes. '../' will fail for another reason.

(03-16-2015, 03:29 PM)3×5 Wrote: [ -> ]Also, do I need the nightly build for this to work? Thanks.
You can use either a nightly build of Nightingale, override the synchronization feature or directly replace the affected file within your copy (it's packed within 'extensions/foldersync@rsjtdrjgfuzkfg.com/chrome/foldersync.jar' in your nightingale folder, you need some tool to edit zip files).

So I'd assume the easiest way would be to use a nightly build (only x64 linux is available at the moment).

Alternatively, I packed an add-on update for the synchronization feature (which, internally, is the old Songbird add-on FolderSync). By installing it you'll get that bit updated, but that disables the one built into Nightingale, so you should uninstall the add-on as soon as you upgrade to a newer version.