Posts: 178
Joined: Jun 2012
Reputation:
8
Added new verison to git 1.1.7 supports viewing info for iTunes trailers.
Posts: 178
Joined: Jun 2012
Reputation:
8
Version 1.1.7 Now available in the official Repo!
Posts: 178
Joined: Jun 2012
Reputation:
8
Version 1.1.9 Now available in the official Repo!
Posts: 178
Joined: Jun 2012
Reputation:
8
Added Filtering by Rating. See First Post for Details
Posts: 178
Joined: Jun 2012
Reputation:
8
What order are you trying to get the DVD releases to play in? The script uses a function to select a random item from a collection of items and then play that item if it has not been played already.
If you give me a bit more detail I can point you in the right direction.
Thanks!
Ken
Posts: 505
Joined: May 2010
Reputation:
4
Hey ken
I want to play in chronological order which is the default order from the feed.
Thx
Posts: 178
Joined: Jun 2012
Reputation:
8
2014-03-17, 21:43
(This post was last modified: 2014-03-17, 21:49 by kzeleny.)
Get the latest version from git I found a bug where I pulled extra trailers that were not on the DVD list.
in the top of default.py you will see all the variables defined
add the following: I put mine on line 79 just above def getTitleFont():
trailer_index=0
In Class TrailerWindow find the line random.shuffle(trailers) and comment it out by putting a # at the beginning
Should be around line 584
Insert below that line
global trailer_index
find the line played.append(trailer["number"] Should be at about line 592
Insert the following below that
if trailer_index==len(trailers):trailer_index=0
trailer=trailers[trailer_index]
trailer_index=trailer_index+1
This will make all trailers play in whatever order they came from the source.
first line starts over if we run out of trailers
second line picks a trailer
next line adds one to it so we will play that the next time through
Make sure to pay attention to indents and you should be good to go.
Ken
Posts: 178
Joined: Jun 2012
Reputation:
8
code in the post was not indented. Basically if you see a : on the end of the line, next line needs to be indented