phil65 / script.extendedinfo

script.extendedinfo
http://forum.xbmc.org/showthread.php?tid=160558
GNU General Public License v2.0
59 stars 79 forks source link

Trakt v2 support #10

Closed razzeee closed 9 years ago

razzeee commented 9 years ago

Hey there,

any plans on moving the trakt part of the script to v2? As v1 is much slower and will likely die in the next months? If you need any help just let me know.

Cheers

phil65 commented 9 years ago

As said in forums, I´m not sure if it´s worth it since the calls for movie lists (trending for example) seem to not return the thumb images anymore. I would have to request for every single movie.

razzeee commented 9 years ago

Are you sure? Have you tested it with the extended info parameter?

phil65 commented 9 years ago

http://docs.trakt.apiary.io/#reference/movies/trending/get-trending-movies

razzeee commented 9 years ago

I just tried it, this is the first result of trending

 {
        "watchers": 102,
        "movie": {
            "title": "The Hunger Games: Mockingjay - Part 1",
            "year": 2014,
            "ids": {
                "trakt": 89542,
                "slug": "the-hunger-games-mockingjay-part-1-2014",
                "imdb": "tt1951265",
                "tmdb": 131631
            },
            "images": {
                "fanart": {
                    "full": "https://walter.trakt.us/images/movies/000/089/542/fanarts/original/28fc0e449b.jpg",
                    "medium": "https://walter.trakt.us/images/movies/000/089/542/fanarts/medium/28fc0e449b.jpg",
                    "thumb": "https://walter.trakt.us/images/movies/000/089/542/fanarts/thumb/28fc0e449b.jpg"
                },
                "poster": {
                    "full": "https://walter.trakt.us/images/movies/000/089/542/posters/original/57096c3b19.jpg",
                    "medium": "https://walter.trakt.us/images/movies/000/089/542/posters/medium/57096c3b19.jpg",
                    "thumb": "https://walter.trakt.us/images/movies/000/089/542/posters/thumb/57096c3b19.jpg"
                },
                "logo": {
                    "full": "https://walter.trakt.us/images/movies/000/089/542/logos/original/e00ead8fcd.png"
                },
                "clearart": {
                    "full": "https://walter.trakt.us/images/movies/000/089/542/cleararts/original/0ba6d9b774.png"
                },
                "banner": {
                    "full": "https://walter.trakt.us/images/movies/000/089/542/banners/original/96ba63255a.jpg"
                },
                "thumb": {
                    "full": "https://walter.trakt.us/images/movies/000/089/542/thumbs/original/66f9b2bb71.jpg"
                }
            }
        }
    },

https://api-v2launch.trakt.tv/movies/trending?extended=images http://docs.trakt.apiary.io/#introduction/extended-info

phil65 commented 9 years ago

ah ok, I misunderstood. I didnt see that parameter. will update it then. thx for the heads-up. :)

razzeee commented 9 years ago

Your welcome, if you need anything just, let me know Also you might consider joining this group if you've not done it already https://plus.google.com/u/0/communities/103111515647012208243