« on: May 07, 2014, 04:52:52 am »
I need to do a _LOT_ of engineering work on the media browser.
Due to the way the code is structured, the changes that I need to make, are difficult to wrap in my own head (I can't speak for anyone else), and require changes to _both_ Orbiter and the Media Plugin to work properly. It will be gruesome, and I will probably need to make a separate branch to do the work, as I will need a significant chunk of free time to do this.
I plan to make the following changes to the media browser:
* Collapse items with the same title. This will essentially allow items with the same title (e.g. Grey's Anatomy or Babylon 5), to be shown as a single item, that can be drilled down into. Showing sub views as needed (Season, Episode, falling to title with episode name if none of these other attributes are present). This is _very_ difficult, as it requires me to change the Title view (which in reality uses a variant of the Filename view logic, with lots of fall through if a title isn't available, etc.), to use the attribute view instead, I will have to fuse many of the little things that are present in the title view (files without titles, etc.), into the Attribute view, and not let things fall through the cracks. I've attempted this before, and realized that it will take hundreds of hours of debugging, because of the state permutations (the code is shared between media types, etc.). Shit will be weird for a while.
* Add recently Added sort type. (This will take some additions to UpdateMedia, as we don't currently record a creation timestamp in the File table).
* Tapping Recordings should show a media grid of TV recordings from mythTV in the orbiter, not using MythTV's UI.
There is more, but I am tired, and I still have many hours of contract work to do tonight. I'll dump more as I think of it.