derGerlach Posted February 2, 2017 Share Posted February 2, 2017 I did another update with tvheadend_4.1-2409 and a more intuitive way to wakeup for recordings. (No more workarounds) You may have to disable/enable the plugin to change the setting to yes (if you want the wakeup - its pretty neat ) The server will wake up 5 minutes before the recording. Make sure you don't record to the cache disk if you dont want the server to shut down in the middle of the recording. Once the recording is done, the disk will eventually spin down and the sleep plugin will power down the server. Works like a charm for me! Let me know what you think. Hey Mettbrot. Thank you for this great plugin. I'm a little bit confused about the "wake up for recording" feature. Everything is working pretty good, except the wake up for scheduled recordings. My server is configured to enter sleep mode after some time. Wake on Lan is working... The Wake up for Recording Settings on the tvHeadend Plugin Page is linked to this article: http://www.tvheadend.org/projects/tvheadend/wiki/Wakeup Do I need to setup something or is the whole wake up dvr feature handled by your plugin ? I'm using a HDHomerun Tuner. Thank you Quote Link to comment
Mettbrot Posted February 3, 2017 Author Share Posted February 3, 2017 (edited) Automatic Wakeup The whole feature should be handled by the plugin. It calls the script you linked (well, a modified version of it) when tvheadend is stopped. You can see this briefly in the settings window when you click on stop it should tell you the status at the bottom left Quote executing wakeup script... ...OK You may also call the script manually via the console (replace $DATADIR with your tvheadend data directory eg. /mnt/user/Apps/tvheadend leave the quotation marks): /usr/local/emhttp/plugins/tvheadend/scripts/tvheadend_wakeup.sh "$DATADIR/dvr/log" After that you can check manually weather a timer has been set by typing cat /sys/class/rtc/rtc0/wakealarm into the console. It should show the timestamp of the next wakeup (next recording -5 minutes). If it shows but your server does not wake up its a bios setting you have to enable. Something like RTC wake, wake on ring or something, I have seen a dozen of those options from time to time Edited April 18, 2017 by Mettbrot Quote Link to comment
Mettbrot Posted April 29, 2017 Author Share Posted April 29, 2017 (edited) Hi everyone! I just took some time to update tvh to the latest 4.2.1 STABLE. You read correctly, they finally released a stable version I also fixed some problems with the dependencies, so the plugin should install correctly now - even on new installations! Please let me know if it doesn't! Have fun! Edited May 2, 2017 by Mettbrot typo Quote Link to comment
Marv Posted June 30, 2017 Share Posted June 30, 2017 (edited) Hi Mettbrot, playing around with your great plugin for a view days now but as I'm completely new to Tvheadend I have a few questions: When setting up the server for the first time I get asked for the superuser login credentials every time I try to access the webUI. But after adding my users this does not happen anymore. I'm using a wildcard user (*) for my local clients without admin rights which is allowed to access the server from my local network and an admin user which of course has admin rights and is also allowed to access the server locally. So when opening the webUI I don't get asked to login anymore but the webUI shows me an unauthorized login and I'm allowed to see the EPG. Am I right that I get logged in to the wildcard account automatically here? I can also login to the admin acount and am able to see the configurations tab afterwards. But I'm just wondering if this is the normal behaviour. Does the superuser login isn't needed or asked for anymore after setting up other users? The superuser login credentials aren't working aswell via the manual login which I'm using to login to my admin account. I also got a question regarding your wakeup script. When using the first command you posted above without having an actual timer already setup I don't have any log file inside my dvr folder /usr/local/emhttp/plugins/tvheadend/scripts/tvheadend_wakeup.sh "$DATADIR/dvr/log" So I'm assuming I can only use your command when having setup a scheduled recording already so that the the above command can write the timer to the file system right? So when does the script gets executed normally? Is it when unraid powers off? Hope this all makes sense to you and you can clear up my noob questions. Thank you Edited June 30, 2017 by Marv Quote Link to comment
Mettbrot Posted June 30, 2017 Author Share Posted June 30, 2017 (edited) Hi there! its never wrong to ask as far as I know the rights management inside tvheadend is very granular. You can select rights like EPG or DVR or live tv per user. If your wildcard user doesn't have a password and can access the epg i suppose you will be "logged in" without password with that user when you visit the web interface and can only see the epg. You may log out at the top right corner and use your super user or a user with admin rights to login like you said. For other questions you might want to check the help function inside the web interface or ask at the forum over at http://tvheadend.org Most of the time I am overwhelmed by all the functionality too. You can access even more functionality if you set the settings level to expert in the top right corner. As far as the wake up function goes, you have to put your actual configuration path into the command, for me it's would be like this: /usr/local/emhttp/plugins/tvheadend/scripts/tvheadend_wakeup.sh "/mnt/user/Apps/tvheadend/dvr/log" The log files only exist if there is an actual timer scheduled, correct. The script gets executed when tvheadend is shut down. That would include a shutdown of the server I hope I could help you. Don't hesitate to ask again if something's unclear. I will probably update the tvheadend version to the latest stable in mid-July. Edited October 13, 2017 by Mettbrot Quote Link to comment
Marv Posted July 3, 2017 Share Posted July 3, 2017 (edited) Hi, thanks for clarifying. So wakeup works like I thought. But for the login at the top right corner.. I can't login with the superuser credentials there. The admin user works but the superuser only works for me before adding the other accounts. Are you able to login as the superuser from the tvh webUI? Edited July 3, 2017 by Marv Quote Link to comment
Mettbrot Posted July 4, 2017 Author Share Posted July 4, 2017 I can logout at the top right corner and login using any of the accounts specified as users in the webUI plus the super user. As far as I remember you can't logout when you are using the superuser because to the system you are not a regular user. It's kind of hacked into the UI I guess. I don't know how it works with asterisk users though.. sorry Quote Link to comment
Mettbrot Posted August 2, 2017 Author Share Posted August 2, 2017 I just updated tvheadend in the plugin to the latest 4.2.3 stable version. Quote Link to comment
mbc0 Posted October 3, 2017 Share Posted October 3, 2017 Hi, I have just installed and setup this docker and all appears to be well apart from connecting to a server to decode some channels. I have a cline but my question is do I need to install anything else or can I just input the information into TVHeadend? do I need to download the oscam docker? Thanks in advance! Quote Link to comment
Mettbrot Posted October 3, 2017 Author Share Posted October 3, 2017 This is the plugin version of tvheadend so I have no clue about the docker. I also never tried anything oscam related, maybe someone else can chip in on this one.. Quote Link to comment
mbc0 Posted October 3, 2017 Share Posted October 3, 2017 ah my mistake! I downloaded the docker from CA and presumed this was the forum for it... sorry! Is there good reason that I should use the plugin instead of the docker? Cheers! Quote Link to comment
saarg Posted October 4, 2017 Share Posted October 4, 2017 16 hours ago, mbc0 said: Is there good reason that I should use the plugin instead of the docker? Cheers! The reason to use our container instead of the plugin is that our container is waaaay better than the plugin On a serious note. Don't remember what a c-line is, but if it's newcamd protocol, you can add it directly in the CA section of tvheadend. If it's cccam and you don't have your own subscription card, I'm not going to help you. Every container has its own support thread in the docker forum. There might be multiple containers for the same app, so pay attention to which you install. Support thread is also linked to in CA. Quote Link to comment
mbc0 Posted October 6, 2017 Share Posted October 6, 2017 ok, I thought I would try this plugin over the docker as you say it is the best however, I cannot connect to it? I have tried http://192.168.0.33:9981 http://unraidserver:9981 unraidserver:9981 nothing? the plugin is installed but I cannot see the gui? Quote Link to comment
Mettbrot Posted October 6, 2017 Author Share Posted October 6, 2017 You can see the status of tvheadend if you go to your unraid settings > tvheadend. Is it running? Is everything detected ok on the left side (media tree, dvb adapter, password)? 1 Quote Link to comment
mbc0 Posted October 6, 2017 Share Posted October 6, 2017 54 minutes ago, Mettbrot said: You can see the status of tvheadend if you go to your unraid settings > tvheadend. Is it running? Is everything detected ok on the left side (media tree, dvb adapter, password)? Well that was embarrassing! Thank you :-) Quote Link to comment
Mettbrot Posted October 6, 2017 Author Share Posted October 6, 2017 Glad it worked out! Let me know if it works for you after enabling everything! Quote Link to comment
mbc0 Posted October 6, 2017 Share Posted October 6, 2017 It's working (ish) I need to get the DVB Plugin working as only 1 of my 2 DVB-S2 tuners work (DVBSky) with TVHeadend and I cannot get TVHProxy Docker to even start so I have a lot of work ahead! :-D Quote Link to comment
CHBMB Posted October 6, 2017 Share Posted October 6, 2017 The issue with one tuner working is a linux kernel issue. Quote Link to comment
mbc0 Posted October 7, 2017 Share Posted October 7, 2017 12 hours ago, CHBMB said: The issue with one tuner working is a linux kernel issue. So hopefully a different build of unRAID DVB might fix it? I have a DVBSky S952 V3.0 any one got one of these cards working for both tuners? Quote Link to comment
mbc0 Posted October 9, 2017 Share Posted October 9, 2017 Hi, Can anyone tell me where I can find my superuser credentials to login please? I only have root and my normal users, none of which work? Cheers Quote Link to comment
Mettbrot Posted October 9, 2017 Author Share Posted October 9, 2017 On the settings page there is a button "advanced configuration" where you can put in your superuser credentials. You can then add additional users through the tvheadend interface. Quote Link to comment
mbc0 Posted October 9, 2017 Share Posted October 9, 2017 25 minutes ago, Mettbrot said: On the settings page there is a button "advanced configuration" where you can put in your superuser credentials. You can then add additional users through the tvheadend interface. Many Thanks but I cannot type in there? I have tried stopping the plugin as well but it's greyed out? Quote Link to comment
Mettbrot Posted October 9, 2017 Author Share Posted October 9, 2017 (edited) I guess you can only change values there if you disable tvheadend at the top. Play with disable enable a bit. I know it can be a bit tricky While you're at it: Change the data directory to your cache drive. Something like: /mnt/cache/Apps/tvheadend Edited October 9, 2017 by Mettbrot mention data directory Quote Link to comment
mbc0 Posted October 9, 2017 Share Posted October 9, 2017 That's great! thank you, I can now loging after disabling. entering details, re-enabling, I just have the issue where I don't think my dual tuner card is going to work as I can only get one tuner working :-( Quote Link to comment
Mettbrot Posted November 6, 2017 Author Share Posted November 6, 2017 Just letting you know: I have updated tvheadend to the latest stable 4.2.4-10 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.