-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iTunes importer script no longer works #26
Comments
I hope this script is not dead. |
Yes, i have the same problem |
The problem is that I don't really use it now. If someone is willing to step up, I'll be more than happy to help them with code, and give them merge rights. |
I have limited experience as a developer and I don't know JavaScript at all so not sure if I can really help with this - but I did note that in looking at the Chrome console the script was getting hung up on the 'slice' call in the addArtworkLink function. If you replace line 125 with this it appears to work correctly now: var src = srcset.split(',')[1].slice(0, -3); |
Where does the musicbrainz button appear when it's working? I've never used it until now. I tried the line 125 replacement in Tampermonkey in Chrome for Windows but I don't see a musicbrainz button. Trying on this page: https://music.apple.com/ca/album/simple-symphony-for-string-orchestra-op-4-iii-sentimental/418806461 |
Yes, after replacing line 125 it works for me on that page. The button appears below the artwork on the left. If it doesn't appear after the page finishes loading try reloading the page. I find if you don't directly navigate to the page the button tends not to appear, unless you refresh the page. |
Okay I made that line 125 change and also replaced two instances of GM.xmlHttpRequest with GM_xmlhttpRequest. |
itunes.apple.com album pages don't exist anymore. Script doesn't work anymore, I'll try to fix it. EDIT : fix here #25 |
The script seems once again not to work due to a new change on apple's website, anybody to fix it ? |
Mine is working fine, here's the link of the gist. |
Thank you very much, it works perfectly! The buttons to add the album to MusicBrainz and to access the cover have changed position (and colors to better adapt to the apple site), that's great but I didn't see them at first and I thought it didn't work. So if there are others in my case, the buttons are below the tracklist And last thing: if anyone has time, it could be useful to have the label automatically entered each time, I don't know if it's possible but it could save some time. (I know very little about it so I'm not able to do it myself) |
I've just updated my gist and added label names. |
@damienmauchamp Would you consider sending a pull request with your fix? |
I've added the updated gist but I do not see any button yet. Is this gist still working? If yes, can you please post a screenshot of a page with the button so I know what to expect? Thanks! Update: |
The button should be at the bottom of the tracklist. |
@damienmauchamp - It doesn't work in Firefox with Greasemonkey, the error is: Changing Would you fix that and open a PR for this repo, or would you mind if I did with your gist and this change? |
I've changed GM_xmlhttpRequest to GM.xmlHttpRequest but I don't see any button on this page: https://music.apple.com/ca/album/opus-bach-orgelwerke-organ-works-vol-1/1482497370?l=th Where do I check for errors? |
Did you change it in both places? It needs to be changed in two. Look in the I tried your link and have the "Add to MusicBrainz" button at the bottom, just above "More by Peter Kofler." |
Ah the web console reported:
So I changed the second GM_xmlHttpRequest Now that error is gone. But I don't see the button. |
This works for me on that page: https://gist.github.com/trolley/1c8519d2df617c7951a8246859139104 |
Yes it does. Thanks! (Doesn't bring in Johan Sebastien Bach as artist though.) |
I've checked a few releases and am no longer seeing the button appear on any Apple Music release page.
The text was updated successfully, but these errors were encountered: