TV Station!

Got a suggestion for future Synology products? Suggest it here!
We'll forward your idea to our RD department.

Re: TV Station!

Postby nunu » Thu Dec 08, 2011 10:07 pm

good news, i had this problem :)

viewtopic.php?f=40&t=14156&start=15

hjave you installed libc-dev ? (ipkg install libc-dev )
nunu
Novice
Novice
 
Posts: 44
Joined: Sun Dec 26, 2010 5:44 pm

Re: TV Station!

Postby 006fazer » Thu Dec 08, 2011 10:21 pm

yes :-(

Code: Select all
ipkg install libc-dev
Package libc-dev (2.5-5) installed in root is up to date.
Nothing to be done
Successfully terminated.
006fazer
Beginner
Beginner
 
Posts: 24
Joined: Sun May 09, 2010 8:28 pm

Re: TV Station!

Postby nunu » Thu Dec 08, 2011 10:26 pm

i don't remember exactly what i did ...
i had found my solution with google and/or on this forum.

But your are not too far from the final binary

i'am still searching ....
nunu
Novice
Novice
 
Posts: 44
Joined: Sun Dec 26, 2010 5:44 pm

Re: TV Station!

Postby nunu » Fri Dec 09, 2011 10:23 am

that will not solved your problem, but i have created 2 links in /lib to allow tvheadend to run :
lrwxrwxrwx 1 root root 27 Dec 5 19:47 libcrypto.so.0.9.8 -> /usr/lib/libcrypto.so.1.0.0
lrwxrwxrwx 1 root root 24 Dec 5 19:45 libssl.so.0.9.8 -> /opt/lib/libssl.so.0.9.8

any progress on pthread ?
nunu
Novice
Novice
 
Posts: 44
Joined: Sun Dec 26, 2010 5:44 pm

Re: TV Station!

Postby 006fazer » Fri Dec 09, 2011 11:13 am

Hi,

Already have this links !!!
006fazer
Beginner
Beginner
 
Posts: 24
Joined: Sun May 09, 2010 8:28 pm

Re: TV Station!

Postby mafiltenborg » Fri Dec 09, 2011 11:35 am

321liftoff wrote:Have any of you heard of NASDVR? Since there hasn't seemed to be much luck getting the Synology to work with tvheadend here or mythtv backend, maybe NASDVR would have better success? It looks to be a much simpler interface but the developer is using it on his NAS. I'm looking to get a NAS for the purpose of a PVR/DVR, so I don't own one yet. Could someone give it a try on a Synology, maybe make the necessary improvements to the project and report results?


For several reasons, I've given up on tvheadend.

Luckily a friend of mine just got himself a HDhomerun, so I'll give NASDVR a go now.
Looking at the requirements, I see that none of the prerequisites are - or seem to be - impossible to fulfill on a Syno. Yes, Adam uses a Buffalo box, but it's still an arm cpu. And since the code is plain perl relying on standard features like eg. MySql, I see no reason it shouldn't run on my box too.

So I've installed perl and is struggling to install the required add-on-packages from CPAN. Oddly, this doesn't work as expected. cpan download quickly encountered some error which scrolled off-screen and then snowballed into a dependency deadend. Doh!

Anyone willing to try have a look at installing nasdvr? For now, I'm particularly interested in experiences regarding installation of cpan package CGI. As said, mine failed miserably.

Also, the software requires Date::Calc, SOAP::Lite and XML::Twig. But that will have to wait until after CGI is properly in place.
You only live once - but if you do it right, once is enough.
mafiltenborg
Rookie
Rookie
 
Posts: 33
Joined: Sun Aug 02, 2009 8:55 pm
Location: Denmark

Re: TV Station!

Postby nunu » Fri Dec 09, 2011 1:03 pm

there some few things to do to be able to compil tvheadend. Some little tricks, that's all. 06fazer is not to far from the final result ! (i don't remember what i did) :(
nunu
Novice
Novice
 
Posts: 44
Joined: Sun Dec 26, 2010 5:44 pm

Re: TV Station!

Postby auT » Wed Dec 21, 2011 12:43 pm

The solution for pthread is rather simple, replace the toolchain lib with firmware lib:

Code: Select all
cp /opt/arm-none-linux-gnueabi/lib/libpthread-2.5.so /opt/arm-none-linux-gnueabi/lib/libpthread-2.5.so.bk

cp /lib/libpthread.so.0 /opt/arm-none-linux-gnueabi/lib/libpthread-2.5.so
auT
I'm New!
I'm New!
 
Posts: 1
Joined: Wed Dec 21, 2011 12:35 pm

Re: TV Station!

Postby nunu » Wed Dec 21, 2011 7:34 pm

ok,
thanks,

my synology DS211 is not working anymore (hardware problem), it is the reason why i haven't investiguate more ...
nunu
Novice
Novice
 
Posts: 44
Joined: Sun Dec 26, 2010 5:44 pm

Re: TV Station!

Postby 006fazer » Thu Dec 22, 2011 9:01 am

Hi,

Thanks for the solution, il will test when my first had drive will be replace !!!
006fazer
Beginner
Beginner
 
Posts: 24
Joined: Sun May 09, 2010 8:28 pm

Re: TV Station!

Postby hoontune » Fri Jan 27, 2012 12:20 pm

Hi All,

I'm a windows guy, so I've had to research this a fair bit. I can now run tvheadend in a chroot, and have hdhomerun_config running. I haven't yet got tvheadend to recognise the hdhomerun, happy to take any advice I can get

to get tvheadend running, I did the following:

--install bootstrap http://forum.synology.com/wiki/index.ph ... ,_ipkg_etc
Code: Select all
cd /volume1/@tmp
wget http://wizjos.endofinternet.net/synology/archief/syno-mvkw-bootstrap_1.2-7_arm-ds111.xsh
chmod +x syno-mvkw-bootstrap_1.2-7_arm-ds111.xsh
sh syno-mvkw-bootstrap_1.2-7_arm-ds111.xsh
reboot




then install an arm gentoo

Code: Select all
mkdir /volume1/gentoo
cd /volume1/gentoo
wget http://distfiles.gentoo.org/releases/arm/autobuilds/20120106/armv5tel-softfloat-linux-gnueabi/stage3-armv5tel-20120106.tar.bz2

tar -xjvf *.tar.bz2


start the chroot
Code: Select all
mount -t proc none /volume1/gentoo/proc
chroot /volume1/gentoo /bin/bash


I then had to change the nameservers in the Gentoo chroot
Code: Select all
nano /etc/conf.d/net

add->: dns_servers=( "192.168.1.1" )

Code: Select all
nano /etc/resolv.conf

add->: nameserver 192.168.1.1

I then had to restart the NAS
Code: Select all
exit
reboot



relaunch the chroot
Code: Select all
mount -t proc none /volume1/gentoo/proc
chroot /volume1/gentoo /bin/bash


get dependancies
Code: Select all
emerge --sync
emerge build-essential libssl-dev pkg-config avahi-daemon
emerge -av git
emerge gcc


Download tvheadend code
Code: Select all
mkdir -p /opt/tvheadend/src
git clone https://github.com/andoma/tvheadend.git /opt/tvheadend/src/
cd /opt/tvheadend/src


Compile Code
Code: Select all
env CC=/usr/armv5tel-softfloat-linux-gnueabi/gcc-bin/4.5.3/armv5tel-softfloat-linux-gnueabi-gcc \
LD=/usr/armv5tel-softfloat-linux-gnueabi/bin/ld \
RANLIB=/usr/local/arm-none-linux-gnueabi/bin/ranlib \
CFLAGS="-I/usr/include" \
LDFLAGS="-L/usr/local/arm-none-linux-gnueabi/lib" \
./configure \
--host=armle-unknown-linux \
--target=armle-unknown-linux \
--build=i686-pc-linux \
--disable-avahi \
--release \
--prefix=/opt/tvheadend

make

make install


you can then exit the chroot
Code: Select all
exit


when you want to start tvheadend
Code: Select all
chroot /volume1/gentoo /bin/bash

TVHROOT="/opt/tvheadend"
TVHNAME="tvheadend"
TVHBIN="${TVHROOT}/bin/${TVHNAME}"
TVHUSER="${TVHNAME}"

/opt/tvheadend/bin/tvheadend start -C


to stop it, hit Cntrl-C
hoontune
I'm New!
I'm New!
 
Posts: 7
Joined: Tue Nov 30, 2010 7:28 am

Re: TV Station!

Postby gangsterwagen » Fri Jan 27, 2012 2:05 pm

+1
User avatar
gangsterwagen
Versed
Versed
 
Posts: 267
Joined: Sat Jul 19, 2008 3:43 pm

Re: TV Station!

Postby GlobalAssist » Mon Jan 30, 2012 1:37 pm

This would be so cool!

Synology could offer their own USB-T/C or whatever stick.
Then driver-issues wouldn't be a problem. I would definitely buy one!

+1 for TVStation..
GlobalAssist
I'm New!
I'm New!
 
Posts: 6
Joined: Thu Dec 29, 2011 3:34 pm

Re: TV Station!

Postby nunu » Mon Jan 30, 2012 2:07 pm

their is no driver issue with sundtek.
Just need to compil the backup (the compilation works, just need some tricks).
nunu
Novice
Novice
 
Posts: 44
Joined: Sun Dec 26, 2010 5:44 pm

Re: TV Station!

Postby dnik » Sat Feb 04, 2012 11:19 am

Hi all!

Just compiled tvheadend 2.12 on my ds 211j (using gcc from optware packages) and installed xmltv modules.
IPTV works fine but xmltv.
Tvheadend finds no grabbers.
I think the problem is in spawn.c but have no experience to solve it.

Has anyone solution for xmltv on synology?
dnik
I'm New!
I'm New!
 
Posts: 1
Joined: Sat Feb 04, 2012 10:52 am

PreviousNext

Return to Feature Requests & Product Improvement Suggestions

Who is online

Users browsing this forum: No registered users and 6 guests