Sync music playlist with android device

Hi all,

Is there any known solution to sync music playlists between a music player running on the desktop and an application running on an android phone? Like, you make a playlist in amarok, next your phone, while it’s in the same network (home wireless for example) puls the files that are in the playlist and creates a playlist with the same content. Im having in mind something like spotify or google play music just without a server, some local solution.

Has anyone experience with this kind of functionality?

Regards,
Damir

On Sun, 03 Apr 2016 10:06:01 +0000, dporobic wrote:

> Hi all,
>
> Is there any known solution to sync music playlists between a music
> player running on the desktop and an application running on an android
> phone? Like, you make a playlist in amarok, next your phone, while it’s
> in the same network (home wireless for example) puls the files that are
> in the playlist and creates a playlist with the same content. Im having
> in mind something like spotify or google play music just without a
> server, some local solution.
>
> Has anyone experience with this kind of functionality?
>
> Regards,
> Damir

Assuming the same playlist can be used on your phone, you could use btsync
to sync the directory between your phone and your desktop.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

That would required the songs to be in the same folder which is not a problem on the mobile device but on the desktop you have the files across many folders. Maybe creating a temp folder there the desktop would move the files when added to a playlist but I’m not sure if that is a function supported by most players.

I’m thinking about write some middleware application, or amarok plugin, I don’t know yet but just want to avoid me inventing the wheel again :smiley:

On Mon, 04 Apr 2016 18:56:01 +0000, dporobic wrote:

> hendersj;2773287 Wrote:
>>
>>
>> Assuming the same playlist can be used on your phone, you could use
>> btsync to sync the directory between your phone and your desktop.
>>
>>
>>
> That would required the songs to be in the same folder which is not a
> problem on the mobile device but on the desktop you have the files
> across many folders. Maybe creating a temp folder there the desktop
> would move the files when added to a playlist but I’m not sure if that
> is a function supported by most players.

You’d have to preserve the paths in any event, if you don’t have the
files and playlist in the same directory - so you’d have to mirror the
entire Linux directory structure on your phone - which isn’t really
practical.

You could also link the files from wherever to where they are - and it’s
possible that the sync would sync the file rather than the link.

Easier just to create a filesystem structure that is simpler and sync
what you want.

> I’m thinking about write some middleware application, or amarok plugin,
> I don’t know yet but just want to avoid me inventing the wheel again :smiley:

Sure, something like that could be created - but you asked for a solution
to that problem, and I provided one. :slight_smile:

Jim

Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

For now I’ve created a script that creates a tmp folder with symbolic links to all songs and then syncs the content with the phone via ssh and rsync.

Github link:
https://github.com/damirporobic/syncm

Unfortunately the paths have an url encoding so I have to normalize them first, therefor the url_encode file is used.
Maybe somebody will find it useful.

The Amarok plugin is scheduled for when I have more time :slight_smile:

Regards,
Damir