Recently added for music seems broken

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
stokedfish Offline
Senior Member
Posts: 280
Joined: Jul 2008
Reputation: 0
Post: #1
Hmm... what happened to the recently added listing for music? Is it broken?

[Image: krassr.jpg]

the album titles do not show up anymore...

newest dist-upgraded ubuntu release, xbmc skin from the add-on repo.

the listing still works fine for movies, weird.
find quote
Hitcher Offline
Skilled Skinner
Posts: 9,927
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #2
I thought I'd better check this out for myself seeing as we (me and ppic) made some changes so you can actually play the whole album now and also fixed some incorrect database fields. Glad to report though that it's not the script's fault as it all work fine for me.

[Image: sig_zps3af3b48e.jpg]
find quote
ronie Offline
Team-XBMC Member
Posts: 8,254
Joined: Jan 2009
Reputation: 108
Post: #3
i can confirm this issue.
v2.0.3 of the script works fine (this is the one with the 'play full album fix')
v2.0.4 does not fetch the album title.

i run the script with the 'albums=True' option.

if i run it without, then the script does pull the album title from the db.

if i look at the script code, this line seems to be removed from the script:
self.WINDOW.setProperty( "LatestSong.%d.Album" % ( count + 1, ), fields[ 1 ] )

i'll ask ppic if he can have a look at it.

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
ppic Offline
Skilled Python Coder
Posts: 2,662
Joined: Feb 2009
Reputation: 10
Location: France idf
Post: #4
"LatestSong.%d.Title" is containing album title when using album=true

[Image: widget]
Passion-XBMC Repository Download your SVN skins and addons
TvTunes Addon Download Play your theme while browsing library
TVshow Next Aired display next aired infos from tvrage.com
Logo Downloader Script download Logo/clearart/show thumbs/poster/banner
Bande-Annonce Allociné plugin watch trailers in french and vo
SportLive Script Live score match info in XBMC (not compatible dharma)
find quote
ronie Offline
Team-XBMC Member
Posts: 8,254
Joined: Jan 2009
Reputation: 108
Post: #5
confirmed!

thanx, i'll change the skin code accordingly.

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,927
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #6
Sorry ronie I assumed you'd seen this -

Hitcher Wrote:I sent ppic an update for that yesterday.

EDIT: Here's the latest one I'm using if you want to check I've done correctly -

http://pastebin.com/13YTRtWY

Also note -

PHP Code:
"RandomSong.%d.Title" <!-- Returns the Song name when albums=False or Returns the Album name when albums=True -->
"RandomSong.%d.Album" <!-- Not used when albums=True --> 

Also added was a reset for the property LatestSong.%d.Album so you can use IsEmpty(Window.Property(LatestSong.%d.Album)) as a check for which mode you're in (Albums or Songs).

Thanks.

[Image: sig_zps3af3b48e.jpg]
find quote
ronie Offline
Team-XBMC Member
Posts: 8,254
Joined: Jan 2009
Reputation: 108
Post: #7
Hitcher Wrote:Sorry ronie I assumed you'd seen this

did see it and made the changes to the random items script back then.

i just missed the fact it was applied to recently added as well.


no problem, already fixed it in T! svn.

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