2013-05-12, 11:27
(2013-04-11, 18:35)Martijn Wrote:(2013-04-11, 17:07)robweber Wrote: I don't have a problem with that. I'll submit a repo request later today and get it added.
If you're planning on running it within the skin I pushed an update just now that added a true/false parameter that can be passed via the RunScript() function. This will allow you to override the user setting for if the progress bar should be shown. This way you can always hide the progress, even if the user has messed with this setting, details are in the README. Other than that you should just be able to call it and let it run.
On my library I have roughly 25-30 TV shows and 400-500 movies. Running this script takes less than 1 minute for an update, but probably 10 or more the first time it runs. Not sure how you can account for this within the skin so that it doesn't execute all the time for no reason. If needed I could add an xbmc.service extension point and add a database update monitor, that way it would execute automatically when the DB is modified. Let me know if you feel this is necessary.
Isn't that a bit of the same as artwork Organizer script?
That even supports smartplaylists iirc
(2013-04-11, 19:48)robweber Wrote:(2013-04-11, 18:35)Martijn Wrote: Isn't that a bit of the same as artwork Organizer script?
That even supports smartplaylists iirc
Yea it's pretty much the same thing from what I can tell. Seeing as how it's already in the repo, and probably used by a few skins, maybe it would make more sense to integrate that with the skin? As long as Jeroen can integrate it with reFocus in the way he is thinking.
I had no idea the Artwork Organizer even existed, I suppose I saw it in the repo and assumed it was for something else without even reading into it. The one I made is pretty stripped down, but I was making it more for personal use rather than general purpose. It was a fun coding project at any rate.
Seems like with artwork organizer I need to choose between either movie fanart, tv show fanart, etc. And as there's no predetermined path I either need to make assumptions or require the user to enter the path so I can make the skin look for the images in the right place. I would prefer to make this a setup free process.