simon-weber / Autoplaylists-for-Google-Music

Adds autoplaylists, aka iTunes "smart playlists", to Google Music.
https://autoplaylists.simon.codes
MIT License
94 stars 18 forks source link

Comment conndition not working with mp3s #194

Closed Jaapdl closed 6 years ago

Jaapdl commented 6 years ago

Hi,

i want to add all songs that contain a specific comment to a playlist but only a very little part of my library that is in m4a format works with the condition. Every mp3 seems to be not recognized. Unfortunately most of my smart playlist in iTunes are created by the comment metadata.

Hope you can address this issue.

Cheers Stefan

simon-weber commented 6 years ago

Hey there! My best guess would be that the format is a red herring. Here's some ideas to try:

Let me know how it goes!

Jaapdl commented 6 years ago

Hey Simon,

I could find a track that should match the criteria but the comment was not included in the csv file.

simon-weber commented 6 years ago

Interesting. So it was just an empty string in the csv, right? And if you open the same track in Google Music, you able to see the comment?

Jaapdl commented 6 years ago

It was not empty, i just couldn't find the comment in there. If you want i can post the content of the csv file here.

I am not sure where i should see the comment in Google Music. When i right click on a file and click on edit details i cannot even see a comment on those files that work (those in m4a format).

simon-weber commented 6 years ago

Sure, feel free to post it here.

To see comments in Google Music, you may need to enable the "lab" for it. That's under settings > labs > "view track comments". I think this link will bring you there: https://play.google.com/music/listen?#/accountsettings.

Jaapdl commented 6 years ago

Okay, as i supposed the comment section is only filled for those few m4a tracks, the mp3 files don't have a comment in the Google Music Library.

simon-weber commented 6 years ago

Gotcha. I think you should be able to batch edit that field in Google Music by selecting multiple tracks and editing them at once.

Once the comment is in there, Autoplaylists should pick it up on the next sync.

Jaapdl commented 6 years ago

Yeah, i guess i need to find a way to write itunes comments into the id3 tags of the files so that Google Music also sees those comments.

simon-weber commented 6 years ago

Gotcha. I'm gonna close this since we figured out the autoplaylists side of things -- feel free to reach out if I can help.