31
submitted 1 year ago* (last edited 1 year ago) by Pantherina@feddit.de to c/linux@lemmy.ml

I have tried looots of Music apps, Both Android and Linux.

I currently go with Anrimians Music Player on Android.

On Linux I simply use VLC Flatpak, and currently for the 4.0 "beta" I use Distrobox with an Ubuntu 22.04 Container and their PPA. The latest VLC Flatpak should have the FLAC stuttering issue fixed though.

So my problem is this:

  • as I find Playlists weird on Linux, I always focusser on folder-baser Musicplayers
  • but duplicating songs is not possible there, so I restrict the possibilities a lot
  • I would like to sync most music between phone and Laptop using Syncthing, and also the Playlists.

Now I wonder how this would work. For simplicity my sync structure currently is:

#Android
/storage/emulated/0/--SYNC-- 
#goes to
/home/user/Handy-Backup/--SYNC--

#Android
/storage/emulated/0/Music
#goes to
/home/user/Handy-Backup/Music

I hate how Android handles permissions for the Music folder, how all apps use it etc, because its more of a pain to sync. But all the Playlist .m3u files land here.

What would be a way to sync the Playlists AND the music folder and have it work? How do m3u files work, do they use variable Directories like "in this folder, subfolder ALBUM1"?

Thinking about that I guess it would be best to put all music into Android Music folder, right? As the M3U files are probably referring to files in the same dir then and everything works.

all 15 comments
sorted by: hot top controversial new old
[-] PlexSheep@feddit.de 8 points 1 year ago

I'm Selfhosting Jellyfin (navidrome too, but I think I like Jellyfin more), so it's all central on my homeserver.

[-] Pantherina@feddit.de 2 points 1 year ago

Not an option for me, as I want to have it locally...

[-] infeeeee@lemm.ee 3 points 1 year ago

Install it on your desktop. Sync only if you are at home via wifi. There are a lot Subsonic API players where you can download songs or playlists, and listen to them offline.

[-] PlexSheep@feddit.de 1 points 1 year ago

Understandable. The best I can think of is using syncthing with playlist files. Tell us if you find something good.

[-] Klaymore@sh.itjust.works 3 points 1 year ago

What I do is have a separate /synced/media/music folder on both my pc and phone, and use syncthing for that and don't worry about the default Android music folder.

For playlists I do that on my pc with the music player Strawberry, I can add songs to a playlist and save it as a .m3u file in that same /synced/media/music folder. The playlists still work on my phone since it's just local paths from the root of my music folder. I would do playlists on my phone as well but I use JetAudio which is pretty buggy and doesn't let me modify .m3u playlists, although I'm sure some other player would let you create and modify them.

[-] Pantherina@feddit.de 1 points 1 year ago

Thats good, I will try Strawberry!

[-] theshatterstone54@feddit.uk 3 points 1 year ago

Umm... I don't. I use CMUS which uses its own playlist structure, and on top of all that, I make changes to my music collection on my phone that I am yet to sync over to my Linux machine and then to a USB which acts as a backup solution. I know that in the sysadmin realm they say "2 is 1, 1 is none", but that usually goes for untested backups, or backups that can be lost in various ways. Personally, if I have my music collection (or at least most of it on 3 different devices most of the time and on at least 2 devices at 100% of the time (when I'm tinkering with my phone or distrohopping), I'd say I'm pretty safe.

[-] JetpackJackson@feddit.de 2 points 1 year ago* (last edited 1 year ago)

I only use like three playlists so I wrote a script to make .m3u playlists with those artists but it's not perfect cause it pulls the data from the file path and not the metadata

I am now realizing this isn't very helpful but I copy only a bit of music from my hard drive to my phone cause limited space so the scripts keep the playlists the same mostly

Edit: I just realized this asked about syncing. Oops. I guess I sync by copying music to my phone and then pointing the scripts to read the music folder there instead of the hard drive but I realize now that might not be what you want

[-] PlexSheep@feddit.de 1 points 1 year ago

I'm Selfhosting Jellyfin (navidrome too, but I think I like Jellyfin more), so it's all central on my homeserver.

[-] BitSound@lemmy.world 1 points 1 year ago

Dunno what permissions issues you're hitting, but I organize everything with beets on my desktop and then sync everything using syncthing to the main Music folder on my phone and it all works nicely. I use an old app that I think isn't even available on the app store anymore named MortPlayer that uses the synced folder structure to organize things.

I don't use m3u files, but I imagine you could just sync them to the main Music directory next to the music files and have it work out, I guess depending on which app you use

this post was submitted on 28 Oct 2023
31 points (100.0% liked)

Linux

47838 readers
2535 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS