[mythtv-users] VU+ HDTV Receiver as IPTV Tuner

Daniel Di Giacomo lists at dadigi.com
Sun Aug 18 13:21:05 UTC 2019


Thank you Stephen for your elaborate reply.


On Sun, 18 Aug 2019 04:17 +0200 (GMT+02:00), you wrote:

> Here is what some what my initial
> playlist.m3u file looks like:
> 
> #EXTM3U
> 
> #EXTINF:0,4015 - MTV
> #EXTMYTHTV:xmltvid=mtv.sky.co.nz
> #EXTVLCOPT:program=1039
> rtsp://satip.jsw.gen.nz:554/?src=1&freq=12707&msys=dvbs&plts=off&fec=34&pol=h&ro=0.35&sr=22500&mtype=qpsk&pids=0,1039,1003,1103,1903
> 
After I found out, that the VU+-interface has added a blank after
#EXTM3U, I finally managed a successful channel scan. ;)
The test-file looks like this:

#EXTM3U

#EXTINF:0,40 - 13th Street
#EXTVLCOPT:program=1042
http://vuplusip:8001/1:0:1:412:4:85:FFFF0000:0:0:0:
#EXTINF:0,3 - 3sat HD
#EXTVLCOPT:program=41101
http://vuplusip:8001/1:0:19:A08D:19B:270F:FFFF0000:0:0:0:
#EXTINF:0,70 - Al Jazeera International
#EXTVLCOPT:program=20112
http://vuplusip:8001/1:0:1:4E90:10F:270F:FFFF0000:0:0:0:

(Tthose URLs do actually work with VLC)

I have setup an IPTV-Tuner whith file:///local/path/services.m3u
and a video-source whith no grabber and else default-settings.
I have connected both to and did the successful channel-scan.
The three channels were detected without errors.

But wen I start LiveTV and switch to the newly defined tuner it
immediately exits LiveTV and produces a bunch of strange SQL-errors and
a permission denied to ts-file in the backend (v.29.1):

ug 18 14:41:15 homer mythbackend: mythbackend[10958]: I TVRecEvent
tv_rec.cpp:1090 (HandleStateChange) TVRec[140]: Changing from None to
WatchingLiveTV
Aug 18 14:41:15 homer mythbackend: mythbackend[10958]: I TVRecEvent
tv_rec.cpp:3665 (TuningFrequency) TVRec[140]: TuningFrequency
Aug 18 14:41:15 homer mythbackend: mythbackend[10958]: I TVRecEvent
channelutil.cpp:2001 (GetIPTVTuningData) Loaded
[data]http://vuplusip:8001/1:0:1:412:4:85:FFFF0000:0:0:0:[fectype][fec0][fec1]
for 110040
Aug 18 14:41:15 homer mythbackend: mythbackend[10958]: N CoreContext
autoexpire.cpp:251 (CalcParams) AutoExpire: CalcParams(): Max required
Free Space: 6.0 GB w/freq: 14 min
Aug 18 14:41:15 homer mythbackend: mythbackend[10958]: W TVRecEvent
programinfo.cpp:5614 (LoadFromProgram) LoadFromProgram(): SQL contains
LIMIT clause, caller should be updated to use limit parameter instead
Aug 18 14:41:15 homer mythbackend: mythbackend[10958]: E TVRecEvent
mythdb.cpp:183 (DBError) DB Error (LoadByTemplate):#012Query
was:#012SELECT recordid, category,        (category = ?) AS catmatch,
     (category = ?) AS typematch FROM record WHERE type = ? AND
(category = ? OR category = ?        OR category = 'Default') ORDER BY
catmatch DESC, typematch DESC#012Bindings were:#012:CAT1="", :CAT2="",
:CATTYPE1="", :CATTYPE2="", :TEMPLATE=11#012Driver error was
[2/2013]:#012QMYSQL3: Unable to reset statement#012Database error
was:#012Lost connection to MySQL server during query
Aug 18 14:41:15 homer mythbackend: mythbackend[10958]: E TVRecEvent
mythdbcon.cpp:873 (prepare) Error preparing query: SELECT name FROM
playgroup WHERE name = :TITLE1 OR       name = :CATEGORY OR
(titlematch <> '' AND        :TITLE2 REGEXP titlematch)
Aug 18 14:41:15 homer mythbackend: mythbackend[10958]: E TVRecEvent
mythdbcon.cpp:875 (prepare) Driver error was [2/2006]:#012QMYSQL3:
Unable to prepare statement#012Database error was:#012MySQL server has
gone away
Aug 18 14:41:15 homer mythbackend: mythbackend[10958]: I TVRecEvent
mythdbcon.cpp:647 (exec) MySQL server disconnected
Aug 18 14:41:15 homer mythbackend: mythbackend[10958]: E TVRecEvent
mythdb.cpp:183 (DBError) DB Error (GetInitialName):#012Query
was:#012SELECT name FROM playgroup WHERE name = ? OR       name = ? OR
     (titlematch <> '' AND        ? REGEXP titlematch) #012Bindings
were:#012:CATEGORY=NULL, :TITLE1="Unknown", :TITLE2="Unknown"#012Driver
error was [2/2006]:#012QMYSQL3: Unable to prepare statement#012Database
error was:#012MySQL server has gone away
Aug 18 14:41:15 homer mythbackend: mythbackend[10958]: E TVRecEvent
mythdbcon.cpp:238 (OpenDatabase) [DBManager12] Unable to connect to
database!
Aug 18 14:41:15 homer mythbackend: mythbackend[10958]: E TVRecEvent
mythdbcon.cpp:239 (OpenDatabase) Driver error was [1/2003]:#012QMYSQL:
Unable to connect#012Database error was:#012Can't connect to MySQL
server on 'homer-mariadb' (111)
Aug 18 14:41:15 homer mythbackend: mythbackend[10958]: I TVRecEvent
mythdbcon.cpp:851 (prepare) MySQL server disconnected
Aug 18 14:41:15 homer mythbackend: mythbackend[10958]: I TVRecEvent
mythdbcon.cpp:647 (exec) MySQL server disconnected
Aug 18 14:41:15 homer mythbackend: mythbackend[10958]: E TVRecEvent
mythdb.cpp:183 (DBError) DB Error (RecGroup update):#012Query
was:#012#012No error type from QSqlError?  Strange...
Aug 18 14:41:15 homer mythbackend: mythbackend[10958]: E TVRecEvent
mythdbcon.cpp:238 (OpenDatabase) [DBManager12] Unable to connect to
database!
Aug 18 14:41:15 homer mythbackend: mythbackend[10958]: E TVRecEvent
mythdbcon.cpp:239 (OpenDatabase) Driver error was [1/2003]:#012QMYSQL:
Unable to connect#012Database error was:#012Can't connect to MySQL
server on 'homer-mariadb' (111)
Aug 18 14:41:15 homer mythbackend: mythbackend[10958]: I TVRecEvent
mythdbcon.cpp:737 (exec) MySQL server disconnected
Aug 18 14:41:15 homer mythbackend: mythbackend[10958]: E TVRecEvent
mythdb.cpp:183 (DBError) DB Error (InsertProgram -- lock):#012Query
was:#012#012No error type from QSqlError?  Strange...
Aug 18 14:41:15 homer mythbackend: mythbackend[10958]: E TVRecEvent
mythdbcon.cpp:238 (OpenDatabase) [DBManager12] Unable to connect to
database!
Aug 18 14:41:15 homer mythbackend: mythbackend[10958]: E TVRecEvent
mythdbcon.cpp:239 (OpenDatabase) Driver error was [1/2003]:#012QMYSQL:
Unable to connect#012Database error was:#012Can't connect to MySQL
server on 'homer-mariadb' (111)
Aug 18 14:41:15 homer mythbackend: mythbackend[10958]: I TVRecEvent
mythdbcon.cpp:851 (prepare) MySQL server disconnected
Aug 18 14:41:15 homer mythbackend: mythbackend[10958]: I TVRecEvent
mythdbcon.cpp:647 (exec) MySQL server disconnected

...

Aug 18 14:41:16 homer mythbackend: mythbackend[10958]: E TVRecEvent
mythdb.cpp:183 (DBError) DB Error (InsertProgram -- lock):#012Query
was:#012#012No error type from QSqlError?  Strange...
Aug 18 14:41:16 homer mythbackend: mythbackend[10958]: E TVRecEvent
recordinginfo.cpp:936 (StartedRecording) Couldn't insert program
Aug 18 14:41:16 homer mythbackend: mythbackend[10958]: E TVRecEvent
threadedfilewriter.cpp:129 (Open) TFW(110040_20190818124205.ts:-1):
Opening file '110040_20190818124205.ts'.#012#011#011#011eno: Permission
denied (13)
Aug 18 14:41:16 homer mythbackend: mythbackend[10958]: E TVRecEvent
tv_rec.cpp:4612 (GetProgramRingBufferForLiveTV) TVRec[140]: RingBuffer
'110040_20190818124205.ts' not open...
Aug 18 14:41:16 homer mythbackend: mythbackend[10958]: E TVRecEvent
tv_rec.cpp:4648 (CreateLiveTVRingBuffer) TVRec[140]:
CreateLiveTVRingBuffer(40) failed
Aug 18 14:41:16 homer mythbackend: mythbackend[10958]: E TVRecEvent
tv_rec.cpp:3782 (TuningFrequency) TVRec[140]: Failed to create RingBuffer 1
Aug 18 14:41:16 homer mythbackend: mythbackend[10958]: I TVRecEvent
tv_rec.cpp:1090 (HandleStateChange) TVRec[140]: Changing from
WatchingLiveTV to None
Aug 18 14:41:16 homer mythbackend: mythbackend[10958]: I
MythSocketThread(68) mainserver.cpp:7674 (connectionClosed) Playback
sock(55cdc06c6a20) 'homer' disconnected



-- 
Regards
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x468B95F605CE0B51.asc
Type: application/pgp-keys
Size: 4000 bytes
Desc: not available
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20190818/68a6340a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20190818/68a6340a/attachment.sig>


More information about the mythtv-users mailing list