[Skin]Lighter Confluence for XB0X

Discussion and development of skins for XBMC4XBOX
User avatar
spicemuseum
Posts: 906
Joined: Mon Jul 09, 2012 11:08 pm
Has thanked: 94 times
Been thanked: 75 times

[Skin]Lighter Confluence for XB0X

Post by spicemuseum »

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....
User avatar
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

Post by xbs »

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 8-)
Last edited by xbs on Tue Aug 28, 2012 9:05 am, edited 1 time in total.
Skins: SLik JX720 MS_Redux Mosaic
Utils: HeXEn
github.com/xbs08/
blondeguy
Posts: 1
Joined: Sun Jul 22, 2012 12:44 am

Re: [Skin]Lighter Confluence for XB0X

Post by blondeguy »

:D i ported the confluence for eden horizontal eg: media files and 720p etc with a little touch of fiddling with it ive got it working pretty well but main issue is i cant get the recently added to come up yeah it all works fine skin end but i cant get the script to work as the way the newer skin works isnt the same as the xbox ( of course) if i start up xbox with a orignal skin for xbox all is fine the recently added script fires up and the recently added is populated and then if i switch to confluence all is there but if i turn off xbox and start up its gone its now blank unpopulated , so i long shot would be that the skin isnt starting the recently added script.py file of course ive tryed to alter start up and home xml with no success has anyone out there managed it and with working and populated recently added? if so could you give me the corrections i need to make in the xml files please because its driving me round the bend trying to work this one out , its prob something simple ive missed i Hope???? anyone? :?: :D
User avatar
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

Post by xbs »

Need some python coder to fix the recently added (albums) script... anyone??
Skins: SLik JX720 MS_Redux Mosaic
Utils: HeXEn
github.com/xbs08/
Geeba
Posts: 542
Joined: Wed Jul 04, 2012 11:32 am
Location: UK
Has thanked: 66 times
Been thanked: 31 times

Re: [Skin]Lighter Confluence for XB0X

Post by Geeba »

Wish I could help..:-( what about Dan? Did he make it over from the old site?
User avatar
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

Post by Dom DXecutioner »

xbs wrote:Need some python coder to fix the recently added (albums) script... anyone??
did the albums ever worked? specifically, what's not working?
Image
User avatar
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

Post by xbs »

Recently added Albums never worked for me.
The new script from Confluence main isn't working either.
Skins: SLik JX720 MS_Redux Mosaic
Utils: HeXEn
github.com/xbs08/
User avatar
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

Post by BuZz »

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.
User avatar
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

Post by Dom DXecutioner »

In reading the code for the albums, i looks as if it does the following:
  • 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
I wonder if this was its original intent?

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()
Image
User avatar
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

Post by xbs »

Is that on the script that comes with Confluence main?
Skins: SLik JX720 MS_Redux Mosaic
Utils: HeXEn
github.com/xbs08/
skatulskijean
Posts: 1028
Joined: Wed Jul 04, 2012 8:01 am
Has thanked: 1 time
Been thanked: 148 times

Re: [Skin]Lighter Confluence for XB0X

Post by skatulskijean »

Recently Added" use to require a script (10.1 Dharma) but for Eden it has been integrated into xbmc-core.

Regards jan
User avatar
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

Post by Dom DXecutioner »

xbs wrote:Is that on the script that comes with Confluence main?
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.
Image
User avatar
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

Post by BuZz »

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.
User avatar
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

Post by xbs »

I'll test out tonight and report back.
Thanks
Skins: SLik JX720 MS_Redux Mosaic
Utils: HeXEn
github.com/xbs08/
User avatar
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

Post by BuZz »

the build is now available.
User avatar
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

Post by xbs »

Recently Added Albums are now showing the cover in home screen :D
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).
Skins: SLik JX720 MS_Redux Mosaic
Utils: HeXEn
github.com/xbs08/
User avatar
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

Post by BuZz »

xbs wrote:Recently Added Albums are now showing the cover in home screen :D
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).
yeh it wont update yet - I haven't got the notification interface and code in there to send a message to update after scanning.

I'll be adding that soon.
User avatar
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

Post by xbs »

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 :D
Skins: SLik JX720 MS_Redux Mosaic
Utils: HeXEn
github.com/xbs08/
User avatar
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

Post by BuZz »

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 :D
:)
User avatar
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

Post by BuZz »

as of r31316 the recently added items should update after adding new items to the library etc.
Post Reply