Posts: 3,912
Joined: Apr 2004
Reputation:
29
kricker
Team-XBMC QA Specialist
Posts: 3,912
2012-08-30, 02:26
(This post was last modified: 2012-08-30, 02:34 by kricker.)
What items can we map to? For example the TV Episodes .nfo file structure has a field for premiered and aired. Can we use the premiered option to map our OrigianlAirdate to and use that as a sorting option? Or use the recorded date as XBMC's dateAdded and OriginalAirDate as XBMC's date.
Posts: 3,912
Joined: Apr 2004
Reputation:
29
kricker
Team-XBMC QA Specialist
Posts: 3,912
2012-08-30, 02:31
(This post was last modified: 2012-08-30, 02:35 by kricker.)
It would also be nice if we could figure out how to replace the delete option in the context menu with the "delete show" option instead of having both. Or better yet, completely replace the default context menu with all our own options. We could have delete show, add as favorite and maybe some other options. We also need a refresh of the list once a show is deleted.
Posts: 3,912
Joined: Apr 2004
Reputation:
29
kricker
Team-XBMC QA Specialist
Posts: 3,912
2012-08-30, 02:54
(This post was last modified: 2012-08-30, 02:54 by kricker.)
I'm just not sure how much of that we can pull in and store when we aren't really writing to the library. Where does all this info we pull get stored?
Posts: 3,912
Joined: Apr 2004
Reputation:
29
kricker
Team-XBMC QA Specialist
Posts: 3,912
2012-08-30, 15:24
(This post was last modified: 2012-08-30, 15:37 by kricker.)
Very odd. I'm also using the default Confluence skin. In a vanilla install of Eden I see a menu similar to yours, but it also has a menu item called "Play from here" after queue item.
Ahhha. I found it. Under Settings\Appearance\File Lists "Allow file renaming and deletion". I usually have this option on.
Posts: 321
Joined: Jan 2009
Reputation:
0
2012-08-31, 00:48
(This post was last modified: 2012-08-31, 03:59 by LehighBri.)
EDIT: Checked in an updated version of this addon with some enhancements to the context menu items.
-Choosing the Delete Show context menu item will now refresh the list of episodes after the delete occurs
-Enhanced the context menu to only show this add ons menu items and not all of the other xbmc menu items that aren't relevant to this addon
-Added ability for the context menus to be dynamically generated... the first example that I added is where we check to see if a file is in the process of recording... and if it is... show a new "Cancel Recording" menu option. If it isn't recording, simply don't show that option (it will just show the "Delete Show" context menu item for now)
TODO:
-Add additional context menu items (both static and dynamic)
-Add error handling to handle situation where you delete the last episode in the list and the call to refresh fails (ideally if you delete the list episode in the list it would take you up a level back to the list of shows) [DONE... SEE POST 57]
Posts: 3,912
Joined: Apr 2004
Reputation:
29
kricker
Team-XBMC QA Specialist
Posts: 3,912
Nice work. I'll be sure to test out the new code tonight. Great idea making the dynamic menu options.