[mythtv] iptv recorder with enigma2 box

Karl Dietz dekarl at spaetfruehstuecken.org
Wed Feb 24 16:53:58 UTC 2016


Hi Torbjorn,

On 22.02.2016 08:07, Karl Dietz wrote:
> Hi Torbjorn,
>
> did you open a bug ticket to track these issues?
>
> On 21.02.2016 17:48, Torbjorn Jansson wrote:
>> problem 1: url too long
>> url got cutoff since it was longer than 128 character limit of
>> capturecard.videodevice in the database.
>
> Can you post the playlist and preferably a documentation that can be
> used to determite the maximum URL length? (to the ticket)
>
>> problem 2: "#EXTM3U "
>> channel scanning didn't work at all, it just complained about the file.
>> apparently there is an extra space in the first line of the m3u file
>> like this without quotes: "#EXTM3U "
>
> Please post a sample, so our parser can be relaxed to accept more
> variants of M3U.

I think this has been fixed in the web interface three years ago...

It was broken in July 2011 and fixed in December 2012.
https://schwerkraft.elitedvb.net/plugins/scmgit/cgi-bin/gitweb.cgi?p=enigma2-plugins/enigma2-plugins.git;a=history;f=webinterface/src/web/services.m3u.xml;h=e8fc673d66ceddd605c14cf724bf7b274618dbc4;hb=HEAD

>> problem 3: format of #EXTINF:
>> problem 4: channel.serviceid=0

Seeing that there is a template engine in place it should be very
straight forward to fix these two problems in Enigma2.

for problem 4:
diff --git a/webinterface/src/web/services.m3u.xml 
b/webinterface/src/web/services.m3u.xml
index e8fc673..1adc10c 100644
--- a/webinterface/src/web/services.m3u.xml
+++ b/webinterface/src/web/services.m3u.xml
@@ -1,6 +1,7 @@
  <e2:screen name="ServiceListWebScreen"><e2:element source="localip" 
macro="ipadress" />#EXTM3U
  #EXTVLCOPT--http-reconnect=true
  <e2:element source="ServiceList" id="bRef"><e2:convert 
type="web:ListFiller">#EXTINF:-1,<e2:item name="Name" filter="xml" />
+#EXTVLCOPT:program_number=<e2:item name="Sid" filter="xml" />
  http://<e2:item macro="ipadress" filter="xml" />:8001/<e2:item 
name="Reference" filter="xml" />
  </e2:convert><e2:convert type="web:TextToHTML" />
  </e2:element>

Regards,
Karl


More information about the mythtv-dev mailing list