Page 1 of 6

[Skin]Lighter Confluence for XB0X

Posted: Fri Jul 20, 2012 7:04 pm
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....

Re: [Skin]Lighter Confluence for XB0X

Posted: Sat Jul 21, 2012 1:50 pm
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-)

Re: [Skin]Lighter Confluence for XB0X

Posted: Sun Jul 22, 2012 12:56 am
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

Re: [Skin]Lighter Confluence for XB0X

Posted: Sun Jul 29, 2012 12:17 pm
by xbs
Need some python coder to fix the recently added (albums) script... anyone??

Re: [Skin]Lighter Confluence for XB0X

Posted: Wed Aug 01, 2012 10:47 pm
by Geeba
Wish I could help..:-( what about Dan? Did he make it over from the old site?

Re: [Skin]Lighter Confluence for XB0X

Posted: Thu Aug 02, 2012 2:26 am
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?

Re: [Skin]Lighter Confluence for XB0X

Posted: Fri Aug 03, 2012 7:42 pm
by xbs
Recently added Albums never worked for me.
The new script from Confluence main isn't working either.

Re: [Skin]Lighter Confluence for XB0X

Posted: Fri Aug 03, 2012 7:49 pm
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.

Re: [Skin]Lighter Confluence for XB0X

Posted: Sat Aug 04, 2012 2:23 am
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()

Re: [Skin]Lighter Confluence for XB0X

Posted: Sat Aug 04, 2012 9:42 am
by xbs
Is that on the script that comes with Confluence main?

Re: [Skin]Lighter Confluence for XB0X

Posted: Sat Aug 04, 2012 10:23 am
by skatulskijean
Recently Added" use to require a script (10.1 Dharma) but for Eden it has been integrated into xbmc-core.

Regards jan

Re: [Skin]Lighter Confluence for XB0X

Posted: Sat Aug 04, 2012 6:31 pm
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.

Re: [Skin]Lighter Confluence for XB0X

Posted: Sat Aug 04, 2012 8:23 pm
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.

Re: [Skin]Lighter Confluence for XB0X

Posted: Sat Aug 04, 2012 8:28 pm
by xbs
I'll test out tonight and report back.
Thanks

Re: [Skin]Lighter Confluence for XB0X

Posted: Sat Aug 04, 2012 8:51 pm
by BuZz
the build is now available.

Re: [Skin]Lighter Confluence for XB0X

Posted: Sat Aug 04, 2012 9:39 pm
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).

Re: [Skin]Lighter Confluence for XB0X

Posted: Sat Aug 04, 2012 9:53 pm
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.

Re: [Skin]Lighter Confluence for XB0X

Posted: Sat Aug 04, 2012 10:13 pm
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

Re: [Skin]Lighter Confluence for XB0X

Posted: Sat Aug 04, 2012 10:25 pm
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
:)

Re: [Skin]Lighter Confluence for XB0X

Posted: Sun Aug 05, 2012 2:01 am
by BuZz
as of r31316 the recently added items should update after adding new items to the library etc.