Sundtek Support Forum
English => Sundtek MediaTV Pro (Europe) => Drivers => Thema gestartet von: SevenW am Januar 20, 2018, 11:54:56 Vormittag
-
Hi,
After spending several evenings figuring out all kind of privelige issues in tvheadend, I finally discovered that the sundtek start-stop-status script actually creates a new user account and changes the ownership of the tvheadend installation to that new user.
This may have been needed a few years back. Currently, it looks like Dierkse has the user accounts gotten right, and now the "hack" in the Sundtek driver is not required. Stronger, it seems to break tvheadend now.
Can you update the synology package either without having this "hack", or making it conditional on a tvheadend version, or make it configurable in the package install UI?
Thanks,
SevenW
-
I experienced the same pita :)
in particular I used the latest tvheadend 4.2.5 syno packages from https://www.tvheadend.org/boards/5/topics/27780 on DSM6, and the sundtek tuner did not show up.
I switched back to the - quite outdated - synocommunity tvheadend package the sundtek tuner showed up.
-
We will have a look at that tomorrow.
-
I was able to fix the issue as follows after installing the sundtek drivers and tvheaden 4.2.5 (https://www.tvheadend.org/boards/5/topics/27780):
nano /var/packages/tvheadend/scripts/service-setup
In the service_prestart function, I prepended the start command for DSM6+ as follows:
...
if [ $SYNOPKG_DSM_VERSION_MAJOR -lt 6 ]; then
su ${EFF_USER} -s /bin/sh -c "${COMMAND}" >> ${LOG_FILE} 2>&1 &
else
LD_PRELOAD=${SYNOPKG_PKGDEST}/lib/libmediaclient.so ${COMMAND} >> ${LOG_FILE} 2>&1 &
fi
...
Prior to that I copied libmediaclient.so from /volume1/\@appstore/sundtek/opt/lib/ to /volume1/\@appstore/tvheadend/lib/
and changed permissions:
chown sc-tvheadend:tvheadend libmediaclient.so
-
We have a better solution upcoming which does not need those modifications (however it will take around a week to finish it).
-
Hi Sundtek,
I'm working on the Tvheadend Release packages at SynoCommunity here: https://github.com/SynoCommunity/spksrc/pull/3050 (https://github.com/SynoCommunity/spksrc/pull/3050) In order to make them DSM5+6 compatible the scripts had to be reworked significantly. I have been publishing test packages here: https://github.com/m4tt075/spksrc/releases/tag/Tvheadend-4.2.5 (https://github.com/m4tt075/spksrc/releases/tag/Tvheadend-4.2.5)
I have been thinking about including the pre-load command for the Sundtek driver in those package script directly. However, from your last comment I'm not sure this still makes sense. Please let me know what you want to do. I'm fine either way as long as we can avoid sed'ing scripts. Thanks.
-
Hi,
since TVHeadend supports network based tuners we will add support for that to our streamingserver.
Which means you will have to install our driver + our streamingserver and tvheadend will autodetect our device.
The streamingserver has a very small footprint (below 1 MB).
It's a generic solution for our devices and tvheadend.
The preloading mechanism would be fine for tvheadend, but the mentioned approach will also work with Android!
There's a workaround in the driver setup for fixing some tvheadend packaging issues (I'm not aware that they will really break something - it's just easy to mess up the tvheadend installations with incompatible configurations or wrong permissions - that happened with some dierkse packages (not all of them))
-
Thanks for your response. Great idea. That approach is way better, indeed. I will keep the pre-load method out of the scripts, then.
I'm very aware of the permission issues you are mentioning. That is exactly why the scripts had to be changed. I just wanted to ensure that the packages will work well together eventually. From what you write, that will be the case. All well, then. Cheers!
-
@Sundtek
I just had another Sundtek owner reporting the same issue. Have you implemented the new method you have outlined above in the meantime? If not, do you still want to do it?
-
It's partly implemented.
We're just finishing our multi-tuners and will complete it afterwards.
Sorry for the long delay the multi-tuners weren't that easy for us to develop (we're just finalising the circuitboards now and continue with the streaming-server which can be used with tvheadend).
Current schedule for the streaming-server update is within July 2018
-
what to do now?
upgraded to 4.2.6-13
and my adapters no more available for tvh
>:(
-
Ein Fehler ist aufgetreten!
Das Upload-Verzeichnis ist voll. Bitte versuchen Sie es mit einer kleineren Datei oder kontaktieren Sie den Administrator.
20 kB...
-
@ewisun : There is a workaround here (bottom of the page):
http://tvheadend.org/boards/5/topics/27780?page=8
-
@m4tt075 :
thank you :)
but I have seen this too late, all installed new with different versions and lost all configs...
this bug has cost me nearly a weekend of working :(
now I have 4.2.6. again
but
no more
3SAT, DasErste and more ???
why or how to find this?
and
I believed that I am able to recover old recordings...
how to?
thx :)
-
https://www.lyngsat.com/Astra-1KR-1L-1M-1N.html
check for the missing stations and enter the transponder information in the TVHeadend scanlist.