Play an Album from Album Info screen

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Hitcher Offline
Skilled Skinner
Posts: 9,942
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #21
ronie could you push this to the repo please?

Thanks.

[Image: sig_zps3af3b48e.jpg]
(This post was last modified: 2012-07-07 10:03 by Hitcher.)
find quote
Martijn Online
Team-XBMC
Posts: 7,719
Joined: Jul 2011
Reputation: 115
Location: Dawn of time
Post: #22
Script updated to 0.0.6

v0.0.6:
- adjust code to work with $ESCINFO

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first


For your mediacenter artwork go to
[Image: fanarttv.png]
find quote
Hitcher Offline
Skilled Skinner
Posts: 9,942
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #23
Cheers.

[Image: sig_zps3af3b48e.jpg]
find quote
wyrm Offline
Skilled Skinner
Posts: 769
Joined: Nov 2007
Reputation: 5
Location: Perth, Australia (GMT +8)
Post: #24
(2012-07-16 00:26)Martijn Wrote:  Script updated to 0.0.6

v0.0.6:
- adjust code to work with $ESCINFO
To Ronie and Hitcher, thanks for putting this together guys, works a treat. Now part of my skin.

Wyrm (xTV-SAF)

When postings problems, please provide build details. If required a FULL debug log can now be submitted from the skin in settings->appearance->skin->settings>support. Ensure debug logging has been set in settings->system->debugging (or from the support menu). FAQ's located at :- http://wiki.xbmc.org/index.php?title=Add-on:XTV-SAF
find quote
Hitcher Offline
Skilled Skinner
Posts: 9,942
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #25
Thank ronie he did all the work, I just came up with the idea.

[Image: sig_zps3af3b48e.jpg]
find quote
ronie Offline
Team-XBMC Member
Posts: 8,263
Joined: Jan 2009
Reputation: 108
Post: #26
for frodo:
script.playalbum-0.1.0.zip

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,942
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #27
Cheers, ronie.

[Image: sig_zps3af3b48e.jpg]
find quote
`Black Offline
Skilled Skinner
Posts: 2,024
Joined: Apr 2009
Reputation: 50
Location: Germany
Post: #28
I have some albums where ListItem.StarRating is empty (don't know why) and the script doesn't work for them. Log doesn't show anything, script started, finished and success message. Wouldn't it be better to use ListItem.DBID instead of artist and album anyway?

Edit: updated the script so that it uses ListItem.DBID and that fixes my problem. It's much less code and easier now. You got a PM to check it out, ronie.

[Image: xp1080-21.png]
(This post was last modified: 2012-11-11 02:42 by `Black.)
find quote
ronie Offline
Team-XBMC Member
Posts: 8,263
Joined: Jan 2009
Reputation: 108
Post: #29
(2012-11-11 02:23)`Black Wrote:  I have some albums where ListItem.StarRating is empty (don't know why) and the script doesn't work for them. Log doesn't show anything, script started, finished and success message. Wouldn't it be better to use ListItem.DBID instead of artist and album anyway?

i could make a debug version if you like
though i assume you're well capable of adding some log statements to the script yourself Smile

as for the dbid, i'll give it a shot.

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
ronie Offline
Team-XBMC Member
Posts: 8,263
Joined: Jan 2009
Reputation: 108
Post: #30
script.playalbum-0.1.1.zip

at album level, use:
RunScript(script.playalbum,albumid=$INFO[ListItem.DBID])

at song level, use:
RunScript(script.playalbum,songid=$INFO[ListItem.DBID])


let me know if you all prefer this way above the previous method.

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