Project

General

Profile

Question of Audacious in dual boot configuration (looking for help for sync playlists)

Added by Pascual Lucero over 11 years ago

Hello,

This question is not precisely about a bug in Audacious or something like that, but help. I am currently using a dual boot configuration (Windows and Ubuntu) and probably this is the case for many users (in my case, Ubuntu at home, Windows for work obligations).

My audio files are in a partition that can be read from both operating systems and in each one I have installed Audacious. And usually I make changes from one playlist that I would like to see them replicated when I enter to the other operating system.

Lets say my audio files from Windows perspective are on D:/Music/
From Linux perspective, the location is /media/Windows/Music/

I cannot make symlinks in Ubuntu (to keep the originals in the Windows partition) because the path is different. This only works with playlist of Radio Stations (because the path doesn't change). So currently, I have to to it manually: Opening each playlist in Ubuntu individually, editing manually replacing all ocurrences of "/media/Windows/" with "D:/" and copying the new files to the location of the playlists that Audacious uses in Windows.

Is there a better way to keep this synchronization? A command line argument or shell script? (I am not an expert, so I have no idea). It is cumbersome to do this on a daily basis and I manage playlists of thousands of files (the other option I manage is "try to remember what changes made to a playlist and repeat them manually on the other OS"

Thanks for your attention.


Replies (4)

RE: Question of Audacious in dual boot configuration (looking for help for sync playlists) - Added by Pascual Lucero over 11 years ago

Another thought I had was the following (I have no idea how to implement it, though):

1) Perhaps Audacious can store playlist using relative paths instead of absolute (perhaps something that can be configured in the preferences).
2) Create a new folder, lets say "Folder X" in the same directory where Audio files are located.
3) Perhaps in Audacious you can change the location where playlists are stored in BOTH operating systems, so perhaps you can configure in such a way that playlists are stored just in "Folder X" instead of "C:/Users/Username/AppData/Local" in Windows or "/home/Username/.config/audacious" in Linux (perhaps something that can be configured in the preferences).

If 1) and 3) can be satisfied (or can be added as options of the program in "Preferences"), then problems could be solved more easily; In that case this would be a "Feature Request".

Thanks for your attention

RE: Question of Audacious in dual boot configuration (looking for help for sync playlists) - Added by Pascual Lucero over 11 years ago

After one week I have another thought in this situation that perhaps is simpler:

- It is possible to have an Audacious playlist, lets say X.audpl whose content could be an Y.audpl playlist? (i.e that if you check the .audpl file, the only file that appears is a playlist), so every time I update the playlist when using Audacious, it is actually updating the local Y.audpl file.

In that case, if Y.audpl is stored in the Music directory and allows relative paths, the problem could be solved.

I think solving my question could be useful also if you want to sync playlists across different computers that share the same directory of music files (ex. if using something like Dropbox), not only for a dual boot configuration.

RE: Question of Audacious in dual boot configuration (looking for help for sync playlists) - Added by John Lindgren over 11 years ago

For now, I'd suggest using a script to copy playlists (and the playlist-state file) from your Windows config folder when you log into Ubuntu, using sed to change the file paths, and another to do the reverse when you log out again.

I also have a dual-boot system with Audacious on both Windows 7 and Arch Linux, so if I get a chance I'll see if I can write example scripts.

RE: Question of Audacious in dual boot configuration (looking for help for sync playlists) - Added by Pascual Lucero over 11 years ago

Thanks, I will be very grateful. And I am glad we share the same situation, this could be useful to find solutions for these problems, that probably you also experience. I wish I could live only in a Linux world, but for work reasons, I need both.

Have a nice day.

    (1-4/4)