Thanks! How would that Action work?
I am using the AIFF format since it is the only lossless format that the Music app (Apple) reads the ID3 tag of. I noticed when the disc number field and track number field contain two numbers separated by a "/", Apple automatically uses the number behind the "/" to fill up the total discs field and the total tracks field.
You can also use the Apple Lossless ALAC format, it has wider use cases with other players and more metadata flexibility even in the Apple Music and iTunes apps.
You may need to create an Action to run on any of your AIF files after the script if it isn't going to be changed for this. Add a new Action and call it something like Reformat AIF Disc and Track, and add two Format Value lines.
For DISCNUMBER %discnumber%/%totaldiscs%
For TRACK %track%/%totaltracks%
You could use convert Tag-Tag or a Format Value Quick Action if this is a one-time operation. But saving it as a new Action will keep it available any time you need it.
If your use case is the Apple Music app (or iTunes and other Apple playback software) I will very much suggest MotleyG's suggestion to use Apple Lossless. This script is tailored towards use of the MPEG4 container, and Apple uses that for ALAC. It will save you the trouble of using actions after running the script. It is non-trivial to combine the disc number as you want it in the script.
Hey, I'm having a problem with the Apple Music 3 (Web) script. Whenever I use my personal hotspot, I would get the error code 12157 when connecting to music.apple.com. Whenever I use a different network, I get the error code 12007. Both networks have internet access. The only time it works is when connected to my house wifi. I'm not sure if something is blocked since I can access music.apple.com on both networks and they work perfectly fine. Anyway to fix this? I'm on Windows 10 build 19045.
Both are client side network errors, 12007 is ERROR_WINHTTP_NAME_NOT_RESOLVED and 12157 is ERROR_WINHTTP_SECURE_CHANNEL_ERROR. Looks like some proxy or similar is between. What happens if you go to this link Apple Music - Web Player?
The link you sent works fine on my end, even with both networks. Not sure if its the program itself since it has worked before on these networks until recently. I will double check the network settings just to make sure, unless there is a network setting inside mp3tag.
Update: The script is working with the network I am on! The only setting I changed was the timeout in the networking settings on mp3tag so not sure if that did the trick. Although I won't get my hopes to high since it has stopping working after a few weeks but I will let you know. Thanks AreDigg!
Thanks for the explanation @MotleyG!
I believe some of Apple's Services (including Apple Music) had some issues 2 days ago. So the failure of the script then could well be related to that(?)
A post was split to a new topic: Copy one tag field to another
Guys, how do I use the Apple Music 4 (API) version of the script?
See the documentation:
Yeah, I meant doing the proxy thing with apple music cookies. Sorry, I was not clear with my question.
What have you tried and what wasn’t working?
Well, I don't know where to start from. I don't know how to set up a proxy using the python file in the script folder.
I'd love a guide on this as well.
If I were to create a guide I need to know where people get stuck. I have already written some information in this thread.
Does anyone here know how I should format the Apple Music and iTunes .SRC files so that I can yield Czech-language results?
Look at how the other store/language files are created and use for language code cs. If needed, the country code of Czechia it is cz as I guess only that local store returns in Czech language. The regional language code is cs-cz.
I tried it for Apple Music, which successfully yielded Czech-language results. But even after changing the country and language code for iTunes, it still yields English-language results for some reason.