MainasuK / Song-Rating

macOS song rating app for Music.app and iTunes.app
8 stars 0 forks source link

Menu bar stars not update when directly set rating in iTunes #2

Open MainasuK opened 5 years ago

MainasuK commented 5 years ago

It's looks like iTunes not send notification for playInfo changed when set rating directly. But set rating in song info pane (Command + i) is works.

So maybe it's bug of iTunes or they intend do that. Feedback to Apple and not fix it just now.

VKondakoff commented 4 years ago

The same happens when you update rating in Music app: menu bar stars are not updated. JFYI: old app 'Stars/I love stars' from Karelia Software (https://www.karelia.com/products/stars/) was able to update menu bar stars after updating rating in iTunes, so it is possible. Another one peace of software Screensleeves (https://peacockmedia.software/mac/screensleeves/) is able to do this as well.

Do you need some help on this issue? I can try to contact Screensleeves developer with questions of how to implement this.

MainasuK commented 4 years ago

I know the Stars from Karelia Software. Before the Mojave, the Stars could update bar status when directly set rating in iTunes. But that app not long working in the Mojave and later. The Screensleeves in the Catalina rating updated in the app reflects in Music.app. However, the app does not update when rating in Music.app.

I have one workaround is to check song rating every time-interval. No more idea to solve that due to the iTunes.app/ Music.app does not send that Apple Event.

Song-Rating app is an open-source application. Any contributes are welcome.

VKondakoff commented 4 years ago

The Screensleeves in the Catalina rating updated in the app reflects in Music.app. However, the app does not update when rating in Music.app.

I have one workaround is to check song rating every time-interval. No more idea to solve that due to the iTunes.app/ Music.app does not send that Apple Event.

Ah, yes! Looks like ScreenSleeves updates the rating state on a time-interval as well.

-- Best regards, Valery Kondakoff

On 12 Oct 2019, at 06:21, CMK notifications@github.com wrote:

I know the Stars from Karelia Software. Before the Mojave, the Stars could update bar status when directly set rating in iTunes. But that app not long working in the Mojave and later. The Screensleeves in the Catalina rating updated in the app reflects in Music.app. However, the app does not update when rating in Music.app.

I have one workaround is to check song rating every time-interval. No more idea to solve that due to the iTunes.app/ Music.app does not send that Apple Event.

Song-Rating app is an open-source application. Any contributes are welcome.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/MainasuK/Song-Rating/issues/2?email_source=notifications&email_token=AABYLKE6BCGMEHUESTIAXTDQOE7E7A5CNFSM4ID4TL42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBBUGTA#issuecomment-541279052, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABYLKEMI7IMLDZ6J2PSMU3QOE7E7ANCNFSM4ID4TL4Q.

VKondakoff commented 4 years ago

Here is another one idea (from this thread). It is possible to watch ~/Music/Music/Music Library.musiclibrary/Application.musicdb file for changes to determine when rating was possible changed in Music app. What do you think?

MainasuK commented 4 years ago

Not sure.

Always change the star rating via the keyboard shortcut but not in Music.app in my use case. Maybe some try later. And now this issue sill to be wontfix before other high priority features implemented.