PlexTraktSync: HDR metadata not being sent to Trakt collection

The problem

I have lots of HDR movies in my collection, but the HDR information is not being set to Trakt for any of them.

Python is not really my thing, but I did a quick debugging and I believe the hdr function (ref) is always returning None for all my movies.

Error trace

No response

Expected behavior

HDR metadata should be sent with plex_to_trakt.collection: true.

Steps to reproduce the behavior

No response

Workarounds

No response

Install method

docker-compose

Version

0.15.10

Python Version

3.10.0

Operating System and Version

GNU/Linux synology_apollolake_918+

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 15

Most upvoted comments

HDR is not my thing, but this is the PR that added the info extraction:

maybe there are details on how the extraction was designed.

you probably should come up with a solution yourself, add pprint to the function you referred to, and use inspect command to call for specific media

    def hdr(self):
        """
        Set to dolby_vision, hdr10, hdr10_plus, or hlg
        """
        from print import pprint
        from sys import exit

        pprint(self.item)
        exit(33)

        try:
            stream = self.item.media[0].parts[0].streams[0]
./plextraktsync.sh inspect 1234