Posts: 7
Joined: May 2014
Reputation:
0
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.
Posts: 3,735
Joined: Dec 2010
Reputation:
53
negge
yo guysv7may bd latr tomorroe
Posts: 3,735
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.
Posts: 7
Joined: May 2014
Reputation:
0
Thanks! Do you know if there is a bug report for this issue?
Posts: 7
Joined: May 2014
Reputation:
0
Thanks. I just added a message to the bug report, hopefully a developer sees that.
Posts: 5
Joined: Mar 2014
Reputation:
0
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
Posts: 12
Joined: Dec 2012
Reputation:
0
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]
Posts: 12
Joined: Dec 2012
Reputation:
0
Does anyone know when this is likely to be fixed?
Posts: 13
Joined: May 2014
Reputation:
0
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