[RELEASE] Watchlist script (was 'Adding Plex's 'On Deck' feature to XBMC')

  Thread Rating:
  • 2 Votes - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
EclipseGT Offline
Junior Member
Posts: 32
Joined: Nov 2009
Reputation: 0
Location: North Carolina
Post: #611
just run a new build and same results for me

xbmc 12.0 alpha1 git:20417-b95739e (compiled: Apr 17 2012)

log -- http://www.xbmclogs.com/show.php?id=1671

[Image: watched-fanart.jpg] [Image: widget][Image: 1691318079.png]
OS: Windows 7 Ultimate x64 -XBMC git nightly build - Skin: !T svn updated nightly
MB: Asus M4A785-M
CPU: AMD Phenom X4 9850 - 2.5GHz @ 2.7GHz
RAM: Patriot PC6400 4GB DDR2
HD Space: (3) WD Caviar Black 1 TB, (1) WD Caviar Green 1.5 TB
find quote
ronie Offline
Team-XBMC Member
Posts: 8,346
Joined: Jan 2009
Reputation: 111
Post: #612
(2012-04-18 00:14)EclipseGT Wrote:  just run a new build and same results for me

xbmc 12.0 alpha1 git:20417-b95739e (compiled: Apr 17 2012)

log -- http://www.xbmclogs.com/show.php?id=1671

if you could create another debug log with this version of the script:
script.watchlist-0.1.14.zip

i've added some extra logging that should give me some clues why it fails.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
EclipseGT Offline
Junior Member
Posts: 32
Joined: Nov 2009
Reputation: 0
Location: North Carolina
Post: #613
http://www.xbmclogs.com/show.php?id=1672

[Image: watched-fanart.jpg] [Image: widget][Image: 1691318079.png]
OS: Windows 7 Ultimate x64 -XBMC git nightly build - Skin: !T svn updated nightly
MB: Asus M4A785-M
CPU: AMD Phenom X4 9850 - 2.5GHz @ 2.7GHz
RAM: Patriot PC6400 4GB DDR2
HD Space: (3) WD Caviar Black 1 TB, (1) WD Caviar Green 1.5 TB
find quote
ronie Offline
Team-XBMC Member
Posts: 8,346
Joined: Jan 2009
Reputation: 111
Post: #614
(2012-04-18 00:58)EclipseGT Wrote:  http://www.xbmclogs.com/show.php?id=1672

meh.. unplayed videos used to have an empty lastplayed field in the db.
looks like xbmc now puts in the epoch value, which is january 1st, 1601 on windows platforms.

will see if i can reproduce/fix.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
Hitcher Offline
Skilled Skinner
Posts: 9,976
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #615
Not 1601 again!

[Image: sig_zps3af3b48e.jpg]
(This post was last modified: 2012-04-18 08:37 by Hitcher.)
find quote
ronie Offline
Team-XBMC Member
Posts: 8,346
Joined: Jan 2009
Reputation: 111
Post: #616
ticket created: http://trac.xbmc.org/ticket/12936

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
Balinus Offline
Skilled Skinner
Posts: 1,044
Joined: Jul 2011
Reputation: 17
Location: Montréal
Post: #617
Hello,

what's the best way to use this script? Right now, I've the execution in Home.xml, with the <onload> command. Is there a better way?

Thanks a lot for any help!
find quote
Hitcher Offline
Skilled Skinner
Posts: 9,976
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #618
I think most of us are using this -

Code:
<onload condition="IsEmpty(Window(Home).Property(Watchlist_Running))">RunScript(script.watchlist,...)</onload>

[Image: sig_zps3af3b48e.jpg]
(This post was last modified: 2012-04-18 22:23 by Hitcher.)
find quote
Balinus Offline
Skilled Skinner
Posts: 1,044
Joined: Jul 2011
Reputation: 17
Location: Montréal
Post: #619
ok, great! Thanks for the additional condition. I was using it without it.
find quote
ronie Offline
Team-XBMC Member
Posts: 8,346
Joined: Jan 2009
Reputation: 111
Post: #620
(2012-04-18 22:24)Balinus Wrote:  ok, great! Thanks for the additional condition. I was using it without it.

you should stick with what you had.
the script itself will (and should!) check if it's already running.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
Post Reply