Giter Site home page Giter Site logo

Comments (22)

BigNoid avatar BigNoid commented on June 25, 2024

First off, thx for considering implementing this in Aeon Nox first!
I think the easiest way for the watchlist indicator, without slowing things down or having to do a million visibility conditions is to integrate it in the info dialog. I can add a invisible button that runs the script every time the dialog is opened. The best way for that would be if the script can have an input from the available infolabels in XBMC or some other way so that it would automatically know the movie id upon opening the dialog.
I don't have control over the context menu. It is automatically populated through XBMC. I can add the rate/watchlist buttons to the shutdown menu (S menu), although that doesn't seem intuitive, or to the media menu or to the info dialog.

from aeon-nox.

othrayte avatar othrayte commented on June 25, 2024

Ok, I hack out the commands for what you suggested for watch-list indicator, and probably some rating functions, up to you where you choose to call them from.

Is it possible to pass the id like XBMC.RunScript(script.TraktUtilities,movieId=$INFO[ListItem.LibraryID]) ? That is how I would expect to handle it.

Anyway when I have the functions i'll report back.

from aeon-nox.

BigNoid avatar BigNoid commented on June 25, 2024

there is no infolabel that passes the movieid. I know the scripts logo downloader and tvtunes have a solo mode which graps the correct tv show without skin input. I don't know much about python though.

from aeon-nox.

othrayte avatar othrayte commented on June 25, 2024

We'll need to look into what info we can use to identify the item (for now movies).
I've created a new branch in my repo called skin_inte to hold my experiments.
To call it you use:
XBMC.RunScript(script.TraktUtilities,movie,summary,tt1285016,The Social Network,2010)
or
XBMC.RunScript(script.TraktUtilities,movie,summary, ,The Social Network,2010)
or
XBMC.RunScript(script.TraktUtilities,movie,summary,tt1285016, , )

And to use the data:
substring(Window(Home).Property(TraktUtilities.Movie.Recent.Seen),true)
I'll add more of these when we know they are working.

from aeon-nox.

BigNoid avatar BigNoid commented on June 25, 2024

I get a script error. Debug is here: http://pastebin.com/yfg5YJm2

from aeon-nox.

othrayte avatar othrayte commented on June 25, 2024

Fixed in repo

from aeon-nox.

BigNoid avatar BigNoid commented on June 25, 2024

Okay, it works now. I don't see the point in having trakt utilities running a script to show watched status? This is native in XBMC and trakt utilities syncs with trakt, so the two are always the same? (please correct me if I'm wrong) Having a watchlist indicator is something else of course and also the rating would be nice. Do you have access to the love/hate indicator that the trakt website uses to show on the posters? Would be nice to use a hig res version of that ribbon to show how you rated the movie/tv show/episode.

from aeon-nox.

othrayte avatar othrayte commented on June 25, 2024

Yeah, :P, I was just using it to prove that I can get the method to work. I'll fill in the ones for rating and watchlist etc soon. What I'm looking into at the moment is modifying the list from within python, but I'm having trouble, I can get window 10025, I can get the lists, ids in the 500's but they all appear empty and when I add an item to them all the original items disappear. If i can get this to work then one request at the window load would be able to fill all of the listitems with extra tags like 'ListItem.WatchlistStatus', with only a small delay. But I'm temporarily stumped on that one.

from aeon-nox.

othrayte avatar othrayte commented on June 25, 2024

Lol, just looked at the code I've been working on for hours, and noticed that you can already use 'TraktUtilities.Movie.Recent.WatchlistStatus' and 'TraktUtilities.Movie.Recent.CollectionStatus'. So I'll just add rating, it'll be a string either 'love', 'hate' or ''.

from aeon-nox.

othrayte avatar othrayte commented on June 25, 2024

ok, I've added TraktUtilities.Movie.Recent.Rating, but also the others now return "True" or "False" instead of "true" or "false", but I'm not sure whether the substr command is case sensitive.

from aeon-nox.

BigNoid avatar BigNoid commented on June 25, 2024

It's not case sensitive. Everything is working fine, now to get some high res images of the badges trakt.tv uses and I can get this nicely working.

from aeon-nox.

othrayte avatar othrayte commented on June 25, 2024

Badges, I'm not sure what you call the badges but I've done some trakt images as svgs in https://github.com/othrayte/script.TraktUtilities-media-originals

from aeon-nox.

BigNoid avatar BigNoid commented on June 25, 2024

Yeah of course. I can use those. I'll let you know when I'm done.
Op 30 jul. 2011 10:39 schreef "othrayte" <
[email protected]>
het volgende:

Badges, I'm not sure what you call the badges but I've done some of them
as svgs in https://github.com/othrayte/script.TraktUtilities-media-originals

Reply to this email directly or view it on GitHub:
#11 (comment)

from aeon-nox.

BigNoid avatar BigNoid commented on June 25, 2024

it seems titles with ":" don't work.
http://pastebin.com/QTabkKiy

from aeon-nox.

othrayte avatar othrayte commented on June 25, 2024

Should have just fixed some cases with odd symbols

from aeon-nox.

BigNoid avatar BigNoid commented on June 25, 2024

I created a branch called TraktUtilities. First enable in genereal skin settings "Enable Trakt Utilities integration". Then in video info you should see the rating, watched and watchlist badges in trakt.tv style.

from aeon-nox.

BigNoid avatar BigNoid commented on June 25, 2024

How's this going?

from aeon-nox.

othrayte avatar othrayte commented on June 25, 2024

It's on hold until I get some to work on it, I'm busy at uni preparing for
some presentations, I should be able to work on it from monday.
On Aug 16, 2011 10:59 PM, "BigNoid" <
[email protected]>
wrote:

How's this going?

Reply to this email directly or view it on GitHub:
#11 (comment)

from aeon-nox.

BigNoid avatar BigNoid commented on June 25, 2024

No pressure, was just wondering since the branch was removed and hadn't been merged as far as I could tell. Good luck with the presentations.

from aeon-nox.

othrayte avatar othrayte commented on June 25, 2024

I don't think the branch has been removed, it should still be in my TU
repository, if it is missing I'll just restore out from my local copy.
On Aug 17, 2011 12:05 AM, "BigNoid" <
[email protected]>
wrote:

No pressure, was just wondering since the branch was removed and hadn't
been merged as far as I could tell. Good luck with the presentations.

Reply to this email directly or view it on GitHub:
#11 (comment)

from aeon-nox.

BigNoid avatar BigNoid commented on June 25, 2024

My bad, I was looking in manromen's repo...

from aeon-nox.

phil65 avatar phil65 commented on June 25, 2024

closed.

from aeon-nox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.