Commit graph

23 commits

Author SHA1 Message Date
Jaroslav Kysela
c07824a410 Graceful exit
It's necessary to do serious checks for the memory leaks using
tools like valgrind. This patch tries to implement a graceful
exit for all tvheadend components and free allocated memory.

Also, some memory leaks were fixed.
2014-02-17 13:13:14 +01:00
Adam Sutton
582e205bc0 imagecache: migrate configuration to new API
I started to do this as there was a possible issue with imagecache as a result
of updates. However this has thus far not been proved, but still a useful
update. Hopefully not too broken!
2013-12-02 13:30:59 +00:00
Adam Sutton
a1029481d9 servicemapper: work on getting feedback from service mapping 2013-12-01 22:36:59 +00:00
Adam Sutton
173b0af80d epggrab: hide OTA channels from epggrab config
These are clearly intended to all be automatic, users should not be able
to change these.
2013-11-12 12:15:20 +00:00
Adam Sutton
73c6bc9f48 status: some additional status information about connections
also re-jigged UI layout (I'm sure people will moan) and some code
re-layout too.
2013-11-11 17:11:41 +00:00
Adam Sutton
01fc249fb5 xmltv: fix XMLTV channel configuration 2013-11-10 20:14:14 +00:00
Adam Sutton
a18cda8e06 api webui: remove all references to the old satconf grid 2013-11-02 20:13:53 +00:00
Adam Sutton
a622f4fffa linuxdvb: WIP - comitting before I lose it! 2013-10-27 23:19:02 +00:00
Adam Sutton
a1592da5e1 started work on better setup for input/hardware etc... 2013-10-27 23:19:02 +00:00
Adam Sutton
db1656314f channel: remove direct usage of ch_name
This is because the field can now be NULL and there were places where this
was not properly checked. So now a function call channel_get_name() should
be used instead and is garaunteed to return non-NULL.

In addition to this there is a nice added benefit. You can NOT set the name,
and it will automatically pull the name from the first available service. This
will not be persistent (part of config) unless you change that name and save
from the UI. This means if the service name changes, so will the channel name.

However on that last point there will not be, currently, any message sent to
the clients (HTSP) to inform them of such a change. So there might be some lag
in getting the update.
2013-10-10 11:12:37 +01:00
Adam Sutton
af07b24df2 api: make it possible to hide disabled services in the mux/service grids
This can be done in 3 ways:

none: don't hide anything
all: hide all disabled elements (you can't re-enable in this state)
default: hide those elements whose parents are disabled
2013-09-22 13:15:16 +01:00
Adam Sutton
3d6b9a6f73 service mapper: make it possible to select services to map
Also fixed some bugs that caused the mapping to fail and/or do the wrong
thing.
2013-09-20 22:39:13 +01:00
Adam Sutton
7da7006af6 linuxdvb: added pre-defined mux configuration file support
This had been left out for too long and makes it awkward for novices
to setup the networks. The config is possibly not as nice as before where
it was presented as a tree. But this can be improved later.
2013-09-19 22:19:12 +01:00
Adam Sutton
62d62e0a6e api: added channeltag list API call 2013-09-16 14:58:07 +01:00
Adam Sutton
1fe897492b api: started to migrate EPG functions to the common API 2013-09-16 14:22:10 +01:00
Adam Sutton
95c76059f7 idnode: make tree's default sorted by title 2013-09-11 10:00:22 +01:00
Adam Sutton
c43fbc7e3f api: add channel create method 2013-09-07 01:06:55 +01:00
Adam Sutton
8ac1b3d7ed status: added back in basic status info
It will now show subscriptions and streams (tuners/muxes combined).
2013-09-07 00:21:20 +01:00
Adam Sutton
65c304fb9a channel: migrated channel_t to an idnode
Also since the channel name is no longer unique various other things have
had to be updated.
2013-08-22 15:15:08 +01:00
Adam Sutton
b9c1171a7d api: include access to the service mapper 2013-08-22 15:15:08 +01:00
Adam Sutton
ecfacc5aed api webui: simplified webui API by removing "args" field
The API code has also been updated to use the htsmsg auto conversion of
strings to map/list where required. Basic approach is check for list/map
first and if that fails fallback to string (if that's whats appropriate
for a mixed type field).
2013-08-16 13:49:25 +01:00
Adam Sutton
dee72beaa5 api webui: migrated most of the new web API stuff to the new API subsystem 2013-08-15 12:05:04 +01:00
Adam Sutton
f067952fd5 api: started to add idnode to the new API structure 2013-08-12 20:39:40 +01:00