2009-12-09, 16:33
qualar Wrote:This is happening because the skin you copied it into has a setting to play videos in the background.
How do I make an exception for when its a trailer?
qualar Wrote:This is happening because the skin you copied it into has a setting to play videos in the background.
hellsing Wrote:I dont mind if if gets bigger, could you point me in the right direction to modify the number of items?Hey hellsing,
The sub-menu is too many clicks away for my liking
Smenus Wrote:Hey hellsing,
Not at my computer at the mo, but I can tell you that you'd need to change the recentadded.py script to return more items from the SQL query, and change include-recentadded.xml (or something like that) to display them all. You'd also need to change the image used for the BG, so that it's larger (probably need to dupe it actually, so that the other pages don't use the larger one too).
Cheers, Sean.
steph99 Wrote:use XPR Express to extrect and re-compile xpr-files: http://www.teamblackbolt.co.uk/projdetails.php?id=5
steph99 Wrote:no xp compatible mode possible or something like that?
sorry, don't know any other solution. works well on vista
Smenus Wrote:Hey hellsing,
Not at my computer at the mo, but I can tell you that you'd need to change the recentadded.py script to return more items from the SQL query, and change include-recentadded.xml (or something like that) to display them all. You'd also need to change the image used for the BG, so that it's larger (probably need to dupe it actually, so that the other pages don't use the larger one too).
Cheers, Sean.
qualar Wrote:You may be OK using the current image but just setting the size larger.
hellsing Wrote:I just noticed that But i'm interested in skinning so it's good to learn how things work.
I'm looking through the recentlyadded.py but i don't understand where the value to change number of items is. It feels logical to me if there would be a value of 5 somewhere but that doesn't seem to be the case. Would be great if you could help me
hellsing Wrote:I just noticed that But i'm interested in skinning so it's good to learn how things work.
I'm looking through the recentlyadded.py but i don't understand where the value to change number of items is. It feels logical to me if there would be a value of 5 somewhere but that doesn't seem to be the case. Would be great if you could help me
sql_music = "select * from albumview order by idAlbum desc limit %d" % ( 15, )
steph99 Wrote:well, as I said: I'm a complete idiot when it comes to programming...
But I'll try.
I understand, although: if one can intercept the "i", then wouldn't it be possible to show a custom window instead of the default DialogVideoInfo.xml? If so, then other views would not be affected.Am I correct...or just not as smart as I wanna be?
Smenus Wrote:Actually, there is a constant in there, just not where you'd expect to see it.
When it parses the arguments (_parse_argv), it sets self.LIMIT to whatever you've passed in, with a default value of 5. Later on, if you look for the SQL (a database query language) statement for the music search (line 145 in my version), it passes in the self.LIMIT value to the query. So, if you either hard-code a larger value in...or add another self variable, say self.MUSICLIMIT, and use that instead, you should be sorted. From my quick look, I can't see anywhere else where you'd need to change things in there.Code:sql_music = "select * from albumview order by idAlbum desc limit %d" % ( 15, )
Any more questions, let us know.
Sean.
Edit: You could always PM me if you have any other questions regarding this, as it's not exactly linked to this awesome mod anymore...