I've taken a misguided dive into Apple Music and am wondering if there could be a way to tag HLS Media "files" with Picard. Surely uncharted territory, but trying to figure out if there could be a way to tag Apple Music releases with MusicBrainz data.
2021-07-19 20018, 2021
Etua joined the channel
2021-07-19 20045, 2021
Etua has quit
2021-07-19 20000, 2021
Etua joined the channel
2021-07-19 20028, 2021
akashgp09 joined the channel
2021-07-19 20007, 2021
Etua has quit
2021-07-19 20004, 2021
kepstin
remuxing the audio from hls to mp4 would be the way to do that.
2021-07-19 20019, 2021
kepstin
it doesn't require any re-encoding or quality loss
2021-07-19 20041, 2021
kepstin
and then the mp4 file is taggable normally
2021-07-19 20034, 2021
Etua joined the channel
2021-07-19 20045, 2021
Cheezmo_
But surely a download HLS Media file from Apple Music is copy protected, so I doubt there is a remuxing tool tha would help with that, but all ears...
2021-07-19 20017, 2021
kepstin
well, yeah, that would assume you have some way to undo the copy protection
2021-07-19 20028, 2021
Cheezmo_
:-)
2021-07-19 20041, 2021
kepstin
there's not much point in using picard to tag the file unless you have a way to play it outside of apple music
2021-07-19 20001, 2021
kepstin
since apple music doesn't read info from the files, it uses external info from its own data
2021-07-19 20043, 2021
kepstin
the file is just a local cache of only the audio data and isn't used as a source of metadata
2021-07-19 20055, 2021
Cheezmo_
If you rename an album/artist for an Apple Music track you have added to your library, it does show when you play it.
2021-07-19 20005, 2021
death916 joined the channel
2021-07-19 20016, 2021
Cheezmo_
It syncs the changes you make to your other devices.
2021-07-19 20057, 2021
kepstin
right, so any metadata changes you want to do would have to be done by updating the apple music app's database :/
2021-07-19 20012, 2021
Cheezmo_
To avoid conflicts I often rename albums I add to Apple Music by appending " (Apple Music)" to the album name and that is what shows up on all my AppleTV/iPad/etc.
2021-07-19 20045, 2021
Cheezmo_
Which can be done by changing the tags in your local Music app library.
2021-07-19 20023, 2021
Cheezmo_
Hence my desire to have Picard change the "tags" in an HLS Media file (download from Apple Music) which you could then propagate back by refreshing the tags from the file (which I do all the time when tatting .m4a, etc. with Picard).
2021-07-19 20025, 2021
kepstin
yeah, doesn't work that way. apple music doesn't read any tags from the hls file, so updating it would do nothing (might even invalidate it so it gets redownloaded)
2021-07-19 20006, 2021
kepstin
you have to update the apple music app's database directly in a way that it notices so it syncs the updates, which means ... using the apple music apps' ui, as far as i know.
2021-07-19 20029, 2021
Cheezmo_
Figured maybe that. Opens up a thought that Picard could somehow interface with Music (along the lines of how iVolume does to update volume adjustments) and actually update Music LIbrary tags directly insted of "files". Brainstorming, but that is a concept that may be relavent in the "Apple Music/Streaming" age.
2021-07-19 20055, 2021
kepstin
remember that apple music is a streaming service, not a download service. the files it stores on your drive are just a local cache of the music data for offline playback, but aren't actually "the music"
2021-07-19 20039, 2021
kepstin
the actual fix would be to have apple music use musicbrainz as its source of music metadata, heh
2021-07-19 20027, 2021
Cheezmo_
I understand that, Just trying to figure if there is some future path to being able to tag ones Apple Music library. Pie in the sky, not expecting it to be easy (or feasible!).
2021-07-19 20037, 2021
kepstin
i'm honestly surprised that they let you edit the metadata at all, most streaming services don't
2021-07-19 20057, 2021
Cheezmo_
I'm mainly annoyed by the capitalization style violations!
2021-07-19 20033, 2021
kepstin
if someone reverse-engineers the apple music local database, then it might be possible - but also keep in mind that on apple devices, they work very hard to protect app data from being touched by other apps
2021-07-19 20059, 2021
Cheezmo_
Would love to know how iVolume does it, they transistioned pretty well from working with the .XML library file (which Apple deprecated) to being able to interface directly with the app. I'm sure the same method they use to adjust volume adjustments is available for more conventional tags.
2021-07-19 20037, 2021
Cheezmo_
I mean you can use AppleScript to change tage, etc. so that is a way in.
2021-07-19 20018, 2021
kepstin
right, if they have an applescript interface then it would be possible
2021-07-19 20030, 2021
Cheezmo_
So Mac only :-)
2021-07-19 20030, 2021
kepstin
doesn't really fit the design of picard as it stands tho
2021-07-19 20025, 2021
kepstin
strange that ivolume claims to work on apple music, since with the drm files it shouldn't be able to read the audio data itself to calculate loudness
2021-07-19 20010, 2021
Cheezmo_
It doesn't work on Apple Music tracks, but it works with the Music app for files.
2021-07-19 20032, 2021
kepstin
ah, so it's probably just updating the files then, the same as it would have done with itunes
2021-07-19 20024, 2021
Cheezmo_
Correct. But when Music was released they did away with the .XML file iVolume used to read to get the file paths. Now they have some other interface, not sure what.
2021-07-19 20050, 2021
kepstin
hmm, i thought for the local files, apple music still used the same file layout as itunes did
2021-07-19 20005, 2021
kepstin
(iirc they actually share the library if you have both installed on a mac)
2021-07-19 20049, 2021
kepstin
anyways, i still wish that you could just buy lossless audio on itunes, i don't like paying a subscription for temporary ability to play music :)
2021-07-19 20013, 2021
Cheezmo_
There used to be an option to "save an XML version of the Library" which many 3rd party apps used. When they deprecated it, most DJ apps went nuts. STill not sure what the new API is.
2021-07-19 20033, 2021
kepstin
there's other stores offering drm free lossless downloads, i dunno why apple didn't do that :(
2021-07-19 20059, 2021
Cheezmo_
Believe me, I've paid my fair share to HDTracks, Ponomusic, etc. but it is kind of crazy to just add a Hi-Res release to my Apple Music library now. Can't see buying many in the future.
2021-07-19 20032, 2021
Cheezmo_
Hence my desire to tag them somehow ;-)
2021-07-19 20037, 2021
kepstin
anyways, if there is a way to update metadata through an external api, then it would be possible to make a musicbrainz tagger to fix your apple music metadata. But that app wouldn't be picard, it would be something new.
looks like you can programatically access the music library from another app and update metadata
2021-07-19 20054, 2021
Cheezmo_
So an app that uses that to access all your "Apple Music" tracks, and tag them with "digital releases" from MusicBrainz, yup that is something I would want.
2021-07-19 20042, 2021
Etua has quit
2021-07-19 20053, 2021
Vacuity has quit
2021-07-19 20026, 2021
Vacuity joined the channel
2021-07-19 20010, 2021
akashgp09 has quit
2021-07-19 20049, 2021
death916 has quit
2021-07-19 20040, 2021
death916 joined the channel
2021-07-19 20009, 2021
Etua joined the channel
2021-07-19 20047, 2021
otisolsen70 joined the channel
2021-07-19 20022, 2021
HomeBrewed joined the channel
2021-07-19 20053, 2021
HomeBrewed has quit
2021-07-19 20027, 2021
peterhil joined the channel
2021-07-19 20028, 2021
atj
derwin: I don't have an IRC client without an integrated scrollback (I use weechat). I don't mind it in IRC, but for CLI usage it gets on my nerves because I often scroll back 1000+ lines.