Autor Thema: Can't Switch from DVB-C to DVB-T  (Gelesen 5512 mal)

fullcorn

  • Newbie
  • *
  • Beiträge: 10
    • Profil anzeigen
Can't Switch from DVB-C to DVB-T
« am: Oktober 16, 2012, 11:43:08 Nachmittag »
Hey there again, after having had some trouble free time with the MediaTV Stick and DVB-C I now moved to a new place, where I have to use DVB-T.

The Computer runs Ubuntu 12.04 and TVheadend.

I tried to switch the device to DVB-T with:

/opt/bin/mediaclient --setdtvmode=DVBT

and

/opt/bin/mediaclient -D DVBT

both with the same result:

Using device: /dev/dvb/adapter0/frontend0
Setting Frontend Properties to: DVBT
Done.

However, in the drop down menu of TVheadend (Configuration/TV Adapters) the stick still shows up as DVB-C, also I can't search for DVB-T channels.

Rebooting doesn't help either.

Has anyone an idea, what it is that I'm doing wrong?

Any help and hint is greatly appreciated!

-peter

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8514
    • Profil anzeigen
Re:Can't Switch from DVB-C to DVB-T
« Antwort #1 am: Oktober 16, 2012, 11:45:01 Nachmittag »
You need to delete the old adapter in tvheadend.

If you want the dongle to start up in DVB-T mode you need to add this to the configuration file in /etc/sundtek.conf

1. /opt/bin/mediaclient -e shows up the serialnumber of the device
2. add some configuration to /etc/sundtek.conf
Zitat
[serial]
initial_dvb_mode=DVBT
eg.
**** List of Media Hardware Devices ****
device 0: [Sundtek MediaTV Digital Home (USB 2.0)]  DVB-C, DVB-T, REMOTE-CONTROL
  [SERIAL]:
     ID: U1234567890
  [DVB-C]:
     FRONTEND: /dev/dvb/adapter0/frontend0
     DVR: /dev/dvb/adapter0/dvr0
     DMX: /dev/dvb/adapter0/demux0
  [DVB-T]:
     FRONTEND: /dev/dvb/adapter0/frontend0
     DVR: /dev/dvb/adapter0/dvr0
     DMX: /dev/dvb/adapter0/demux0
  [REMOTECONTROL]:
     INPUT0: /dev/mediainput0

/etc/sundtek.conf:
[U1234567890]
initial_dvb_mode=DVBT
« Letzte Änderung: Oktober 16, 2012, 11:56:15 Nachmittag von Sundtek »
Failure is a good thing! I'll fix it

fullcorn

  • Newbie
  • *
  • Beiträge: 10
    • Profil anzeigen
Re:Can't Switch from DVB-C to DVB-T
« Antwort #2 am: Oktober 17, 2012, 11:01:44 Vormittag »
Thank you very much, that did the trick!

Live TV works now just fine in XBMC and if I open a stream directly with vlc (http://192.168.0.102:9981/stream/ts-channelid/1) but I still don't get video using the web interface. All that shows up is the icon of vlc and the console of tvheadend puts out the following:

Oct 17 10:59:36 HTTP: 192.168.0.10: /stream/channelid/1 -- 401
Oct 17 10:59:36 HTTP: 192.168.0.10: /stream/channelid/1 -- 401

I tried it on a remote computer and the host itself, always the same output in the console but no stream.

Man, so close! Any ideas??

-Peter

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8514
    • Profil anzeigen
Re:Can't Switch from DVB-C to DVB-T
« Antwort #3 am: Oktober 17, 2012, 11:26:13 Vormittag »
401 stands for authorization, right. If it's a problem, you can still disable it by removing the password on the TVHeadend Access control tab.
But remember then that everyone can connect to your server port, particularly if you forward the port on your router.
Failure is a good thing! I'll fix it