Closed GoogleCodeExporter closed 9 years ago
thanks for the patch. that was why the sorting was disabled due to the channel
lists. there is a bug that the channels dont work currently I need to fix - ie,
when you go to a category, the idea is you can drill it down further by channel.
it might be an idea if removing the channels to add by category to the main
channel lists as we do with date.
I'm not sure about this solution currently though - it's a lot of additional
logic for a minor issue imho. I'll have a think about it.
Original comment by exob...@gmail.com
on 30 Nov 2014 at 6:30
I think I will go with your patch at least partially - we could add a sort
field though and sort by that by default also. shame xbmc doesn't have a sort
by series + episode which would mean we don't need to rewrite the titles.
I'm working on some other changes right now, so I'll get back to you. thanks
again.
Original comment by exob...@gmail.com
on 30 Nov 2014 at 8:49
Great thanks. Now that I think about it, xbmc may well be able to sort as we'd
like if we set both the "season" and "tvshowtitle" fields in the ItemInfo and
use the "sort by episode" method. It would still mean some extra logic in
listparser.py but it may be more palatable. I'll experiment and let you know.
Original comment by blaise.s...@gmail.com
on 1 Dec 2014 at 9:33
In the end I went for a completely different approach. The feeds from Auntie
are actually properly sorted by series and episode (in descending order); the
problem is that the block_type=episode parameter loses the episode order. So I
removed the block_type parameter and added a bit of code to parse the resulting
json. NB: I didn't update the XML parser as it appears to be dead code. Could
we remove it? Otherwise I'll refactor listparser accordingly.
I also changed the sort method for the series listings from "episode" to
"unsorted", since "unsorted" is now sorted thanks to Auntie. Without this
change, you get "series 2, episode 1"; "series 3, episode 1"; "series 2,
episode 2" etc.
The attached should patch cleanly into 2.6.10.
Original comment by blaise.s...@gmail.com
on 5 Dec 2014 at 8:44
Attachments:
thanks!
Original issue reported on code.google.com by
blaise.s...@gmail.com
on 30 Nov 2014 at 6:24Attachments: