Mailing List Archive

mythtv branch master updated by paulh. v30-Pre-423-g051a703
The branch, master has been updated on the
mythtv repository by gitolite user paulh.
via 051a7039e1c3e51f051c39ac7905598909de04b0 (commit)
from 1ba284aa859607b55033ffed8ccb7473f79d4701 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 051a7039e1c3e51f051c39ac7905598909de04b0
Author: Paul Harrison <pharrison@mythtv.org> at Sun, 28 Jan 2018 13:22:15 +0000
Committer: Paul Harrison <pharrison@mythtv.org> at Sun, 28 Jan 2018 13:22:15 +0000
URL: http://code.mythtv.org/cgit/mythtv/commit/?id=051a7039e1c3e51f051c39ac7905598909de04b0

ServicesAPI: add more sorting options to Dvr/GetRecordedList
This adds a new optional parameter 'Sort' that can contain a comma separated
list of fields to sort the program list by. The current list of fields that
can be used is starttime, title, subtitle, season, episode, category, watched,
stars, originalairdate, recgroup, storagegroup, channum, callsign and
channelname.

By default the fields will be sorted in ascending order but you can add DESC
after the field name to change the order to descending.

For example if you want all programs called 'Big Bang' and to sort the list
by season and episode showing the newest seasons first:-

Dvr/GetRecordedList?TitleRegEx=Big Bang&Sort=season DESC,episode



-----------------------------------------------------------------------

Summary of changes:
mythtv/libs/libmyth/programinfo.cpp | 68 ++++++++++++++++++--
mythtv/libs/libmyth/programinfo.h | 4 +-
.../libmythservicecontracts/services/dvrServices.h | 5 +-
mythtv/programs/mythbackend/services/dvr.cpp | 6 +-
mythtv/programs/mythbackend/services/dvr.h | 9 ++-
5 files changed, 79 insertions(+), 13 deletions(-)

--

_______________________________________________
mythtv-firehose mailing list
mythtv-firehose@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-firehose