Project

General

Profile

Actions

Bug #4003

closed

IPTV Auto , Mux URL length: not long enough

Added by Hector Kicklag over 8 years ago. Updated over 8 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
IPTV
Target version:
-
Start date:
2016-10-09
Due date:
% Done:

100%

Estimated time:
(Total: 0:00 h)
Found in version:
4.1-2249~g747ed01
Affected Versions:

Description

When IPTV Auto with file.m3u, URL result is cut off in mux URL field


Files

iptv-(auto)-error.jpg (47.8 KB) iptv-(auto)-error.jpg Hector Kicklag, 2016-10-02 08:55

Subtasks 1 (0 open1 closed)

Bug #4015: IPTV Automatic Network importFixed2016-10-09

Actions
Actions #1

Updated by Jaroslav Kysela over 8 years ago

I don't understand this problem. Please, elaborate.

Actions #2

Updated by Hector Kicklag over 8 years ago

Jaroslav Kysela wrote:

I don't understand this problem. Please, elaborate.

if you have an extraordinarily long stream URL, after the IPTV (auto) has imported all the mux's from the *.m3u file somewhere on filesystem.
the MUX URL's over in the MUX tab are cut off, as shown in the image I provided. The MUX URL field needs more room for longer stream URL's

understand? tnx , so hard doing one by one :)

Actions #3

Updated by Hector Kicklag over 8 years ago

unless it can't convert 3 '&' character's but I did set everything to utf-8 encoding also.. not sure, think just URL field not long enuf

Actions #4

Updated by Jaroslav Kysela over 8 years ago

There is limit 512 characters per URL now.. How many characters do you have in your URLs ?

Actions #5

Updated by Hector Kicklag over 8 years ago

Jaroslav Kysela wrote:

There is limit 512 characters per URL now.. How many characters do you have in your URLs ?

123 to be precise. hmmm

What would be stopping it from processing every letter after 3 consecutive "&" symbols ?

i.e. http://ww.site.com:8888/stream?2384u92374y2398423&profile=soemthing&something=2&______________________ <---- everything after third "&" missing

Actions #6

Updated by Andreas Fornberg over 8 years ago

Sounds like my problem with some long links

https://tvheadend.org/issues/4015

Actions #7

Updated by Hector Kicklag over 8 years ago

Andreas Fornberg wrote:

Sounds like my problem with some long links

https://tvheadend.org/issues/4015

I can import them manually, that's fine.

But when I used the m3u file through IPTV (Auto) feature, that's the issue. If the issue isn't the character amount , which it seems it isn't, it's prob with the conversion of the file (m3u)

which actually seems like it completely ignore's any character set /codes cos I set it all for utf-8 utf8 and tried some of the ISO codes..:)

Actions #8

Updated by Hector Kicklag over 8 years ago

I can add them w/ plain IPTV manually, that's fine.

But when I used the m3u file through IPTV (Auto) feature, that's the issue. If the issue isn't the character amount , which it seems it isn't, it's prob with the conversion of the file (m3u)

which actually seems like it completely ignore's any character set /codes cos I set it all for utf-8 utf8 and tried some of the ISO codes..:)

Actions #9

Updated by Andreas Fornberg over 8 years ago

Yes adding it manually works fine it's when importing from m3u file with IPTV Auto i have same problem with long links or maybe it's all other special characters.

Actions #10

Updated by Hector Kicklag over 8 years ago

Andreas Fornberg wrote:

Yes adding it manually works fine it's when importing from m3u file with IPTV Auto i have same problem with long links or maybe it's all other special characters.

obviously the processing need to change for reading *.m3u , prob simple as a read() argument :)

Actions #11

Updated by Jaroslav Kysela over 8 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset commit:tvheadend|f608075b569da068632c3beb96ba6623074eb846.

Actions #12

Updated by Jaroslav Kysela over 8 years ago

The problem was in the URL query part without 'key=val' syntax. Fixed in v4.1-2268-gf608075.

Actions #13

Updated by Hector Kicklag over 8 years ago

Jaroslav Kysela wrote:

The problem was in the URL query part without 'key=val' syntax. Fixed in v4.1-2268-gf608075.

Awesome , takes a lot of repetition out of the process of adding streams now. very good tnx :D

Actions

Also available in: Atom PDF