[Skin]Lighter Confluence for XB0X
- spicemuseum
- Posts: 906
- Joined: Mon Jul 09, 2012 11:08 pm
- Has thanked: 94 times
- Been thanked: 75 times
[Skin]Lighter Confluence for XB0X
Can we revise where we got to with this before the old forum died..?
Jezz_X did some work which he released in April:
http://code.google.com/p/jezzxbmc/downloads/list
Lots of subsequent chatter about doing even more to improve performance for R.Pi.
And then XBS offering to (slowly) port to XB0X....
Jezz_X did some work which he released in April:
http://code.google.com/p/jezzxbmc/downloads/list
Lots of subsequent chatter about doing even more to improve performance for R.Pi.
And then XBS offering to (slowly) port to XB0X....
- xbs
- Posts: 292
- Joined: Thu Jul 05, 2012 3:22 pm
- Location: Portugal
- Has thanked: 29 times
- Been thanked: 22 times
Re: [Skin]Lighter Confluence for XB0X
25/08/2012 update:
"confluence lite included in nightly builds as of r31403. Cheers!"
-------------------------
WIP... few things to fix and a bit more trimming to do.
PS: On halt for now because I'm on vacation
"confluence lite included in nightly builds as of r31403. Cheers!"
-------------------------
WIP... few things to fix and a bit more trimming to do.
PS: On halt for now because I'm on vacation

Last edited by xbs on Tue Aug 28, 2012 9:05 am, edited 1 time in total.
Re: [Skin]Lighter Confluence for XB0X



- Dom DXecutioner
- Posts: 587
- Joined: Thu Jul 05, 2012 11:59 pm
- Location: California
- Has thanked: 249 times
- Been thanked: 226 times
- Contact:
Re: [Skin]Lighter Confluence for XB0X
did the albums ever worked? specifically, what's not working?xbs wrote:Need some python coder to fix the recently added (albums) script... anyone??

- BuZz
- Site Admin
- Posts: 1891
- Joined: Wed Jul 04, 2012 12:50 am
- Location: UK
- Has thanked: 66 times
- Been thanked: 423 times
- Contact:
Re: [Skin]Lighter Confluence for XB0X
the script I fixed up for confluence is only working for movies/episodes.
If I get a moment ill look into the recent album code.
If I get a moment ill look into the recent album code.
- Dom DXecutioner
- Posts: 587
- Joined: Thu Jul 05, 2012 11:59 pm
- Location: California
- Has thanked: 249 times
- Been thanked: 226 times
- Contact:
Re: [Skin]Lighter Confluence for XB0X
In reading the code for the albums, i looks as if it does the following:
Quite frankly I think this is pointless... When I think of albums, I don't want to just simply get one song from the album; I want to be able to get to the whole album I've selected... but that's just me!
Also, there's no way for a user to know if they're browsing recently added songs or albums, unless the skinner explicitly lets the user know.
I could be wrong, however, but that's just how this reads to me...
Either way, I just tested the script and it seems to be working; you will need to, however, uncomment the last routine "# self._fetch_music_info()" (remove the "#" sign) and supply the parameter albums=True for this work...
- an sql statement is built to query the albumview table to return the last records added
- the query returns the record's id as the result
- a new sql statement is then built to query the songview table
- this query will be loop several times and will be filtered by the album's id that was obtain in the first query
- this query will return 1 song per album queried; none if you have already played the song and have passed the self.UNPLAYED as true
- after all is done, you're still displayed the same information as if in the songs
Quite frankly I think this is pointless... When I think of albums, I don't want to just simply get one song from the album; I want to be able to get to the whole album I've selected... but that's just me!
Also, there's no way for a user to know if they're browsing recently added songs or albums, unless the skinner explicitly lets the user know.
I could be wrong, however, but that's just how this reads to me...
Either way, I just tested the script and it seems to be working; you will need to, however, uncomment the last routine "# self._fetch_music_info()" (remove the "#" sign) and supply the parameter albums=True for this work...
Code: Select all
def __init__( self ):
# parse argv for any preferences
self._parse_argv()
# clear properties
self._clear_properties()
# set any alarm
self._set_alarm()
# format our records start and end
xbmc.executehttpapi( "SetResponseFormat()" )
xbmc.executehttpapi( "SetResponseFormat(OpenRecord,%s)" % ( "<record>", ) )
xbmc.executehttpapi( "SetResponseFormat(CloseRecord,%s)" % ( "</record>", ) )
# fetch media info
self._fetch_totals()
self._fetch_movie_info()
self._fetch_tvshow_info()
# self._fetch_music_info()

-
- Posts: 1028
- Joined: Wed Jul 04, 2012 8:01 am
- Has thanked: 1 time
- Been thanked: 148 times
Re: [Skin]Lighter Confluence for XB0X
Recently Added" use to require a script (10.1 Dharma) but for Eden it has been integrated into xbmc-core.
Regards jan
Regards jan
- Dom DXecutioner
- Posts: 587
- Joined: Thu Jul 05, 2012 11:59 pm
- Location: California
- Has thanked: 249 times
- Been thanked: 226 times
- Contact:
Re: [Skin]Lighter Confluence for XB0X
If by "main" you mean the xbmc main branch, as Jan has suggested, they no longer use RecenlyAdded script as this is now built-in to xbmc.xbs wrote:Is that on the script that comes with Confluence main?

- BuZz
- Site Admin
- Posts: 1891
- Joined: Wed Jul 04, 2012 12:50 am
- Location: UK
- Has thanked: 66 times
- Been thanked: 423 times
- Contact:
Re: [Skin]Lighter Confluence for XB0X
I have a solution for you - I have backported the job manager and the core recentlyadded functionality from xbmc mainline.
Tested with Confluence "Latest Movies" and it seems to work ok. Might be a few glitches/bugs though.
Confluence in svn doesn't have recent albums so I'll leave that to you to add/test etc. let me know how you get on and if it works for you.
Oh and you need build r31314 or later - I'll have a nightly up in a moment.
Tested with Confluence "Latest Movies" and it seems to work ok. Might be a few glitches/bugs though.
Confluence in svn doesn't have recent albums so I'll leave that to you to add/test etc. let me know how you get on and if it works for you.
Oh and you need build r31314 or later - I'll have a nightly up in a moment.
- xbs
- Posts: 292
- Joined: Thu Jul 05, 2012 3:22 pm
- Location: Portugal
- Has thanked: 29 times
- Been thanked: 22 times
Re: [Skin]Lighter Confluence for XB0X
Recently Added Albums are now showing the cover in home screen 
Playback from home screen doesn't work though... not sure if it's a skin issue or not.
Also the script isn't updating when returning to home screen (the video part is updating).
It does update after restart (reboot).

Playback from home screen doesn't work though... not sure if it's a skin issue or not.
Also the script isn't updating when returning to home screen (the video part is updating).
It does update after restart (reboot).
- BuZz
- Site Admin
- Posts: 1891
- Joined: Wed Jul 04, 2012 12:50 am
- Location: UK
- Has thanked: 66 times
- Been thanked: 423 times
- Contact:
Re: [Skin]Lighter Confluence for XB0X
yeh it wont update yet - I haven't got the notification interface and code in there to send a message to update after scanning.xbs wrote:Recently Added Albums are now showing the cover in home screen
Playback from home screen doesn't work though... not sure if it's a skin issue or not.
Also the script isn't updating when returning to home screen (the video part is updating).
It does update after restart (reboot).
I'll be adding that soon.
- BuZz
- Site Admin
- Posts: 1891
- Joined: Wed Jul 04, 2012 12:50 am
- Location: UK
- Has thanked: 66 times
- Been thanked: 423 times
- Contact:
Re: [Skin]Lighter Confluence for XB0X
xbs wrote:The video part isn't updating either, sorry for the false info in the last post.
It's really nice to see recently added albums in home screen

- BuZz
- Site Admin
- Posts: 1891
- Joined: Wed Jul 04, 2012 12:50 am
- Location: UK
- Has thanked: 66 times
- Been thanked: 423 times
- Contact:
Re: [Skin]Lighter Confluence for XB0X
as of r31316 the recently added items should update after adding new items to the library etc.