Commit graph

2713 commits

Author SHA1 Message Date
Adam Sutton
a79782c9e7 htsmsg prop: some tidying up of type conversions
Really this lot could do with a proper tidy up, but probably for another day
and since this code is kinda shared with showtime I want to keep the changes
to a minimum until I've had a chance to discuss with Andreas.
2013-08-15 22:31:47 +01:00
Adam Sutton
8ae30388aa webui: some minor corrections to mpegts/idnode code 2013-08-15 12:30:19 +01:00
Adam Sutton
a63df85c64 webui: ensure there is output for successful ops 2013-08-15 12:29:53 +01:00
Adam Sutton
09abad751e idnode: fix bug in config saving, not calling callback properly 2013-08-15 12:29:33 +01:00
Adam Sutton
6924fbc032 Merge branch 'feature/dvb-rewrite' of github.com:adamsutton/tvheadend into feature/dvb-rewrite 2013-08-15 12:06:51 +01:00
Adam Sutton
43d50f2d9b webui: updated UI to new API calls. Still crap, but hey ho! 2013-08-15 12:06:00 +01:00
Adam Sutton
0218b3842a mpegts linuxdvb: some minor modifications to linuxdvb for better idnode API 2013-08-15 12:05:30 +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
c368e32f0d idnode: add new deletion method to allow generic api method 2013-08-14 16:10:17 +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
0efeda1727 api: started work on creating a common API framework
The idea is that this will become a common API framework for both HTTP
and HTSP. And anything else we might think off.

The only real constraint at the moment is both assume a JSON like input
format (for simplicity) since they currently have that in common.
2013-08-10 14:08:36 +01:00
Adam Sutton
0253651246 idnode: ensure nodes are properly saved on update 2013-08-09 23:13:34 +01:00
Adam Sutton
b96c432f69 mpegts linuxdvb: use new class lookup for satconf network lookup 2013-08-09 22:07:46 +01:00
Adam Sutton
2e13f5db01 idnode: added concept of class registration
this allows a class instance to be looked up by name, and in turn all
instances of that class can be found.
2013-08-09 22:07:45 +01:00
Adam Sutton
5cb2ea0768 idnode prop: tweak to get config to load in the right order. 2013-08-09 22:07:45 +01:00
Adam Sutton
6fc769e4ee linuxdvb: fix LNB frequency processing 2013-08-09 22:06:02 +01:00
Adam Sutton
22138a808d linuxdvb: some additional trace debug for S2 commands 2013-08-09 22:05:29 +01:00
Adam Sutton
28b204a905 mpegts idnode: updates to idnode for more resopsive list types
input network select is now dynamic and will update when network names are
changed
2013-08-07 15:27:53 +01:00
Adam Sutton
29f6d712e8 mpegts: added deleting of entire network 2013-08-06 23:11:03 +01:00
Adam Sutton
c2723dd7cf mpegts: added the ability to delete muxes 2013-08-06 22:23:24 +01:00
Adam Sutton
0d74894f33 debug: added a proper pthread_mutex ownership check in lock_assert()
this is conditional based on a test run from the configure script, as this
type of test is certainly not 100% cross platform compatible.

However its very useful to have a true check of lock ownership rather than
the rather arbitary check that "someone" holds the lock.
2013-08-06 19:57:07 +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
7dd6a7beb8 transcoding: resync pts when audio frames are dropped. 2013-07-28 12:09:42 +02:00
Adam Sutton
5f8510d7a3 cwc: fix stupid mistake in key updating (only setting using one set) 2013-07-23 22:12:25 +01:00
John Törblom
12e542b7f4 html5video: detect errors on the source element (tested in ff & opera) 2013-07-21 22:02:23 +02:00
John Törblom
2d2f2dcff6 html5video: display messages describing the state of the video element. 2013-07-21 21:33:14 +02:00
John Törblom
74d424da00 html5video: moved index file into tvheadend 2013-07-21 21:31:04 +02:00
John Törblom
14708b4ef8 html5video: fixed root keyboard handler for devices with VK_ENTER other than the usual one. 2013-07-21 21:05:08 +02:00
John Törblom
7da6c46da9 transcoding: added missing eye candy for js client 2013-07-21 19:44:19 +02:00
John Törblom
824b0c0ca6 transcoding: redesigned the 10-foot javascript client.
navigation is done using a keyboard (no mouse scrolling or touch events
are supported). double clicking a channel (or pressing the enter key
while being selected) will tune to a channel. the channel list can be
hidden by pressing esc or backspace, and brought back by pressing enter.
page-up and page-down are also supported.
2013-07-21 14:58:32 +02:00
John Törblom
9259102090 transcoding: minor improvements to the javascript client 2013-07-19 16:31:53 +02:00
John Törblom
7ac5542e20 transcoding: added initial UI for watching webm/hls streams in browser.
Navigation is very primitive. clicking on the logo will step up in
channel list, or you can use the up/down arrows on the keyboard. No UI
for listing channels is available, as this is more of a test to see
what browser are working.
2013-07-18 14:19:36 +02:00
John Törblom
36d27047dd transcoding: avoid resetting thread_count to default value (zero). 2013-07-17 17:31:33 +02:00
John Törblom
2f3e37232d muxer: added initial support for the webm container 2013-07-17 16:45:00 +02:00
John Törblom
08bd137d6f transcoding: added initial support for vorbis. might suffer from sync problems when frames are dropped earlier in the pipe line 2013-07-17 16:26:48 +02:00
John Törblom
e4b9f5960d transcoding: added intial support for VP8 (matroska container only) 2013-07-17 16:04:06 +02:00
John Törblom
b7e4f3f064 transcoding: copy transcoding paramaters from a playlist GET request to the url inside the generated m3u8 file 2013-07-17 15:08:45 +02:00
John Törblom
f7da029e9d transcoding: sanitize resolution 2013-07-17 15:08:37 +02:00
Adam Sutton
4db9fa050f linuxdvb: fix diseqc committed switch setting
Added new LNB callback for getting the hi/lo band setting. Minor correction
to repeat sending as well.
2013-07-15 12:15:47 +01:00
Luis Alves
dccb50dfd7 Diseqc fix (incomplete) 2013-07-15 11:50:59 +01:00
Adam Sutton
e197ca025e Merge remote-tracking branch 'origin/pr/51' into feature/dvb-rewrite 2013-07-14 20:15:01 +01:00
Luis Alves
e275aeda6c Fixed setting name. Was 'constellation' but 'modulation' expected. 2013-07-14 11:35:20 +01:00
Adam Sutton
1325dd7ad1 cwc: don't restart cwc clients when service is restarted 2013-07-13 20:07:14 +01:00
Adam Sutton
4e5c12ef94 capmt: properly check if input is enabled or not 2013-07-13 20:06:07 +01:00
Adam Sutton
7e565bc61e mpegts: added scan q length field to UI 2013-07-13 20:05:45 +01: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
c587fd3fdc idnode: added some rate limiting to idnode update messages 2013-07-09 19:46:36 +01:00