trakt-tools / universal-trakt-scrobbler

MIT License
528 stars 51 forks source link

Prime Video History - ignore [dt./OV] tags in Name #342

Open Poddi opened 9 months ago

Poddi commented 9 months ago

Trakt wont find these Items. Screenshot 2023-09-22 000730

smoothlystable commented 9 months ago

Is it this movie? https://trakt.tv/movies/wer-2013

Easiest would be to just click "Ist das falsch?" and paste the link. If I'm looking at the correct movie, the "[dt./OV]" is part of the movie name on Prime, so it probably shouldn't be ignored.

Poddi commented 9 months ago

Its this Movie : https://trakt.tv/movies/synchronic-2020

This also happens on every Episode for Supernatural : https://trakt.tv/shows/supernatural And many others. image

I started to paste the Links manually but then i noticed its too much.

smoothlystable commented 9 months ago

Ooh, never mind then. I've never seen it before, so I got confused, I can't reproduce it with Supernatural either; image

I'm guessing "[dt./OV]" has something to do with watching a special version of the movie/show? Are you watching a German version perhaps (like dubbed or something)?

The-Kiyoshi commented 9 months ago

i have the same problem and yes i watched it in german @smoothlystable

image
The-Kiyoshi commented 9 months ago

isnt the easiest way to just look is there [dt./OV] if yes remove? @smoothlystable

Poddi commented 8 months ago

Hello, its working for some but not all. Can you please check again . Here are some Examples which are still not working. Screenshot 2023-10-07 124724 Screenshot 2023-10-07 124706 Screenshot 2023-10-07 124624

The-Kiyoshi commented 8 months ago

There is also the tag [OV/OmU] image

(OmU: Original version with German subtitles DF: German version (dubbed version for foreign languages, German in the original) OV: Original version without subtitles OmeU: Original version with English subtitles

And dt/OV means dub in "deutsch" aka german and Original)

smoothlystable commented 8 months ago

Hello, its working for some but not all. Can you please check again . Here are some Examples which are still not working. Screenshot 2023-10-07 124724 Screenshot 2023-10-07 124706 Screenshot 2023-10-07 124624

These might be cached results? Can you try clearing caches from the options page and see if it helps.

There is also the tag [OV/OmU] image

(OmU: Original version with German subtitles DF: German version (dubbed version for foreign languages, German in the original) OV: Original version without subtitles OmeU: Original version with English subtitles

And dt/OV means dub in "deutsch" aka german and Original)

Thanks for clarifying! I can look into catching them all, or even better, see if I can find anything in the API (I don't have a German account though, so doubt I'll find anything).

smoothlystable commented 8 months ago

@The-Kiyoshi @Poddi, can you clear cache and try again now? See if it fixes it for all the different tags.

The-Kiyoshi commented 8 months ago

for me it works @smoothlystable (i hate regex but looks good)

image
The-Kiyoshi commented 8 months ago

tf i hate prime (that are all cases that i have left @smoothlystable )

image image image image
smoothlystable commented 8 months ago

That's a lot of different tags, they couldn't even keep some kind of standardization with brackets at least..

This is not really a fix, but what you can try to do is change your language to English in settings (and clear cache afterwards): https://www.primevideo.com/settings/language/ref=atv_set_language

Seems like the titles changes depending on what language you have under your settings.

If it works, but you don't want English interface, you can just change it to English right before a sync and change it back after.

Edit: turns out language is set by a lc-main-av cookie, if you change the value to en_US (German is de_DE) you get the correct titles. So the best way to solve this issue might be to edit the cookie just for the history request, to make sure history items are returned in English. I'm guessing scrobbling will still be an issue though. Unfortunately, editing cookies are out of my scope of knowledge, and I'm not even sure that's the best approach.

Maybe @MrMamen can reopen this issue so it doesn't get lost and we can keep it open for discussion until we find a better fix for it.

MrMamen commented 8 months ago

Is it possible to change the language in the HISTORY-URL? We do something simliar for Netflix.

smoothlystable commented 8 months ago

Is it possible to change the language in the HISTORY-URL? We do something simliar for Netflix.

Not that I could find sadly, I think that when you change language on the webpage, it just runs a function changing the cookie and the rest of the website just adapt output language based on that cookie.
But I can double check and see if there are some hidden parameters or something we can use.

The-Kiyoshi commented 8 months ago

On the German website from prime u don't even have the tab language xD