Moderator Control Panel ]

New TVHeadend version: 4.0.8

New TVHeadend version: 4.0.8

Postby costan » Tue Jan 05, 2016 1:42 am

NEW VERSION: 4.0.8

Instruction almost the same as the other thread viewtopic.php?f=164&t=9352 (just replace -new with -4.0.8).

Pointer:

http://www.costan.org/moiplus/README-4.0.8.txt

Indeed I had no chance to test it, so use at YOUR OWN RISK.

Let me know if it works, anyway :)

EDIT: I tested it, it seems to work, probably better than 4.0.6. Still use at your risk. :)
costan
 
Posts: 66
Joined: Sat Feb 21, 2015 8:30 am

Re: New TVHeadend version: 4.0.8

Postby coldi » Wed Jan 06, 2016 9:19 am

hmm..

i'm doing something wrong... only the original and the tvheadend-new versions are working for me..

the others (4.0.6 and 4.0.8) just dont start.. they only seem to start when i launch them manually from shell..

when i start it from "/usr/bin/runtvheadend.sh start" it works just fine.. i cant get it to start from the webinterface :( when i revert it back to the original version it works just fine...

maybe some permission issues, as is run it as root from the shell? can someone help me?
coldi
 
Posts: 6
Joined: Fri Sep 04, 2015 4:20 am

Re: New TVHeadend version: 4.0.8

Postby coldi » Thu Jan 07, 2016 3:43 am

got it to work...
coldi
 
Posts: 6
Joined: Fri Sep 04, 2015 4:20 am

Re: New TVHeadend version: 4.0.8

Postby ForumFan » Thu Jan 07, 2016 6:45 am

coldi Wrote:got it to work...


What cause this situation ?
ForumFan
 
Posts: 28
Joined: Tue Nov 17, 2015 2:42 am

Re: New TVHeadend version: 4.0.8

Postby coldi » Fri Jan 08, 2016 12:46 am

i figured out that it was simply a problem by the startup script and my safari browser, which does not show properly the configuration page.


/etc/init.d/S99TVServer
Code: Select All Code
#!/bin/sh

. /etc/sysconfig

case "$1" in
  start)
   echo "Starting tvserver..."
   /usr/local/bin/lcd.sh > /dev/null 2>&1  &
   if [ $DVBAPI = "yes" ]; then
      /usr/local/bin/oscam  > /dev/null 2>&1 &
   fi
   
   if [ $TVSERVER = "no" ]; then
      if [ $VDR = "yes" ]; then
         sleep 15
         /usr/bin/initstartdvblast.sh &
      fi
   else

      if [ $VDR = "yes" ]; then
         sleep 18
         /usr/bin/runvdr.sh start
      else
         sleep 18
         /usr/bin/runtvheadend.sh start
      fi
   fi
   ;;
  stop)
   echo -n "Stopping tvserver..."
   if [ $VDR = "yes" ]; then
       /usr/bin/runvdr.sh stop
         killall -9 runvdr.sh vdr vdradmind
   else
       /usr/bin/tvheadend.sh stop
       killall -9 tvheadend.sh tvheadend
   fi
   ;;
  restart|reload)
   "$0" stop
   "$0" start
   ;;
  *)
   echo "Usage: $0 {start|stop|restart}"
   exit 1
esac

exit $?


requests the DVBAPI setting from /etc/sysconfig

Code: Select All Code
TZ="Europe/Vienna"
LC_ALL="de_DE.UTF-8"
INADYN="no"
PLUGINLIST="dvbapi xvdr streamdev-server vnsiserver4"
VDR_CHARSET_OVERRIDE=
DVBAPI="yes"
VDR="no"
TVSERVER="yes"
UseAdapter=0
WIFI="no"


i just changed the DVBAPI to yes.. and since my epg does not work fine, i'm trying around with the TZ settings atm..

now everything seems to run rly fine.. but i'm running into another problem.
after some time (about 2-3 months) the root partition gets out of space..

is there any way to show whats causing this? i think its the epg or something similar...
Code: Select All Code
[root@moi bin]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root               515072    442020     73052  86% /
tmpfs                   515992         0    515992   0% /dev/shm
tmpfs                   515992        16    515976   0% /tmp
/dev/sda1             31250032     21456  31228576   0% /mnt/sda1


that is what is looks right now... maybe i could remove unused binaries such as vdr?

has nobody run into the same problems?
coldi
 
Posts: 6
Joined: Fri Sep 04, 2015 4:20 am

Re: New TVHeadend version: 4.0.8

Postby costan » Sat Jan 09, 2016 1:40 am

coldi Wrote:i figured out that it was simply a problem by the startup script and my safari browser, which does not show properly the configuration page.


/etc/init.d/S99TVServer
Code: Select All Code
#!/bin/sh

. /etc/sysconfig

case "$1" in
  start)
   echo "Starting tvserver..."
   /usr/local/bin/lcd.sh > /dev/null 2>&1  &
   if [ $DVBAPI = "yes" ]; then
      /usr/local/bin/oscam  > /dev/null 2>&1 &
   fi
   
   if [ $TVSERVER = "no" ]; then
      if [ $VDR = "yes" ]; then
         sleep 15
         /usr/bin/initstartdvblast.sh &
      fi
   else

      if [ $VDR = "yes" ]; then
         sleep 18
         /usr/bin/runvdr.sh start
      else
         sleep 18
         /usr/bin/runtvheadend.sh start
      fi
   fi
   ;;
  stop)
   echo -n "Stopping tvserver..."
   if [ $VDR = "yes" ]; then
       /usr/bin/runvdr.sh stop
         killall -9 runvdr.sh vdr vdradmind
   else
       /usr/bin/tvheadend.sh stop
       killall -9 tvheadend.sh tvheadend
   fi
   ;;
  restart|reload)
   "$0" stop
   "$0" start
   ;;
  *)
   echo "Usage: $0 {start|stop|restart}"
   exit 1
esac

exit $?


requests the DVBAPI setting from /etc/sysconfig

Code: Select All Code
TZ="Europe/Vienna"
LC_ALL="de_DE.UTF-8"
INADYN="no"
PLUGINLIST="dvbapi xvdr streamdev-server vnsiserver4"
VDR_CHARSET_OVERRIDE=
DVBAPI="yes"
VDR="no"
TVSERVER="yes"
UseAdapter=0
WIFI="no"


i just changed the DVBAPI to yes.. and since my epg does not work fine, i'm trying around with the TZ settings atm..

now everything seems to run rly fine.. but i'm running into another problem.
after some time (about 2-3 months) the root partition gets out of space..

is there any way to show whats causing this? i think its the epg or something similar...
Code: Select All Code
[root@moi bin]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root               515072    442020     73052  86% /
tmpfs                   515992         0    515992   0% /dev/shm
tmpfs                   515992        16    515976   0% /tmp
/dev/sda1             31250032     21456  31228576   0% /mnt/sda1


that is what is looks right now... maybe i could remove unused binaries such as vdr?

has nobody run into the same problems?



Please keep no more than two versions on the device, you can install them whenever you want, provided you move the symlinks correctly.

I have a small EPG (XMLTV for Italy), but I saw that a week worth of EPG is a 20-25Mb XML file, so it should not exceed the available space if you have 100M available. Of course if you have 1000 channels, instead of 100, it could exceed the space available. Anyway the epg DB is a lot smaller, so I think it depends on the way it gets populated.

Anyway, try to perform a

du -sk *
time to time on the root directory, just to see where's growing.
costan
 
Posts: 66
Joined: Sat Feb 21, 2015 8:30 am

Re: New TVHeadend version: 4.0.8

Postby coldi » Mon Jan 11, 2016 3:16 am

i had always just installed 1 or max. 2 versions of tvheadend..
even then, i ran out of space after some weeks..
i have 4 satellite positions, and in my list there are about 130 channels...

is there xmltv available for austria/germany?
at the moment i am using EIT grabber...

greets
coldi
 
Posts: 6
Joined: Fri Sep 04, 2015 4:20 am

Re: New TVHeadend version: 4.0.8

Postby costan » Mon Jan 11, 2016 9:12 pm

coldi Wrote:i had always just installed 1 or max. 2 versions of tvheadend..
even then, i ran out of space after some weeks..
i have 4 satellite positions, and in my list there are about 130 channels...

is there xmltv available for austria/germany?
at the moment i am using EIT grabber...

greets


Use du -sk to find where's growing, as per my previous post.

For XMLTV, it seems to be available as per http://wiki.xmltv.org/index.php/XmltvWorldDomination

The quick and dirty way I found to use it on the MOI+ is to use a simple shell script to grab the XML already cooked somewhere else (a fully fledged Linux box or Linux VM) where a real XMLTV perl implementation is available.

If you want I can provide you the MOI+ script, where to host the real XMLTV Perl implementation is up to you.
costan
 
Posts: 66
Joined: Sat Feb 21, 2015 8:30 am

Re: New TVHeadend version: 4.0.8

Postby kerlo » Tue Jan 19, 2016 3:39 am

Hello,
Many thanks for your work
i've installed your version and it's woriking fine

but i've a but with my grabber in this version
https://tvheadend.org/issues/3283
so have you plan to make 4.1 binary ?

it's not very important but if you've a test version ...

Many thanks in all cases
kerlo
 
Posts: 6
Joined: Wed May 27, 2015 2:05 pm

Re: New TVHeadend version: 4.0.8

Postby costan » Tue Jan 19, 2016 5:51 am

kerlo Wrote:Hello,
Many thanks for your work
i've installed your version and it's woriking fine

but i've a but with my grabber in this version
https://tvheadend.org/issues/3283
so have you plan to make 4.1 binary ?

it's not very important but if you've a test version ...

Many thanks in all cases



I fully understand tour concern.

I'll try to build a good 4.1 version just for these kind of things, but the 4.1 is unstable (per se, it's not a MOI issue).

I think I need to release the build env so everyone could build the preferred binary release.

Allow me couple of days, I'll post the link here. You'll be the beta tester :)



By the way, I believe Steven posted the TBS official 4.1 version last month.. Have a check here:

viewtopic.php?f=164&t=9594

Ciao
costan
 
Posts: 66
Joined: Sat Feb 21, 2015 8:30 am

Next

Return to MOI+

Who is online

Users browsing this forum: No registered users and 1 guest