Commit graph

199 commits

Author SHA1 Message Date
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
d91c02d520 Merge branch 'feature/dvb-rewrite'
Conflicts:
	Makefile
	configure
	src/dvb/diseqc.h
	src/dvb/dvb.h
	src/dvb/dvb_adapter.c
	src/dvb/dvb_fe.c
	src/dvb/dvb_input_filtered.c
	src/dvb/dvb_tables.c
	src/input/mpegts/dvb_psi.c
	src/input/mpegts/iptv/iptv_mux.c
	src/iptv_input.c
	src/service_mapper.h
	src/webui/static/app/tvadapters.js
	src/webui/webui.c
2013-08-28 17:08:39 +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
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
John Törnblom
2b64995434 transcoding: fixed copy & paste error, making it impossible to disable transcoding from the webui once enabled. 2013-08-11 21:34:43 +02:00
John Törnblom
012ed060cb transcoding: added option to enable/disable transcoding from the webif 2013-08-11 21:20:32 +02:00
Adam Sutton
b96c432f69 mpegts linuxdvb: use new class lookup for satconf network lookup 2013-08-09 22:07:46 +01:00
Adam Sutton
7a97b53665 channels: started work on a significant update to the way channels are managed
Channels to services will be N-N, to allow for some future options.

Also reworking the service mapper to get it working with the new code.
2013-08-06 19:56:54 +01:00
John Törblom
74d424da00 html5video: moved index file into tvheadend 2013-07-21 21:31:04 +02:00
Adam Sutton
68487e3735 webui: missing mutex unlock craeted deadlock 2013-07-10 16:25:33 +01:00
Adam Sutton
bfd8cffdc2 idnode: several improvements to the auto-updating features.
This can now be disabled via tick-box at bottom of the grid and no data
is actually sent in the update, just which nodes have been updated.

There is still an inefficiency in that a bunch of nodes being updated could
result in loads of reloads, but that could be improved with a bit of client
side buffering/delay.
2013-07-10 12:10:53 +01:00
Adam Sutton
ba25a62449 webui: add support for saving multiple entries directly from idnode grid 2013-07-09 18:54:23 +01:00
Adam Sutton
30f073c171 linuxdvb: fix some stupid diseqc config choices 2013-07-06 12:54:30 +01:00
Adam Sutton
16699deaf9 linuxdvb webui: starting to get a very rough editor for satconf
This is still very crap, but if I can get "something" it'll be better than
nothing at this stage.
2013-07-01 12:51:31 +01:00
Adam Sutton
c42b79960d idnode mpegts: minor corrections to previous refactoring 2013-06-12 12:08:26 +01:00
Adam Sutton
5f2de3a8a9 idnode: Updated all objects to new idnode/prop API 2013-06-11 20:29:02 +01:00
Adam Sutton
ddcb8d1ca9 webui: idnode saving now works (though needs reworking) 2013-06-11 14:00:05 +01:00
Adam Sutton
587400971b webui: started work on new idnode editor panel 2013-06-10 10:00:46 +01:00
Adam Sutton
331a63c6de webui: starting to get a slightly more usable idnode grid framework
The layout of the grid and filtering etc. is now auto-setup from the
idnode class definition.

I think I need to extend idnode to allow it to be used more for this
context.
2013-06-04 11:13:49 +01:00
Adam Sutton
bafcfff42d webui: restructure webui/extjs source files
I want to keep the 3rd-party packages away from the main source
where possible.
2013-06-03 17:11:01 +01:00
Adam Sutton
4af016fbb7 webui: a VERY hacked list of networks, muxes and services 2013-06-03 11:23:42 +01:00
Adam Sutton
1da619851b tvhlog: allow independent trace/debug subsystems to be enabled 2013-06-01 12:32:51 +01:00
Bernhard Froehlich
5691e131a9 Sync with tvheadend/master and merge in changes. 2013-05-24 19:03:40 +02:00
Adam Sutton
7b7652619f prop: Added the concept of a RD-only property
Made use of the rd-only property for display only fields in the DVB
hardware tree.
2013-05-24 14:58:03 +01:00
Adam Sutton
8b82a82901 linuxdvb: starting to build up the DVB hardware tree
Still do not have anything working, just trying to get some groundwork done.
2013-05-24 13:59:19 +01:00
Adam Sutton
474e1b71dc linuxdvb: started to work on linuxdvb code.
Lots of in progress stuff but its been sat uncommitted for a few weeks
due to inactivity and I don't want to lose it due to stupidity!
2013-05-21 20:06:30 +01:00
Dave Chapman
477fa0a846 Add saving/loading of audio_type, and also display it in the webui 2013-05-13 10:39:35 +01:00
Bernhard Froehlich
7e92397f2c Add missing include for FreeBSD which has AF_INET and AF_INET6 defined in sys/socket.h
tvheadend-3.4/src/webui/extjs.c: In function 'service_update_iptv':
tvheadend-3.4/src/webui/extjs.c:1748: error: 'AF_INET' undeclared (first use in this function)
tvheadend-3.4/src/webui/extjs.c:1748: error: (Each undeclared identifier is reported only once
tvheadend-3.4/src/webui/extjs.c:1748: error: for each function it appears in.)
tvheadend-3.4/src/webui/extjs.c:1749: error: 'AF_INET6' undeclared (first use in this function)
tvheadend-3.4/src/webui/extjs.c: In function 'build_record_iptv':
tvheadend-3.4/src/webui/extjs.c:1776: error: 'AF_INET' undeclared (first use in this function)
tvheadend-3.4/src/webui/extjs.c:1780: error: 'AF_INET6' undeclared (first use in this function)
2013-05-04 14:32:57 +02:00
Adam Sutton
a7d7392661 iptv: started work on added IPTV support 2013-04-30 11:19:27 +01:00
Adam Sutton
b708e28d42 mpegts: started to add the generic mpegts code
Much of the layout for this is stolen from Andreas' updated
dvb code.
2013-04-26 10:27:37 +01:00
Adam Sutton
de16f083e5 Major reworking of the input system
This is very much WIP, stuff at this stage is completely broken and
will only compile with all optional components disabled.
2013-04-25 18:48:48 +01:00
Adam Sutton
139b654715 Merge remote-tracking branch 'origin/dvbnetworks' into feature/dvb-rewrite
Conflicts:
	Makefile
	src/capmt.c
	src/dvb/dvb.h
	src/dvb/dvb_adapter.c
	src/dvb/dvb_fe.c
	src/dvb/dvb_multiplex.c
	src/dvb/dvb_preconf.c
	src/dvb/dvb_service.c
	src/dvb/dvb_tables.c
	src/epggrab/module/eit.c
	src/epggrab/otamux.c
	src/iptv_input.c
	src/main.c
	src/rawtsinput.c
	src/service.c
	src/serviceprobe.c
	src/settings.c
	src/tvheadend.h
	src/v4l.c
	src/webui/extjs.c
	src/webui/extjs_dvb.c
	src/webui/static/app/dvb.js
	src/webui/static/app/tvadapters.js
	src/webui/static/app/tvheadend.js
	src/webui/webui.c
	src/webui/webui.h
2013-04-23 17:31:24 +01:00
Andreas Öman
20e94bc17d Initial work on DVB hw tree 2013-04-23 15:46:43 +02:00
Adam Sutton
89b18c05ca docs: update documentation with new domain name and paypal link 2013-04-18 13:02:22 +01:00
Adam Sutton
c828849620 tvhlog: add UI debug to allow run-time updates to the debugging config 2013-04-10 16:30:13 +01:00
Andreas Öman
12a963e839 Implement updating of properties from webui 2013-03-31 13:28:02 +02:00
Adam Sutton
595c3b8574 epgdb: some simplifications and corrections to the epg periodic save
saving is now done from the gtimer system since a global lock is
required to be able to edit the EPG data.

I've also added missing global lock processing elsewhere.
2013-03-08 10:45:00 +00:00
andyb2000
4b7ffc058f Changed gui parameter to take a numeric value which is the
number of hours to write data to disk
2013-03-07 21:35:15 +00:00
andyb2000
3752158b92 Added checkbox to the epggrab dialog to enable 8Hr flush
to disk EPG data on user request via thread
2013-03-07 15:27:29 +00:00
Adam Sutton
f44baad54c ui: fix previous mod that broken channel configuration editing
I made the change so that /channels returned the imagecache icon
while I was testing some other UI code. Unfortunately that breaks
channel editing. So I've added a second (possibly confusingly named)
field.
2013-02-21 14:33:32 +00:00
Adam Sutton
92d0450cca imagecache: fix problem with imagecaching in the UI display 2013-02-20 11:55:13 +00:00
Adam Sutton
b043cf3729 tvhtime: start adding time processing support to TVH 2013-02-15 10:24:41 +00:00
Adam Sutton
53a9d6a4ba Fix #1574 - imagecache: add option to ignore all invalid SSL certificates 2013-02-07 21:29:40 +00:00
Kristofer Karlsson
f6ee30c3c6 Keep recordings when channel is deleted
When a channel is deleted, don't delete all existing recordings.
2013-01-25 09:04:50 +01:00
Andreas Öman
fef5755fe7 dvbreorg WIP
Initial scan now works again

We have a new idnode system that can give an entity a UUID which then can
be looked up externally (webui, etc). Good when browsing stuff
The UUID is supposed to be persisted on on disk when saving enteties
2013-01-17 16:21:55 +01:00
Adam Sutton
0400599d60 http: fix bug that causes tablemgr updates to hang
Also added additional updates based on comet data do multiple
clients would receive an update.
2013-01-15 16:25:07 +00:00
Denis Pellizzon
1820b61a57 Fix #1504 - Set IE8 compatibility mode to fix extjs IE9 issues.
Also add missing <head> tag.
2013-01-14 13:39:40 +00:00
Adam Sutton
a2fab105a1 Fix #1529 - webUI should show timeshift periods as minutes. 2013-01-13 22:19:52 +00:00
Adam Sutton
efee88c8a2 dvr: report error if a recordings file is missing. 2013-01-11 11:13:29 +00:00