Hummm ... After change, the FanArt for TV Show really appears on backdrop.
However, in the episode thumb too.
That seeems the script read just one picture. I think that I must to search how to use two objects to split the code: one for fanart and another for thumbs ...
It´s complicated ...
I´m go search for another Includes_Last_Added.xml customization that I like ...
[RELEASE] RecentlyAdded Script (RecentlyAdded.py) Recently Added for Skins / Skinners
mnegrisoli
Junior Member Posts: 29 Joined: Jul 2009 Reputation: 0 Location: Brasil / SC |
2009-11-11 15:13
Post: #31
|
| find quote |
Jezz_X
Team-XBMC Skinner Joined: Jun 2006 Reputation: 55 Location: Earth |
2009-11-14 04:01
Post: #32
I've been thinking about this lately and have come to a couple of conlusions
1) You can probably do away with <onfocus>Skin.SetBool(Startup)</onfocus> stuff and just run the script straight from startup.xml since the only time you see that is when xbmc starts up 2) this doesn't take into acount manually adding an item to the video library with the Info Key or refreshing a current item if it got scanned wrong (because dialogvideoscan.xml doesn't get called inthose cases) 3) this having to guess whenthe libraries have been updated anoys the crap out of me and I really want a better way to be able to tell that its been updated and thus run the script. Hell I'd even settle for xbmc setting a skin boolean everytime it changes the lib contents so we can check it if true run the script reset it until next time its set. ronie Wrote:i've been looking for a way to run the RecentlyAdded script in a more 'intelligent' way. Skins I have done.... ![]() And others in the past... Want to know what I'm working on currently? Check me out on Google+ |
| find quote |
ronie
Team-XBMC Member Joined: Jan 2009 Reputation: 111 |
2009-11-14 04:17
Post: #33
Jezz_X Wrote:I've been thinking about this lately and have come to a couple of conlusionstrue, didn't think of that, but it makes sense. Jezz_X Wrote:2) this doesn't take into acount manually adding an item to the video library with the Info Key or refreshing a current item if it got scanned wrong (because dialogvideoscan.xml doesn't get called inthose cases) guess my proposed way isn't perfect after all. another issue is, the script currently won't run after switching skins in settings > appearance. i guess xbmc doesn't load startup.xml when you change skins. there's probably a way to detect if a user switched skins (kinda like the way Aeon does to show the welcome screen) but i haven't looked into it yet. Jezz_X Wrote:3) this having to guess whenthe libraries have been updated anoys the crap out of me and I really want a better way to be able to tell that its been updated and thus run the script. Hell I'd even settle for xbmc setting a skin boolean everytime it changes the lib contents so we can check it if true run the script reset it until next time its set. when the script was first released, there was some talk about having this recently added functionality natively supported in xbmc. imo that would be the only reliable way. Always read the XBMC online-manual, FAQ and search the forum before posting. Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
| find quote |
Hitcher
Skilled Skinner Joined: Aug 2007 Reputation: 67 Location: Eastleigh, UK |
2009-11-14 12:20
Post: #34
ronie Wrote:when the script was first released, there was some talk about having this recently added functionality natively supported in xbmc. imo that would be the only reliable way.Agreed. ![]() |
| find quote |
pre1014
Senior Member Posts: 180 Joined: Dec 2003 Reputation: 6 |
2009-12-27 00:33
Post: #35
As the title states, having the recentlyadded.py from the qualar mod causes my movie library to not update when i turn on the system. This is on the xbox platform running r24613.
Setting the skin to "HIDE RECENT MOVIES" does not resolve this, however deleting the recentlyadded.py from the skins scripts folder does. xbmc log: http://xbmc.pastebin.com/f23a17ace You can see that it just comes back with a: Code: 16:00:50 M: 28946432 DEBUG: VIDEO::CVideoInfoScanner::DoScan Skipping dir 'smb://xbox:xbox@SERVTASTIC/DVD/' due to no changeThe library system doesn't seem to calculate a hash because the recentlyadded.py is running. ANYWAYS; there are also other errors about unreferenced DLLs, but is there any way the python script or skin, or something can be changed to check to see if a library update is being run (or if DialogVideoScan.xml is initiated), and if so to NOT run the recentlyadded.py at that time....because the script is definitely what causes the library to not update like it should (maybe its just python running that is causing it though). not sure where I am supposed to put this so it can be moved to the "unsupported" xbox specific section if needed.
(This post was last modified: 2009-12-27 00:39 by pre1014.)
|
| find quote |
pre1014
Senior Member Posts: 180 Joined: Dec 2003 Reputation: 6 |
2009-12-27 00:39
Post: #36
The above example i addes "Shreck 2 (2004).iso" to my movie folder, but the system didn't see it or update it. removing the recenlyadded.py and rebooting the xbox caused the system to see it and update the library correctly. rebooting again shows how the system would normally calcluate the hash:
Code: 16:26:29 M: 28737536 DEBUG: VIDEO::CVideoInfoScanner::DoScan Rescanning dir 'smb://xbox:xbox@SERVTASTIC/DVD/' due to change |
| find quote |
ijourneaux
Fan Posts: 413 Joined: Mar 2009 Reputation: 1 Location: Wisconsin, USA |
2010-01-17 21:02
Post: #37
I am runing a SVN 26903 with Transparency 2.11. I get the following script error when ever XBMC is launched. DOes anyone have the required correction to the script? Perhaps the fix is in the Transparency SVN?
12:13:55 T:2664 M:1433468928 NOTICE: -->Python Interpreter Initialized<-- 12:13:56 T:2664 M:1426853888 ERROR: Error Type: exceptions.IndexError 12:13:56 T:2664 M:1426853888 ERROR: Error Contents: list index out of range 12:13:56 T:2664 M:1426718720 ERROR: Traceback (most recent call last): File "C:\Program Files\XBMC\skin\Transparency!\scripts\RecentlyAdded.py", line 260, in ? Main() File "C:\Program Files\XBMC\skin\Transparency!\scripts\RecentlyAdded.py", line 71, in __init__ self._fetch_totals() File "C:\Program Files\XBMC\skin\Transparency!\scripts\RecentlyAdded.py", line 133, in _fetch_totals self.WINDOW.setProperty( "TVShows.Watched" , tvshows_totals[ 2 ] or "" ) IndexError: list index out of range |
| find quote |
amet
I wave my private parts at your aunties! Joined: Jul 2009 Reputation: 18 Location: Novi Sad / Dubai |
2010-01-17 21:10
Post: #38
ijourneaux Wrote:I am runing a SVN 26903 with Transparency 2.11. I get the following script error when ever XBMC is launched. DOes anyone have the required correction to the script? Perhaps the fix is in the Transparency SVN? I have seen this before, only way I was able to fix is to rebuild the database. Backup/remove your MyVideos34.db and XBMC will rebuild it. Zeljko Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting. For troubleshooting and bug reporting use -> Log_file. |
| find quote |
ijourneaux
Fan Posts: 413 Joined: Mar 2009 Reputation: 1 Location: Wisconsin, USA |
2010-01-17 21:23
Post: #39
Thanks for the tip. I will have to time doing that as I am guessing the rebuilding will take some time when you have many movies.
Take Care |
| find quote |
ronie
Team-XBMC Member Joined: Jan 2009 Reputation: 111 |
2010-01-17 21:25
Post: #40
could you try if cleaning the library will fix it?
Settings > Videos > Library > Clean Library... if not, see post above ;-) Always read the XBMC online-manual, FAQ and search the forum before posting. Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
| find quote |

![[Image: skinsq.png]](http://img854.imageshack.us/img854/931/skinsq.png)
![[Image: sig_zps3af3b48e.jpg]](http://i620.photobucket.com/albums/tt289/Arcanthur/Celestium/sig_zps3af3b48e.jpg)
Search
Help