#looking for advice on cross platform music application

4 messages · Page 1 of 1 (latest)

shy pewter
#

hey guys i am a professional DJ for over a decade and i am interested in developing a cross platform application which is basically a mixture of spotify and itunes.

the main goal is to have local music files listed on different devices using that application and beeing able to stream and/or download those files to its own local storage in case it isnt locally available yet.
secondary i want to be able to share the playlists with all devices (stream and/or download)
third i want to utilize LLMs to solve various tasks like tagging and playlist creation and what ever comes in useful

the main idea is to have one application which helps synchronizing music between different devices
we DJs tent to have a lot of music and we want to sort them correctly and be able to access them with ease

there are also some other ideas that expand the functionality further (eg server) but for now i am looking for advice on which tools to use to solve those different tasks.

at this time i use python to 'manually' modify my library. it works (somehow) but i feel like i could improve this workflow by a lot with this kind of application.

how would you guys approach such project?

spice narwhal
# shy pewter hey guys i am a professional DJ for over a decade and i am interested in develop...

At the core of this, you're basically designing a data sync across multiple sources. At this stage, I wouldn't worry about UI at all. Rather, utilize client libraries across platforms.
Few things:

  • You need a source of truth
  • Whenever something is added or removed from source of truth, it's broadcast to other sources
  • Whenever something is added or removed from edge sources, it's sync to the source of truth, and thus broadcast again
  • You'll need to decide on conflict resolution, specificially around when platforms don't have the copyrights (when Spotify has a music but not Apple Music, for example)

You're inherently writing data pipelines. Mage might be the easiest approach to write data pipelines.

I also wouldn't worry about using LLMs at all. At least not this stage. Platforms have their own metadata, and you can just ensure that metadata for the same music from different platforms can be sync into your source of truth, it'll certainly contain enough metadata

#

I don't know how you can download if files don't exist though, but that's the general idea

shy pewter
#

thanks for your response. 🙏
sorry if i wasnt clear about the files.
files are stored 'locally', can be saved on each device and will get shared between each application.
for example itunes has a setting where it manage music in its own destination folder.
i basically want that and on top of that the streaming/download functionality from spotify.

so lets say i have 1000 tracks on my PC and 200 tracks on my macbook and 0 tracks on my phone.
all apps will show 1200 tracks on all devices.

the LLM shenanigan will/could follow later.