2011-07-03, 10:25
Hi,
I have created a script to fetch the list of video bookmarks from the database. It then copies the list of bookmars into window properties (together with the movie or tvshow episode info) so it can be use in any xbmc skin.
I use it myself as a reminder (and easy access) to movies or TVshows that are in progress. As my wife and I watch different series and with the kids usually we don't have time to watch an entire episode or movie the same day (usually it takes several days!! :-) This way it is easy for us to keep track of the ones that are in progress as soon as we start XBMC. Before we were using smart playlists but it was a pain to navigate to them and it is not as cool as this :-D
You can see how it can be used in a skin in this post, I use the Aeon Nox skin now so it is made for that skin. This is a screenshot of how it looks like (more in the post link).
The addon sets the following window properties in the home window (among others but this is the most important ones I think)
The ? is a number starting from 1 indicating the number of bookmark. They are sorted by remainingtime.
You can pass the following optional parameters:
The source code of the addon called script.video.bookmarks.browser is in github and you can fetch it from:
https://github.com/pilluli/script.video....ks.browser
Right now the script uses the deprecated HTTP-API but I plan to update it to JSON-RPC as soon as there is support to get video bookmarks from the DB (right now it is missing).
The script is mainly based on the, now defunct, recentlyadded script so many thanks to the authors of that script.
I have created a script to fetch the list of video bookmarks from the database. It then copies the list of bookmars into window properties (together with the movie or tvshow episode info) so it can be use in any xbmc skin.
I use it myself as a reminder (and easy access) to movies or TVshows that are in progress. As my wife and I watch different series and with the kids usually we don't have time to watch an entire episode or movie the same day (usually it takes several days!! :-) This way it is easy for us to keep track of the ones that are in progress as soon as we start XBMC. Before we were using smart playlists but it was a pain to navigate to them and it is not as cool as this :-D
You can see how it can be used in a skin in this post, I use the Aeon Nox skin now so it is made for that skin. This is a screenshot of how it looks like (more in the post link).
The addon sets the following window properties in the home window (among others but this is the most important ones I think)
- VideoBookmark.?.Title
- VideoBookmark.?.Extra
- VideoBookmark.?.RemainingTime
- VideoBookmark.?.Thumb
- VideoBookmark.?.Fanart
The ? is a number starting from 1 indicating the number of bookmark. They are sorted by remainingtime.
You can pass the following optional parameters:
- limit: number of video bookmarks to get
- resume: just retrieve the resume bookmarks or all
- unique: only retrieve one bookmark for a video (the latest one)
The source code of the addon called script.video.bookmarks.browser is in github and you can fetch it from:
https://github.com/pilluli/script.video....ks.browser
Right now the script uses the deprecated HTTP-API but I plan to update it to JSON-RPC as soon as there is support to get video bookmarks from the DB (right now it is missing).
The script is mainly based on the, now defunct, recentlyadded script so many thanks to the authors of that script.