jjdenhertog / spotify-to-plex

Synchronise Spotify playlists to plex
Apache License 2.0
7 stars 0 forks source link

[Feature Request]: Display Song Specifications & Song Preference Settings #5

Open alexricher opened 2 weeks ago

alexricher commented 2 weeks ago

Hi jjdenhertog!

First off, I just want to say a big thank you for this app. It was exactly what I was looking for. Long story short, I recently decided to not renew my Spotify subscription because I do have lots of music on my NAS. But what it really lacked is having playlists that matches the music I have on Plex! 🙏 Anyway, I'm now able to listen to pretty much the same music I like, but in FLAC format, and with no subscription, all locally on my LAN. 🎉

I have a feature requests that might enhance user experience, if you don't mind. No pressure, it's more for the upcoming versions.

Display Song Specifications: When selecting a song, it would be great to see its specific details, such as bitrate and format. This would allow users to make informed choices based on their preferences.

Song Preference Settings: It would be really helpful to have a setting to prioritize certain song formats. For example, if I prefer FLAC files, the software could automatically select those when available. This would save time and effort, especially when multiple options are present. It tends to take what I'm guessing is the first entry found, but it may not be the best selection.

I hope these ideas are valuable, and again, thanks for your great hard work! 😊

jjdenhertog commented 1 week ago

Hi Alex,

Thanks a million! It really looks like the reason why I also created this. I'm using my NAS with Plex at home to listen to high quality music. But I found that I switched to Spotify because I was missing the playlists.

I will add the features to the list. The settings for the "Song Preference" will probably need to be expanded a bit. Currently it tries to find matches as good as possible and then go for "the best match". Which means the best match on song title / artist / album.

As I see it you would need to options:

The "enforce flac" option will try to match the FLAC even if the algorithm isn't marking the song as "best match".

Cheers, Jaap

alexricher commented 1 week ago

Hi Japp,

I'm glad to hear I wasn't the only one in this situation. 😅 I mean, I've been a long time subscriber of Spotify, starting around 2010 with a paid subscription. But Spotify never went the lossless route and I love hires music. having Tidal, Spotify & Amazon Music started to pile up on the monthly bills, so I took the decision to cut them off and use my local music on Plex.

Then, I realized I'd spend the vast majority of my time searching that music back, creating playlist manually, etc., while this data is technically available for free on Spotify. 🎉 Truth be told, I had found other script that did something similar, but they were scripts, meaning you had to build a config file and there wasn't much choice selection if the song was the wrong one. Customization was non-existent, but it worked. I've done it for a while, until I found your repo. I definitely prefer your option as it comes with a UI and it runs in dockers. And it will be community driven, meaning it'll evolve over time. I personally run Unraid, so this is a perfect docker solution for me.

Thanks so much for wanting to integrate these suggestions. 🙏 I agree with you the initial idea about Song Preference was rather limited. If you have control over the search logic, perhaps it could be that after it found one or many exact matches, then it tries to go per user's preference. I like your idea as a first iteration to prefer or enforce FLAC, as long as it goes back to other format when it doesn't find it in FLAC format. I think what could be even more interesting is having the choice of multiple format, bitrate, etc. Something like this as an idea: Format Selection: mp3 / aac / alac / flac / aiff / wav (in no particular order - but the idea would be to sort them a bit like in the *arr suite where you can decide the priority based on a weight/number, or something like that.) Min/Max Bitrate Selection (mostly useful for mp3s, in case you have 128kb but also have a 320kbs version and you'd want to have the 320kbs if available.)

And these would only be fulfilled if such a format/bitrate is available within those range. It's nitpicking but I feel this would make the software even more customizable. And I just want to reiterate that this is just an idea and this could be implemented totally differently. It's mostly to make sure it scales up well with any audio format, not wanting to assume everyone uses FLAC as the official lossless standard, since others are using alac, wav, etc.

Thanks again for your time and have yourself a great day! 😊

Alex

jjdenhertog commented 1 week ago

Sounds perfect, once the search results are enriched with the extra data (like the bitrate) it will be much easier to do some customisable matching preferences.