'Sort by: Date' not working
#1
I just updated to XBMC 13. Everything works fine, except the 'Sort by: Date' button for recordings. This worked OK in XBMC 12, but not in 13. I once used the 'Sort by: Name', and now I can do what I want, but recordings are always sorted by name first, and then by date. We have hundreds of recordings, and now it is virtually impossible to find the latest ones. I tried on several computers, all had this (tested on Ubuntu 14.04 and Xubuntu 12.04). Do you also have this issue, and is there a solution? By the way I use tvheadend, but I am not sure if that is relevant.
Reply
#2
This is indeed broken, it has been reported before. The only way to fix it is to remove or manually edit the ViewModes database, then never sort by name again.
Reply
#3
Thanks! Do you know if there is a bug report for this issue?
Reply
#4
I' ve exactly the same issue using VDR as TV backend.

Presumably #15045 is related to this.
http://trac.xbmc.org/ticket/15045

Only the bug report title "PVR UI inconsistencies" could be misleading since it doesn't emphasize that sorting by date IS NOT WORKING.
So I'm not sure to open a new bug report or to add something to that bug report to trigger some action or give info to the bug report owners.
(One of them is xhaggi who is very actively (re)working the usability of TV section at the moment - Great!! Many thanks !!!)
Reply
#5
Thanks. I just added a message to the bug report, hopefully a developer sees that.
Reply
#6
At the moment I Have a workaround (on linux - should be similiar on windows) by setting the View-Database back to "sort by Date" every time before starting xbmc.
You have to install sqlite3 before.
My View Database where Info about sorting-order in Recordings View is in
~/.xbmc/userdata/Database/ViewModes6.db
in table "view" in column "sortMethod"

output of database content can be shown by:

sqlite3 ~/.xbmc/userdata/Database/ViewModes6.db "select * from view";

output shows then for me:
1|10697|pvr://recordings/|0|1|1|1|skin.confluence

Teh second "1" is the sort order and means SortbyName.
This has to be set to "2" by (and setting also sortOrder to descending)

#write sortmethod "2" sortbyDate
sqlite3 ~/.xbmc/userdata/Database/ViewModes6.db "update view set sortMethod = 2 where window = '10697'";
sqlite3 ~/.xbmc/userdata/Database/ViewModes6.db "update view set sortOrder = 1 where window = '10697'";

I put these two lines in a wrapper-script to set back the database and then launch xbmc also from the script.

So I always have SortbyDate at begin at least.
These 2 commands can also be executed while running xbmc (when You are not in the recordings-windows) to set back to SortbyDate
Reply
#7
I've got the same issue running Gotham beta 2.

Sorting by date only seems to work in the "All Recordings" view. The "top level" recordings view, where shows are grouped by title/folder does not sort by date, only name.

Is there a workaround for this? Does deleting the "ViewMode" database method mentioned above work and if it does, how do I got about doing this?

Thanks![/align]
Reply
#8
Does anyone know when this is likely to be fixed?
Reply
#9
I accidentaly changed the sorting and just did a
mv .xbmc/userdata/Database/ViewModes6.db .xbmc/userdata/Database/ViewModes6.db.orig
and rebooted. I guess this removes any changes and resets to "factory settings" but it solved the problem for me
Reply

Logout Mark Read Team Forum Stats Members Help
'Sort by: Date' not working0