2011-04-20, 19:48
mwkurt Wrote:Is there any way that PseudoTV can be made to make XBMC quit after the playlists are updated at a specific time?
I've been thinking about a good way to update in the background (or something similar) and haven't been able to come up with a good solution. The problem with updating and quiting at a certain time is that you can now never watch PseudoTV at that time, on the weekends for example. Plus you would have to start the script at just the right time (presumable within some small range) to get this to work.
I guess I could make an option to update and quit on the next startup, but I'm not sure that's a good solution either. Ideally, they would update while you're actually using the script. Again, this presents several issues:
- JSON calls take some time so if you quit the script at the wrong time then you wouldn't have control over the system until it completed.
- If the update completes and then you add to your video library, the next start of the script won't reflect those new shows / movies.
- If your computer takes the majority of processor usage in order to just decode and display the movie, the addition of a background task might cause skipping in the video.
- Multithreading in Python inside of XBMC is very touchy and doesn't really like to be used...I'm afraid of stability problems if I start doing entire tasks in the background.
I'm not really sure what the best solution would be. Perhaps if there was some way to invoke the script at a certain time automatically then it would generate and quit, but I don't know of a way to do that.
jtucker1972 says that he has a solution for TV time, so I'm going to see what he has and decide if it will work for PseudoTV.
MarcosQui Wrote:But the logos are present in the addon folder - resources/images - do not understand.
The script does come with a selection of channel logos. These used to match the presets that were used to fill in your channels. Since this functionality has been replaced by an automatic set of channels plus the channel configuration tool, the channel logos don't match to anything anymore. However, you can still name one of your playlists the name of a logo and it will be used. Or you can change the directory of the channel logo folder and make your own logos to match your channels.