[Mod] MiniMeedia
#66
Waffa Wrote:That would be a nice extra feature for the users Nod

I'm looking into Home screen also.Big Grin
Fooling around with Catogory icons, of course with nice animation while scroll and thinking on making them dynamic. (very subtle and after delay)

waffa, got a nice bit of code here for you. its called updatelatest.py.

I call this from a cron job that looks for changes or added movies. This basically calls the UpdateLibrary and then waits until that is done, then calls the latest.py. So whenever I turn on my TV the XBMC is should what is the latest and greatest movie/tv show you have. This is useful when using RSS scrapers for downloading tv shows etc.

this also in my git repo if you'd get it from there.
Code:
import xbmc
from xbmcgui import Window


class Main:
    # grab the home window
    WINDOW = Window( 10000 )


    def __init__( self ):
        self._update_lib_and_latest();

    def _update_lib_and_latest ( self ):
        xbmc.output(msg='Udate script called' , level=xbmc.LOGDEBUG)
        xbmc.executebuiltin('UpdateLibrary(video)');
        xbmc.sleep(3000)
        while True :
                isScanning= xbmc.getCondVisibility('Library.IsScanning')
                xbmc.output(msg='Library scanning status: ' + str(isScanning                                                                                                                ) , level=xbmc.LOGDEBUG)
                xbmc.sleep(1000)
                if not isScanning:
                        break
        xbmc.executescript('special://skin/scripts/latest/latest.py')


if ( __name__ == "__main__" ):
    Main()


I also added an item in the movies submenu to update library just to force an update. So I just call this script from the menu items. works like a charm.

movies submenu new item.

Code:
<item id="6">
            <description>Update library</description>
            <label>$LOCALIZE[653]</label>
            <onclick>RunScript(special://skin/scripts/latest/updatelatest.py)</onclick>
          </item>

i have included your latest release into my git repo + my mod as well .
Reply
 
Thread Rating:
  • 2 Vote(s) - 5 Average


Messages In This Thread
[Mod] MiniMeedia - by Waffa - 2009-10-24, 14:15
[No subject] - by Cranial - 2009-10-24, 18:50
[No subject] - by Waffa - 2009-10-24, 19:14
[No subject] - by kautious - 2009-10-24, 23:12
[No subject] - by mcborzu - 2009-10-25, 17:57
[No subject] - by Waffa - 2009-10-25, 18:39
[No subject] - by xbs08 - 2009-10-25, 19:17
[No subject] - by Waffa - 2009-10-25, 20:21
[No subject] - by skunkm0nkee - 2009-10-30, 09:59
[No subject] - by Waffa - 2009-11-05, 21:31
[No subject] - by grupy - 2009-11-06, 01:05
[No subject] - by vajonam - 2009-11-07, 01:33
[No subject] - by ronie - 2009-11-07, 01:57
[No subject] - by Waffa - 2009-11-07, 02:43
[No subject] - by vajonam - 2009-11-07, 04:09
[No subject] - by Waffa - 2009-11-07, 14:11
[No subject] - by vajonam - 2009-11-07, 15:20
[No subject] - by Waffa - 2009-11-07, 15:40
[No subject] - by vajonam - 2009-11-07, 16:02
[No subject] - by Waffa - 2009-11-07, 16:38
[No subject] - by vajonam - 2009-11-07, 19:47
[No subject] - by Waffa - 2009-11-07, 20:48
[No subject] - by ronie - 2009-11-07, 23:29
[No subject] - by Waffa - 2009-11-08, 00:38
[No subject] - by feerlessleadr - 2009-11-08, 06:37
[No subject] - by Waffa - 2009-11-08, 11:32
[No subject] - by vajonam - 2009-11-08, 17:42
[No subject] - by Waffa - 2009-11-08, 20:54
[No subject] - by Waffa - 2009-11-08, 23:10
[No subject] - by vajonam - 2009-11-09, 00:11
[No subject] - by Waffa - 2009-11-09, 00:40
[No subject] - by vajonam - 2009-11-09, 02:15
[No subject] - by grupy - 2009-11-10, 20:58
[No subject] - by Waffa - 2009-11-10, 22:01
[No subject] - by vajonam - 2009-11-11, 00:45
underscores on default font - by vajonam - 2009-11-11, 05:37
[No subject] - by vajonam - 2009-11-11, 05:41
[No subject] - by Waffa - 2009-11-11, 22:18
[No subject] - by vajonam - 2009-11-12, 05:38
[No subject] - by Waffa - 2009-11-12, 10:57
[No subject] - by vajonam - 2009-11-13, 00:27
[No subject] - by Waffa - 2009-11-13, 00:43
[No subject] - by vajonam - 2009-11-13, 01:42
[No subject] - by Waffa - 2009-11-13, 10:52
[No subject] - by vajonam - 2009-11-13, 15:36
[No subject] - by rsjr - 2009-11-15, 08:40
[No subject] - by ppic - 2009-11-15, 09:07
[No subject] - by Waffa - 2009-11-15, 17:47
[No subject] - by vajonam - 2009-11-16, 01:00
[No subject] - by vajonam - 2009-11-16, 16:46
[No subject] - by Waffa - 2009-11-16, 17:17
[No subject] - by vajonam - 2009-11-16, 17:52
[No subject] - by feerlessleadr - 2009-11-21, 09:48
[No subject] - by Waffa - 2009-11-21, 15:22
[No subject] - by Waffa - 2009-11-21, 21:44
[No subject] - by d00dtv - 2009-11-23, 18:09
[No subject] - by Waffa - 2009-11-23, 18:17
[No subject] - by Waffa - 2009-12-01, 20:07
[No subject] - by grupy - 2009-12-01, 20:36
[No subject] - by Waffa - 2009-12-01, 21:15
[No subject] - by vajonam - 2009-12-01, 21:36
[No subject] - by vajonam - 2009-12-02, 15:53
[No subject] - by Waffa - 2009-12-02, 18:40
[No subject] - by d00dtv - 2009-12-02, 22:07
[No subject] - by vajonam - 2009-12-02, 22:17
[No subject] - by Waffa - 2009-12-02, 23:18
[No subject] - by d00dtv - 2009-12-02, 23:25
[No subject] - by vajonam - 2009-12-03, 05:19
[No subject] - by Waffa - 2009-12-03, 18:02
[No subject] - by d00dtv - 2009-12-03, 21:04
[No subject] - by Waffa - 2009-12-03, 22:37
[No subject] - by d00dtv - 2009-12-03, 23:47
[No subject] - by d00dtv - 2009-12-05, 16:39
[No subject] - by Waffa - 2009-12-05, 18:39
[No subject] - by d00dtv - 2009-12-06, 01:26
[No subject] - by jarod71 - 2009-12-06, 01:33
[No subject] - by d00dtv - 2009-12-06, 07:36
[No subject] - by Waffa - 2009-12-06, 17:42
[No subject] - by Waffa - 2009-12-06, 22:42
[No subject] - by d00dtv - 2009-12-07, 01:39
[No subject] - by Waffa - 2009-12-07, 09:26
[No subject] - by d00dtv - 2009-12-07, 19:17
[No subject] - by Waffa - 2009-12-07, 21:55
[No subject] - by d00dtv - 2009-12-11, 19:27
[No subject] - by Waffa - 2009-12-11, 19:49
[No subject] - by d00dtv - 2009-12-11, 23:05
[No subject] - by d00dtv - 2009-12-11, 23:22
[No subject] - by Waffa - 2009-12-12, 04:05
[No subject] - by Waffa - 2009-12-13, 19:04
[No subject] - by MeierKurt - 2009-12-14, 00:23
[No subject] - by Waffa - 2009-12-14, 00:44
[No subject] - by Waffa - 2009-12-14, 22:16
[No subject] - by Waffa - 2009-12-16, 21:45
[No subject] - by Waffa - 2009-12-18, 16:50
[No subject] - by d00dtv - 2009-12-19, 01:22
[No subject] - by d00dtv - 2009-12-19, 01:32
Trailer? - by dukevn - 2010-03-18, 06:37
[No subject] - by EMK0 - 2010-03-18, 08:54
[No subject] - by Waffa - 2010-03-18, 18:27
[No subject] - by dukevn - 2010-03-19, 07:13
[No subject] - by Waffa - 2010-03-19, 19:44
[No subject] - by dukevn - 2010-03-19, 20:45
[No subject] - by Waffa - 2010-03-26, 23:25
[No subject] - by GODz - 2010-03-30, 10:46
[No subject] - by Waffa - 2010-03-30, 13:21
[No subject] - by dukevn - 2010-03-30, 15:35
[No subject] - by Waffa - 2010-03-30, 16:52
[No subject] - by xbs08 - 2010-03-31, 22:48
[No subject] - by yadster - 2010-04-01, 02:05
[No subject] - by Waffa - 2010-04-01, 18:53
[No subject] - by jok3r - 2010-04-13, 15:46
[No subject] - by Waffa - 2010-04-13, 17:09
[No subject] - by jok3r - 2010-04-14, 15:13
[No subject] - by Waffa - 2010-04-14, 17:11
[No subject] - by xbs08 - 2010-04-14, 19:30
[No subject] - by Waffa - 2010-04-14, 20:12
[No subject] - by xbs08 - 2010-04-14, 21:56
[No subject] - by Waffa - 2010-04-14, 22:26
[No subject] - by jok3r - 2010-04-15, 15:04
[No subject] - by Chris! - 2010-05-03, 19:35
[No subject] - by Waffa - 2010-05-03, 19:52
[No subject] - by Chris! - 2010-05-03, 20:09
[No subject] - by Waffa - 2010-05-03, 20:18
[No subject] - by Chris! - 2010-05-16, 11:29
[No subject] - by Waffa - 2010-05-16, 13:22
[No subject] - by Chris! - 2010-05-16, 16:31
[No subject] - by Waffa - 2010-05-16, 17:33
[No subject] - by Chris! - 2010-05-16, 18:23
Incompatible skin - by yabel - 2010-05-20, 22:56
[No subject] - by Waffa - 2010-05-20, 23:25
[No subject] - by yabel - 2010-05-20, 23:39
[No subject] - by yabel - 2010-05-22, 12:52
[No subject] - by Waffa - 2010-05-22, 13:00
[No subject] - by yabel - 2010-05-22, 13:04
[No subject] - by Waffa - 2010-05-22, 13:22
[No subject] - by yabel - 2010-05-22, 13:28
[No subject] - by Waffa - 2010-05-22, 14:00
[No subject] - by yabel - 2010-05-24, 12:43
[No subject] - by Waffa - 2010-05-24, 14:06
[No subject] - by yabel - 2010-05-24, 14:45
[No subject] - by Waffa - 2010-05-24, 16:43
[No subject] - by yabel - 2010-05-26, 19:07
[No subject] - by feerlessleadr - 2010-06-30, 16:50
[No subject] - by Waffa - 2010-06-30, 18:45
[No subject] - by feerlessleadr - 2010-07-09, 22:29
[No subject] - by Waffa - 2010-07-09, 22:52
[No subject] - by feerlessleadr - 2010-07-10, 06:21
[No subject] - by Ritzie - 2010-07-26, 16:57
[No subject] - by Waffa - 2010-07-26, 18:16
[No subject] - by Ritzie - 2010-07-26, 19:19
[No subject] - by Chris! - 2010-08-29, 17:08
[No subject] - by Chris! - 2010-08-30, 18:37
[No subject] - by Kagenoshin - 2010-10-17, 22:07
onscreen keyboard - by vajonam - 2010-10-29, 15:16
RE: [Mod] MiniMeedia Waffa! - by jschorrii - 2012-04-25, 20:08
RE: [Mod] MiniMeedia Waffa! - by Waffa - 2013-01-06, 22:05
AW: [Mod] MiniMeedia Waffa! - by mad-max - 2013-01-06, 23:43
RE: [Mod] MiniMeedia Waffa! - by bandelguy - 2013-01-08, 05:51
RE: [Mod] MiniMeedia Waffa! - by Waffa - 2013-01-08, 20:07
RE: [Mod] MiniMeedia Waffa! - by Dragen - 2013-01-09, 02:15
RE: [Mod] MiniMeedia Waffa! - by Waffa - 2013-01-09, 14:48
RE: [Mod] MiniMeedia Waffa! - by bandelguy - 2013-01-09, 14:12
RE: [Mod] MiniMeedia Waffa! - by bandelguy - 2013-01-09, 16:24
RE: [Mod] MiniMeedia Waffa! - by Waffa - 2013-01-09, 22:08
RE: [Mod] MiniMeedia Waffa! - by SpaceMonkey - 2013-01-09, 23:19
RE: [Mod] MiniMeedia Waffa! - by Dragen - 2013-01-09, 22:36
RE: [Mod] MiniMeedia Waffa! - by Waffa - 2013-01-09, 23:10
RE: [Mod] MiniMeedia Waffa! - by Waffa - 2013-01-09, 23:40
RE: [Mod] MiniMeedia Waffa! - by Waffa - 2013-01-21, 20:22
RE: [Mod] MiniMeedia Waffa! - by SpaceMonkey - 2013-01-24, 21:59
RE: [Mod] MiniMeedia Waffa! - by Waffa - 2013-01-24, 23:55
RE: [Mod] MiniMeedia - by thonton - 2013-02-02, 14:29
RE: [Mod] MiniMeedia - by dutch_steven - 2013-02-06, 13:37
RE: [Mod] MiniMeedia - by thonton - 2013-02-06, 21:11
RE: [Mod] MiniMeedia - by Waffa - 2013-02-06, 23:35
RE: [Mod] MiniMeedia - by thonton - 2013-02-07, 00:00
RE: [Mod] MiniMeedia - by Waffa - 2013-02-07, 00:22
AW: [Mod] MiniMeedia - by XbmcNerd - 2013-02-14, 12:25
RE: [Mod] MiniMeedia - by Waffa - 2013-02-14, 23:38
RE: [Mod] MiniMeedia - by XbmcNerd - 2013-02-18, 03:37
RE: [Mod] MiniMeedia - by Waffa - 2013-02-17, 22:32
RE: [Mod] MiniMeedia - by Waffa - 2013-02-18, 19:50
RE: [Mod] MiniMeedia - by XbmcNerd - 2013-02-22, 21:46
RE: [Mod] MiniMeedia - by Waffa - 2013-02-22, 23:59
RE: [Mod] MiniMeedia - by XbmcNerd - 2013-02-25, 00:19
RE: [Mod] MiniMeedia - by Waffa - 2013-02-26, 00:04
RE: [Mod] MiniMeedia - by ammace - 2013-03-09, 16:35
RE: [Mod] MiniMeedia - by Waffa - 2013-03-11, 21:08
RE: [Mod] MiniMeedia - by Kib - 2013-03-24, 15:40
RE: [Mod] MiniMeedia - by CharredChar - 2014-06-24, 05:21


Logout Mark Read Team Forum Stats Members Help
[Mod] MiniMeedia52
This forum uses Lukasz Tkacz MyBB addons.