Media & File Server Bundle for the Foxsat HDR - Release 4,0 - PART 3

Status
Not open for further replies.
Looks like I may have found the answer to both of my problems (corrupt recordings and missed recordings). It seems that one if the satellite inputs was not connected properly. I got the clue when trying to change channel and getting a "no signal" error (I was recording the channel). I have to say that I find the push-and-twist connectors on satellite cables a bit frustrating - they just don't feel robust enough, and are prone to unravelling if the cable is accidentally pulled on stepped on.
 
grahamlthompson said:
Channels added as non-freesat have arbitary numbers depending on the order you add them, so anyone else having the same numbers will be down to coincidence. You can change the channel numbers at will.

Manually scan

10936 V DVB-S2 QPSK 23000 8/9 to add STV-HD. There's a blank entry at the end of the transponder list to add your own.

cool will try this in the morning. I did a manual scan on all channels earlier tonight and it didn't find STV HD. is it because the above transponder uses different settings from manual scan default of 22K etc?
 
Fix for percentage being wrong on web ui:
Code:
--- diskspace.jim.old   2012-10-26 23:35:23.818137140 +0100
+++ diskspace.jim       2012-10-26 23:57:53.492076486 +0100
@@ -5,7 +5,14 @@
        set fields [split $line]
        set ::size [lindex $fields 1]
        set ::used [lindex $fields 2]
-       set ::perc [string trimright [lindex $fields 4] "%"]
+}
+
+proc extract2 {line} {
+       regsub -all -- {[[:space:]]+} $line " " line
+       set fields [split $line]
+       set size [lindex $fields 1]
+       set used [lindex $fields 2]
+       set ::perc [format %.1f [expr {100.0*$used/$size}]]
 }

 set used 0
@@ -21,8 +28,17 @@
                extract $df
        }
 }
+foreach df [split [exec df 2>>/dev/null] "\n\r"] {
+       if {[string match *hd?3* $df]} {
+               extract2 $df
+               break;
+       }
+       if {[string match *media/drive? $df]} {
+               extract2 $df
+       }
+}

-set file [format "%02d" [expr {$perc * 25 / 100 + 1}]]
+set file [format "%02.0f" [expr {$perc * 25 / 100 + 1}]]

 set prefix 345_2_14_ST_HDD
 

Attachments

  • diskspace.zip
    669 bytes · Views: 82
cool will try this in the morning. I did a manual scan on all channels earlier tonight and it didn't find STV HD. is it because the above transponder uses different settings from manual scan default of 22K etc?

It's because the transponder isn't in the database. It will be when STV-HD finally makes it on to the Freesat epg.
 
dezborders,

You'll need to use the channel editor to show the channel called "3855" when you are in freesat mode. You can also re-name the channel to be called STV HD at the same time.

Jono
 
Jono8800 said:
dezborders,

You'll need to use the channel editor to show the channel called "3855" when you are in freesat mode. You can also re-name the channel to be called STV HD at the same time.

Jono

thanks m8 channel now added manually and changed to "freesat" mode using web interface channel editor. :)
 
Looks like I may have found the answer to both of my problems (corrupt recordings and missed recordings). It seems that one if the satellite inputs was not connected properly. I got the clue when trying to change channel and getting a "no signal" error (I was recording the channel). I have to say that I find the push-and-twist connectors on satellite cables a bit frustrating - they just don't feel robust enough, and are prone to unravelling if the cable is accidentally pulled on stepped on.

Wrong size f connectors for the cable. With the correct size they are near impossible to pull off, you have to unscrew them. At a guess you have WF60 shotgun cable and someones fitted WF100 f connectors. Screwfix list the smaller ones as Sky type.
 
how are people using this with a raspberry pi?

do you need the codecs first?
 
Most use XBMC with the raspberry Pi, but You need to buy the MPEG 2 licence for some things, though for the Foxsat HDR, you shouldn't need them.
I use a linux laptop with XBMC, and it streams from the HDR no problems. This is essentially the same as a Raspberry Pi set up, just loads more ram.
Been thinking of getting one myself, but finding it hard to justify.
 
i cant get hd files from the foxsat to play, but i dont know if it's the file fomat .ts. or if its a case of needing the codecs, i was under the impression that i wouldn't need them for HD content, but not sure why...
 
i cant get hd files from the foxsat to play, but i dont know if it's the file fomat .ts. or if its a case of needing the codecs, i was under the impression that i wouldn't need them for HD content, but not sure why...
All HD content is encrypted unless it was recorded in non-freesat mode.
 
I have used the media bundle for some time but have recently tried to record series from CBBC (600) and PopGirl (604) both of which always fail to record.

I have tried to set the programmes to record by the remote and the web interface.

They fail to record and if I look at the schedule using the remote or the web interface the programmes are set to record but always for 19th January 2038 starting at 03:14 for 1 second?

Other channels I record from I do not get this problem i.e. BBC1,2,3,4, HD, One HD ITV1, ITV 1 HD, Ch4, Ch5.

I do not know if any other channels are affected as they may be ones I never normally record.

Any ideas?
 
ignore me senior moment - lost contact with box but I see Mongoose has crashed. How often does the restart package check ?

EDIT restarted Mongoose and back in. One question should inadyn be running ? Tried to start it without success.
 
Last edited:
ignore me senior moment - lost contact with box but I see Mongoose has crashed. How often does the restart package check ?

EDIT restarted Mongoose and back in. One question should inadyn be running ? Tried to start it without success.
Your first question (mobgoose) every 60 secs.

inadyn will crash if it is not configured - do you access from the internet to a dynamic ip?
 
Your first question (mobgoose) every 60 secs.

inadyn will crash if it is not configured - do you access from the internet to a dynamic ip?

It was offline for a lot longer than 60 seconds. Yes to last question. It worked fine last time I tested it. Off to play somemore. :D

edit - I can login remotely.

Output of telnet service command

Foxsat-HDR~# service

Name Installed Autostart Running
---- --------- --------- -------
telnet Yes Yes Yes
dropbear No No No
tinyftp Yes Yes Yes
vsftpd No No No
samba Yes Yes Yes
mediatomb Yes Yes Yes
twonkymedia Yes Yes Yes
mongoose Yes Yes No
inadyn Yes Yes No

Syntax:
service start <service>
service stop <service>
service toggle <service> (toggles service state)
service auto <service> (toggles autostart)

Foxsat-HDR~#
Foxsat-HDR~#

Stop Press it's gone again.
 
Last edited:
mongoose restart -Think you should find a log on /tmp.

Fixfilenames, Inadyn and Pushmail. Confused I can't find any reference to the mongoose restart routine. I definitely installed but can't remember how :confused:

How come I can login using the remote access url without inadyn running ?. Locally that is.
 
Going blind, found it and it's installed. It didn't restart mongoose though. If I stop it manually should it restart in 60 seconds ?
 
Going blind, found it and it's installed. It didn't restart mongoose though. If I stop it manually should it restart in 60 seconds ?
Yes it shpuld.
If not take a look in /etc with telnet should be a config file there.

cd /tmp
ls -l
cat whatevericalledit
 
Yes it shpuld.
If not take a look in /etc with telnet should be a config file there.

cd /tmp
ls -l
cat whatevericalledit

No restart after 5 minutes. Bit lost after this. Does this help

Foxsat-HDR~#
Foxsat-HDR~# cd tmp
Foxsat-HDR/tmp#
Foxsat-HDR/tmp# ls -l
total 112
-rw-r--r-- 1 root root 696 Oct 29 14:51 brlock.tdb
-rw-r--r-- 1 root root 226 Oct 29 15:37 browse.dat
-rw-r--r-- 1 root root 8192 Oct 29 14:52 connections.tdb
-rw-r--r-- 1 root root 43 Oct 29 11:59 hosts
-rw-r--r-- 1 root root 0 Oct 29 14:41 hotstart
-rw-r--r-- 1 root root 0 Oct 29 11:59 if-up
-rw-r--r-- 1 root root 10 Oct 29 11:59 ifstate
-rw-r--r-- 1 root root 696 Oct 29 14:51 locking.tdb
-rw-r--r-- 1 root root 684 Oct 29 12:05 log.nmbd
-rw-r--r-- 1 root root 666 Oct 29 14:51 log.smbd
-rw-r--r-- 1 root root 3 Oct 29 11:59 mediatomb.pid
-rw------- 1 root root 696 Oct 29 11:59 messages.tdb
-rw-r--r-- 1 root root 20 Oct 29 11:59 nmbd.pid
-rw------- 1 root root 8192 Oct 29 14:51 ntdrivers.tdb
-rw------- 1 root root 696 Oct 29 14:51 ntforms.tdb
-rw------- 1 root root 8192 Oct 29 14:51 ntprinters.tdb
-rw------- 1 root root 8192 Oct 29 14:51 printing.tdb
-rw-r--r-- 1 root root 50 Oct 29 11:59 resolv.conf
-rw------- 1 root root 8192 Oct 29 14:51 share_info.tdb
-rw-r--r-- 1 root root 20 Oct 29 11:59 smbd.pid
-rw-r--r-- 1 root root 4 Oct 29 11:59 twonky.pid
-rw-r--r-- 1 root root 4 Oct 29 11:59 udhcpc.eth0.pid
-rw-r--r-- 1 root root 207 Oct 29 11:59 udhcpc.log
-rw-r--r-- 1 root root 8192 Oct 29 15:46 unexpected.tdb

Foxsat-HDR/tmp# cd /
Foxsat-HDR~#
Foxsat-HDR~# cd etc
Foxsat-HDR/etc#
Foxsat-HDR/etc# ls -l
total 31
-rw------- 1 root root 5 Mar 10 2008 TZ
drwxr-xr-x 2 root root 32 Mar 10 2008 default
-rw------- 1 root root 598 Mar 10 2008 fstab
-rw------- 1 root root 181 Mar 10 2008 group
-rw------- 1 root root 9 Mar 10 2008 hostname
lrwxrwxrwx 1 root root 12 Aug 14 12:52 hosts -> ../tmp/hosts
drwxrwxr-x 2 root root 152 Oct 14 12:30 init.d
-rw------- 1 root root 612 Aug 27 20:23 inittab
-rw------- 1 root root 1180 Jul 27 02:06 inputrc
-rw------- 1 root root 27 Mar 10 2008 issue
drwxr-xr-x 2 root root 28 Dec 16 2011 mdev
-rw------- 1 root root 205 Apr 1 2012 mdev.conf
-rwxrw-rw- 1 1000 default 6 Aug 29 14:34 modversion
lrwxrwxrwx 1 root root 14 Aug 14 12:52 mtab -> ../proc/mounts
drwxrwxr-x 6 root root 100 Jul 27 02:24 network
drwxr-xr-x 2 root root 26 Aug 26 2011 opkg
lrwxrwxrwx 1 root root 15 Aug 14 12:52 passwd -> /opt/etc/pass
wd
-rw-r--r-- 1 root root 505 Mar 20 2011 passwd.txt
-rw------- 1 root root 452 Aug 29 11:28 profile
-rw------- 1 root root 1191 Jul 27 02:06 protocols
-rw------- 1 root root 512 Mar 10 2008 random-seed
lrwxrwxrwx 1 root root 18 Aug 14 12:52 resolv.conf -> ../tmp/r
esolv.conf
-rw------- 1 root root 64 Mar 10 2008 securetty
-rw------- 1 root root 10873 Jul 27 02:06 services
lrwxrwxrwx 1 root root 15 Aug 14 12:52 shadow -> /opt/etc/shad
ow
-rw-rw-rw- 1 root root 451 Mar 18 2011 shadow.txt
-rw------- 1 root root 0 Mar 10 2008 sysctl.conf
Foxsat-HDR/etc#
Foxsat-HDR/etc#
 
Yes it shpuld.
If not take a look in /etc with telnet should be a config file there.

cd /tmp
ls -l
cat whatevericalledit
:confused: There's no config file. Restart check is fixed at 60 seconds.
Graham, if you don't have /tmp/servermon.log it looks like your servermon script is not running.
Try entering "ps | grep 60"
You should see a line like this if it's running
1257 root 0:00 sleep 60
If you don't see it enter "/opt/etc/init.d/S64servermon.sh" to restart (or reboot either)
If that doesn't work then remove and re-install the servermon package.
 
Last edited:
Spotted the problem - I think the package will need updating. Will get back to you.

Thanks I take it that I can ignore other post :D Thinking about it, it's the first time I have had mongoose stop since installing the package.
 
Status
Not open for further replies.

The latest video from AVForums

TV Buying Guide - Which TV Is Best For You?
Subscribe to our YouTube channel
Back
Top Bottom