2013-06-19, 00:44
Hi,
Looks good
I have been planning on re-doing my old scripts.
ResumeX would be first.
Plan on resuming:
Audio
Audio Playlist
Video
Video Playlist
Volume Level
Window
Pictures / Slideshow
Current play state (playing, paused)
It will also use a database to store the data and only save it if it has changed (saves resources).
Saving to a database should be quicker than writing a file as well.
Also, with a database you could use a transaction so it would only save if all queries complete ok.
This would remove the current need for 2x data files (in-case one is corrupted by unexpected shutdown).
It will also use JSON to retrieve all state data (instead of using xbmc.player etc)
Thanks,
Matt
Looks good
I have been planning on re-doing my old scripts.
ResumeX would be first.
Plan on resuming:
Audio
Audio Playlist
Video
Video Playlist
Volume Level
Window
Pictures / Slideshow
Current play state (playing, paused)
It will also use a database to store the data and only save it if it has changed (saves resources).
Saving to a database should be quicker than writing a file as well.
Also, with a database you could use a transaction so it would only save if all queries complete ok.
This would remove the current need for 2x data files (in-case one is corrupted by unexpected shutdown).
It will also use JSON to retrieve all state data (instead of using xbmc.player etc)
Thanks,
Matt