trakt-for-appletv icon indicating copy to clipboard operation
trakt-for-appletv copied to clipboard

Scrobble doesnt work

Open SayWhat69 opened this issue 4 years ago • 5 comments

When starting playback with for example Netflix, I get a message, but it doesnt contain the Playing Title: playbackState: Playing playerPath { origin { displayName: "XXXXXXXX" identifier: XXXXXXXXX } client { processIdentifier: XXX bundleIdentifier: "com.netflix.Netflix" } player { identifier: "avkit-XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXXX" displayName: "player-2" } } playbackStateTimestamp: 628599540.6316

Since it doesnt contain "playbackQueue" it doesnt go past the line if len(state_msg.playbackQueue.contentItems) > 0:

Do I have to setup anything on the Apple TV to send the Playing Title?

SayWhat69 avatar Dec 02 '20 11:12 SayWhat69

No, you don't need to setup anything on Apple TV. The only caveat is that it might not work correctly if you're launching the scrobbler after the playback has already started on Apple TV. If that's not the case, then something might've changed, but I cannot verify this because I don't have a Netflix subscription at the moment. Can you check if the scrobbling works correctly for you with Apple TV+ or purchased tv shows?

stigger avatar Dec 02 '20 14:12 stigger

Tried it with Apple TV+ - Same Result.

Maybe its not compatible with the new tvOS 14?

SayWhat69 avatar Dec 02 '20 21:12 SayWhat69

No, it is, I'm using latest tvOS and everything works fine for me.

stigger avatar Dec 02 '20 21:12 stigger

Hm thats weird...

SayWhat69 avatar Dec 03 '20 22:12 SayWhat69

Maybe a stupid remark but for me, it looks like it doesn't work using the tv remote. When using an iPhone as tv remote it does recognize it. Maybe try launching your video using your iPhone as the remote.

You can know the apple tv is sharing its state over network when your iPhone shows the 'Now playing' widget on the lock screen.

louisdb03 avatar Oct 20 '22 10:10 louisdb03