Jump to content


Photo

M3U playlist handling plugin

IPTV M3U Enigma2

  • Please log in to reply
83 replies to this topic

Re: M3U playlist handling plugin #41 Frenske

  • Forum Moderator
    PLi® Core member
  • 27,495 posts

+397
Excellent

Posted 9 October 2024 - 19:13

First the slashes should be like that ://.
And there is no port? If there is you have to include it in url.... If it still not work give me a debug log so to see.

P.S. Do you have google dns 8.8.8.8 blocked? If so you can adjust the setting to not do that check. Also your setup is for xtreme codes. Is that correct?

I’ll check it later today. I might have made a stupid typo. 


Mijn schotel is een T90 met 10 LNB's. Daarnaast voor de fun nog een draaibaar systeem met een Triax TD 78.

Dreamboxen heb ik niet meer echt actief. Verder heb ik ook nog een een VU+ duo2 met 500Gb harddisk + een VU+ Uno, Zero, Solo 4K, Ultimo 4K, Zero 4K, Uno 4Kse. + ook nog een Xtrend ET7x00. Daarnaast heb ik ook nog diverse andere modellen w.o. een Formuler F4, ET8500, ET7500, Mut@nt 2400HD, Xsarius Fusion HD se en verder nog wel het e.e.a. waarmee op verzoek vanalles wordt getest. Iemand moet het tenslotte doen. ;) :)
Los van de eerder genoemde modellen heb ik nog wel een rits aan testsamples als Mut@nt 2400HD, HD60, GB UE4K, GB Trio4K, Maxitec Multibox combo en Twin, Octagon sf8008, sf8008 mini en last but nog least enkele modellen van het Grieks Duitse Edision.

Voor centrale opslag van media gebruik ik een Qnap 219P 
met tweemaal 2 Tb harddisks + een Synology DS414 met 12 Tb Totale opslag.

-------------------------------------------------------------------------------------------
Many answers to your question can be found in our wiki: Just one click away from this "solutioncentre".

Als ik alles al wist hoefde ik ook niets te vragen. If I had all the knowledge I had no questions at all.


Re: M3U playlist handling plugin #42 DimitarCC

  • PLi® Contributor
  • 1,578 posts

+71
Good

Posted 9 October 2024 - 19:59

What are you doing with hardcoded DNS entries? And why?

 

That is VERY bad practice, to force users to bypass or weaken their security.

 

( and won't work for everyone who has implemented something like pi-Hole for example ).

 

I urged VIX to remove that from their images too, as it causes "internet not accessable" errors which are complete bollocks (not sure if VIX has already removed those checks).

 

Well it was only way to do fast check for internet connection. But there is setting that can bypass this check anyway...

 

Attached File  1_0_19_3FD_33_1_1_0_0_0_20241009220117.jpg   111.69KB   4 downloads


Edited by DimitarCC, 9 October 2024 - 20:02.

Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)


Re: M3U playlist handling plugin #43 DimitarCC

  • PLi® Contributor
  • 1,578 posts

+71
Good

Posted 9 October 2024 - 20:04

 

First the slashes should be like that ://.
And there is no port? If there is you have to include it in url.... If it still not work give me a debug log so to see.

P.S. Do you have google dns 8.8.8.8 blocked? If so you can adjust the setting to not do that check. Also your setup is for xtreme codes. Is that correct?

I’ll check it later today. I might have made a stupid typo. 

 

 

And disable the option that i mentioned above if you have blocked the google dns ;)


Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)


Re: M3U playlist handling plugin #44 foxbob

  • Senior Member
  • 624 posts

+18
Neutral

Posted 9 October 2024 - 20:10

On the default skin, the modified ServiceInfo.py file works, but the VideoSize.py file has exactly the same error.I corrected the VideoSize.py file and now I have a different error:

22:04:34.3776   File "/usr/lib/enigma2/python/Plugins/SystemPlugins/M3UIPTV/plugin.py", line 334, in playServiceWithIPTV
22:04:34.3787     playref, old_ref, is_dynamic, ref_type = processIPTVService(playref, self.playRealService, event)
22:04:34.3795                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
22:04:34.3797   File "/usr/lib/enigma2/python/Plugins/SystemPlugins/M3UIPTV/IPTVProviders.py", line 4, in processService
22:04:34.3802     sRef = nref.toString()
22:04:34.3806            ^^^^^^^^^^^^^
22:04:34.3809 AttributeError: 'tuple' object has no attribute 'toString'


Re: M3U playlist handling plugin #45 DimitarCC

  • PLi® Contributor
  • 1,578 posts

+71
Good

Posted 9 October 2024 - 20:16

I am confused....nref can not be tuple....Should be eServiceReference.... I dont get that error on my side....


Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)


Re: M3U playlist handling plugin #46 foxbob

  • Senior Member
  • 624 posts

+18
Neutral

Posted 9 October 2024 - 20:21

This is only a mistake on my part.

22:19:45.6959   File "/usr/lib/enigma2/python/Components/Renderer/VideoSize.py", line 19, in changed
22:19:45.6964     info = service and service.info()
22:19:45.6968                        ^^^^^^^^^^^^
22:19:45.6971 AttributeError: 'eServiceReference' object has no attribute 'info'


Re: M3U playlist handling plugin #47 DimitarCC

  • PLi® Contributor
  • 1,578 posts

+71
Good

Posted 9 October 2024 - 20:24

hmm OK let me run it on my side to see with latest Pli nightly....


Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)


Re: M3U playlist handling plugin #48 DimitarCC

  • PLi® Contributor
  • 1,578 posts

+71
Good

Posted 9 October 2024 - 20:49

So i tested with latest nightly on sf8008m standard skin.

With changed with attached files i have no crashes. Everything works.

 

With DarkOS no crashes at all.

Attached Files


Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)


Re: M3U playlist handling plugin #49 Frenske

  • Forum Moderator
    PLi® Core member
  • 27,495 posts

+397
Excellent

Posted 10 October 2024 - 18:51

I will post a small tutorial tomorrow in the readme... ;)

I flashed a Uno 4kse with the latest NB, installed the E2-DarkOS skin and installed the plugin. When running settings a GSOD was shown.

I haven't any available time this evening but will continue testing tomorrow.

Attached Files


Mijn schotel is een T90 met 10 LNB's. Daarnaast voor de fun nog een draaibaar systeem met een Triax TD 78.

Dreamboxen heb ik niet meer echt actief. Verder heb ik ook nog een een VU+ duo2 met 500Gb harddisk + een VU+ Uno, Zero, Solo 4K, Ultimo 4K, Zero 4K, Uno 4Kse. + ook nog een Xtrend ET7x00. Daarnaast heb ik ook nog diverse andere modellen w.o. een Formuler F4, ET8500, ET7500, Mut@nt 2400HD, Xsarius Fusion HD se en verder nog wel het e.e.a. waarmee op verzoek vanalles wordt getest. Iemand moet het tenslotte doen. ;) :)
Los van de eerder genoemde modellen heb ik nog wel een rits aan testsamples als Mut@nt 2400HD, HD60, GB UE4K, GB Trio4K, Maxitec Multibox combo en Twin, Octagon sf8008, sf8008 mini en last but nog least enkele modellen van het Grieks Duitse Edision.

Voor centrale opslag van media gebruik ik een Qnap 219P 
met tweemaal 2 Tb harddisks + een Synology DS414 met 12 Tb Totale opslag.

-------------------------------------------------------------------------------------------
Many answers to your question can be found in our wiki: Just one click away from this "solutioncentre".

Als ik alles al wist hoefde ik ook niets te vragen. If I had all the knowledge I had no questions at all.


Re: M3U playlist handling plugin #50 DimitarCC

  • PLi® Contributor
  • 1,578 posts

+71
Good

Posted 10 October 2024 - 19:43

Yes i see the problem. Some configs are not available in PLi...Will fix...


Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)


Re: M3U playlist handling plugin #51 DimitarCC

  • PLi® Contributor
  • 1,578 posts

+71
Good

Posted 15 October 2024 - 21:32

Fixed with that....

https://github.com/O...igma2/pull/4079


Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)


Re: M3U playlist handling plugin #52 Huevos

  • PLi® Contributor
  • 4,706 posts

+167
Excellent

Posted 15 October 2024 - 21:35

Mini manual for setting up the plugin: https://www.world-of...ot-M3UIPTV-quot



Re: M3U playlist handling plugin #53 foxbob

  • Senior Member
  • 624 posts

+18
Neutral

Posted 24 October 2024 - 17:52

After these:https://github.com/O...pull/4076/files changes incorrect display of multiEPG appeared when the parameter to save past data was changed.This parameter is more relevant to IPTV channels, but it does affect satellite channels.This appears when the plugin is installed enigma2-plugin-systemplugins-m3uiptv at night assembly.I couldn't launch the plugin.Either an internet error, or it doesn't see the m3u file in the temp folder.On my home build the plugin worked.

There was one mistake:

16:02:30.5629 Traceback (most recent call last):
16:02:30.5632   File "/usr/lib/enigma2/python/Plugins/Extensions/GraphMultiEPG/GraphMultiEpg.py", line 739, in buildEntry
16:02:30.5638   File "/home/foxbob/14.2/openpli-oe-core/build/tmp/work/all-oe-linux/enigma2-plugin-systemplugins-m3uiptv/1.0+git/image/usr/lib/enigma2/python/Plugins/SystemPlugins/M3UIPTV/IPTVCatchupPlayer.py", line 126, in injectCatchupIconGMEPG
16:02:30.5647 AttributeError: 'EPGList' object has no attribute 'calcEventPosAndWidthHelper'. Did you mean: 'calcEntryPosAndWidthHelper'?

Screenshot with the parameter 0 minutes-everything is displayed.

Screenshot with the parameter 1 week-incorrect display.

Satellite channels also do not display multiEPG.

 

I repeat, this is only on my home assembly.And you need to update the PLi-FullHD skin the buttons are not displayed in some windows.

 

Attached Files



Re: M3U playlist handling plugin #54 DimitarCC

  • PLi® Contributor
  • 1,578 posts

+71
Good

Posted 24 October 2024 - 19:19

After these:https://github.com/O...pull/4076/files changes incorrect display of multiEPG appeared when the parameter to save past data was changed.This parameter is more relevant to IPTV channels, but it does affect satellite channels.This appears when the plugin is installed enigma2-plugin-systemplugins-m3uiptv at night assembly.I couldn't launch the plugin.Either an internet error, or it doesn't see the m3u file in the temp folder.On my home build the plugin worked.

There was one mistake:

16:02:30.5629 Traceback (most recent call last):
16:02:30.5632   File "/usr/lib/enigma2/python/Plugins/Extensions/GraphMultiEPG/GraphMultiEpg.py", line 739, in buildEntry
16:02:30.5638   File "/home/foxbob/14.2/openpli-oe-core/build/tmp/work/all-oe-linux/enigma2-plugin-systemplugins-m3uiptv/1.0+git/image/usr/lib/enigma2/python/Plugins/SystemPlugins/M3UIPTV/IPTVCatchupPlayer.py", line 126, in injectCatchupIconGMEPG
16:02:30.5647 AttributeError: 'EPGList' object has no attribute 'calcEventPosAndWidthHelper'. Did you mean: 'calcEntryPosAndWidthHelper'?

Screenshot with the parameter 0 minutes-everything is displayed.

Screenshot with the parameter 1 week-incorrect display.

Satellite channels also do not display multiEPG.

 

I repeat, this is only on my home assembly.And you need to update the PLi-FullHD skin the buttons are not displayed in some windows.

 

OK the error you posted above is fixed in latest commit in plugin repo....

Not sure what you mean with doesn't see the m3u in temp folder....


Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)


Re: M3U playlist handling plugin #55 foxbob

  • Senior Member
  • 624 posts

+18
Neutral

Posted 24 October 2024 - 20:02

There are no problems on my build.On openPLI it says there is no such file.Restarted GUI and the plugin file was seen but there was an error:

Screen] Warning: Skin is missing element 'Image' in <class 'Plugins.SystemPlugins.M3UIPTV.plugin.PluginSummary'>.
[Screen] Showing screen 'SetupSummary'.
[Screen] Showing screen 'M3UIPTVManagerConfig'.
LOGO PosX: 1724
[ePNG] loadSVG /usr/share/enigma2/logos/brandlogo.svg 84x34 from 485x328
[ActionMap] Keymap 'M3UIPTVConfigActions' -> Action = 'blue'.
[ActionMap] Keymap 'M3UIPTVConfigActions' -> Action = 'yellow'.
[M3UIPTV] Error has occured during bouquet creation: Traceback (most recent call last):
  File "/openpli/oe/develop/build/tmp/work/all-oe-linux/enigma2-plugin-systemplugins-m3uiptv/1.0+gitAUTOINC+15a2560870-r0/image/usr/lib/enigma2/python/Plugins/SystemPlugins/M3UIPTV/plugin.py", line 1158, in generateBouquets
  File "/openpli/oe/develop/build/tmp/work/all-oe-linux/enigma2-plugin-systemplugins-m3uiptv/1.0+gitAUTOINC+15a2560870-r0/image/usr/lib/enigma2/python/Plugins/SystemPlugins/M3UIPTV/IPTVProcessor.py", line 93, in getPlaylistAndGenBouquet
  File "/openpli/oe/develop/build/tmp/work/all-oe-linux/enigma2-plugin-systemplugins-m3uiptv/1.0+gitAUTOINC+15a2560870-r0/image/usr/lib/enigma2/python/Plugins/SystemPlugins/M3UIPTV/M3UProvider.py", line 166, in storePlaylistAndGenBouquet
TypeError: in method 'eDVBDB_addOrUpdateBouquet', argument 5 of type 'bool'

[Skin] Processing screen 'MessageBox', position=(500, 532), size=(920 x 15) for module 'MessageBox'.
[Screen] Warning: Skin is missing element 'Image' in <class 'Screens.MessageBox.MessageBox'>(shara: an error occured during bouquet creation

Edited by foxbob, 24 October 2024 - 20:03.


Re: M3U playlist handling plugin #56 DimitarCC

  • PLi® Contributor
  • 1,578 posts

+71
Good

Posted 24 October 2024 - 20:06

Ok seems something is missing in those eDVBDB functions....

Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)


Re: M3U playlist handling plugin #57 Huevos

  • PLi® Contributor
  • 4,706 posts

+167
Excellent

Posted 24 October 2024 - 21:33

 

There are no problems on my build.On openPLI it says there is no such file.Restarted GUI and the plugin file was seen but there was an error:

Screen] Warning: Skin is missing element 'Image' in <class 'Plugins.SystemPlugins.M3UIPTV.plugin.PluginSummary'>.
[Screen] Showing screen 'SetupSummary'.
[Screen] Showing screen 'M3UIPTVManagerConfig'.
LOGO PosX: 1724
[ePNG] loadSVG /usr/share/enigma2/logos/brandlogo.svg 84x34 from 485x328
[ActionMap] Keymap 'M3UIPTVConfigActions' -> Action = 'blue'.
[ActionMap] Keymap 'M3UIPTVConfigActions' -> Action = 'yellow'.
[M3UIPTV] Error has occured during bouquet creation: Traceback (most recent call last):
  File "/openpli/oe/develop/build/tmp/work/all-oe-linux/enigma2-plugin-systemplugins-m3uiptv/1.0+gitAUTOINC+15a2560870-r0/image/usr/lib/enigma2/python/Plugins/SystemPlugins/M3UIPTV/plugin.py", line 1158, in generateBouquets
  File "/openpli/oe/develop/build/tmp/work/all-oe-linux/enigma2-plugin-systemplugins-m3uiptv/1.0+gitAUTOINC+15a2560870-r0/image/usr/lib/enigma2/python/Plugins/SystemPlugins/M3UIPTV/IPTVProcessor.py", line 93, in getPlaylistAndGenBouquet
  File "/openpli/oe/develop/build/tmp/work/all-oe-linux/enigma2-plugin-systemplugins-m3uiptv/1.0+gitAUTOINC+15a2560870-r0/image/usr/lib/enigma2/python/Plugins/SystemPlugins/M3UIPTV/M3UProvider.py", line 166, in storePlaylistAndGenBouquet
TypeError: in method 'eDVBDB_addOrUpdateBouquet', argument 5 of type 'bool'

[Skin] Processing screen 'MessageBox', position=(500, 532), size=(920 x 15) for module 'MessageBox'.
[Screen] Warning: Skin is missing element 'Image' in <class 'Screens.MessageBox.MessageBox'>(shara: an error occured during bouquet creation

Please try this change: https://github.com/D...293874246e940bc



Re: M3U playlist handling plugin #58 Huevos

  • PLi® Contributor
  • 4,706 posts

+167
Excellent

Posted 24 October 2024 - 21:59

Also, can PLi please merge this commit: https://github.com/O...ddf70c6edcb0003

 

Without it I am getting crashes.



Re: M3U playlist handling plugin #59 foxbob

  • Senior Member
  • 624 posts

+18
Neutral

Posted 25 October 2024 - 04:10

After pressing the yellow button, create a bouquet.

[eDVBDB] Renumbering...
[fileReadXML] failed to read /etc/epgimport/m3uiptv.sources.xml
[M3UIPTV] Error has occured during bouquet creation: Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Tools/Directories.py", line 354, in fileReadXML
FileNotFoundError: [Errno 2] No such file or directory: '/etc/epgimport/m3uiptv.sources.xml'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Plugins/SystemPlugins/M3UIPTV/plugin.py", line 1158, in generateBouquets
    providerObj.getPlaylistAndGenBouquet()
  File "/usr/lib/enigma2/python/Plugins/SystemPlugins/M3UIPTV/IPTVProcessor.py", line 93, in getPlaylistAndGenBouquet
    self.storePlaylistAndGenBouquet()
  File "/usr/lib/enigma2/python/Plugins/SystemPlugins/M3UIPTV/M3UProvider.py", line 169, in storePlaylistAndGenBouquet
    self.generateEPGImportFiles(groups_for_epg)
  File "/usr/lib/enigma2/python/Plugins/SystemPlugins/M3UIPTV/IPTVProcessor.py", line 235, in generateEPGImportFiles
    epghelper.createSourcesFile()
  File "/usr/lib/enigma2/python/Plugins/SystemPlugins/M3UIPTV/epgimport_helper.py", line 86, in createSourcesFile
    sources = self.readSources()
  File "/usr/lib/enigma2/python/Plugins/SystemPlugins/M3UIPTV/epgimport_helper.py", line 64, in readSources
    root = fileReadXML(self.getSourcesFilename())
  File "/usr/lib/enigma2/python/Tools/Directories.py", line 358, in fileReadXML
NameError: name 'print_exc' is not defined



Re: M3U playlist handling plugin #60 Dimitrij

  • PLi® Core member
  • 10,338 posts

+352
Excellent

Posted 25 October 2024 - 05:29

/usr/lib/enigma2/python/Tools/Directories.py

from enigma import eEnv
from datetime import datetime
from re import compile
from stat import S_IMODE
from sys import _getframe as getframe
from unicodedata import normalize
+from traceback import print_exc
from xml.etree.ElementTree import Element, fromstring, parse

 


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K




Also tagged with one or more of these keywords: IPTV, M3U, Enigma2

2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users