Posts by glucarelli

    Small contribution , sometimes director in shows gives <EpImgFlag> as result so change this part to match the first matching director 's name


    Code
    director = re.findall('<Director>[|](.*?)[|]', output)
                    if not director:
                        director = re.findall('<Director>(.*?)[|]', output)
                        if not director:
                            director = re.findall('<Director>(.*?)</Director>', output)

    to


    Code
    director = re.findall('<Director>[|](.*?)[|]</Director>', output)
                    if not director:
                        director = re.findall('<Director>(.*?)[|]', output)
                        if not director:
                            director = re.findall('<Director>[|](.*?)[|]', output)

    Hi,


    The last fix about Director is not relevant it's the Writer which is extracted


    Code
    director = re.findall('"known_for_department":"Writing","name":"(.*?)"', output)  # director fixed

    The real director is under the tag "job":"Director"

    Code
    "known_for_department":"Directing",
    "name":"Paul Verhoeven",
    "original_name":"Paul Verhoeven",
    "popularity":5.461,
    "profile_path":"/wxkroRBtM6NKZdx9sYLFfFSGnaR.jpg",
    "credit_id":"52fe4253c3a36847f801552f",
    "department":"Directing",
    "job":"Director"},

    Paul Verhoeven in this case


    Thanks to all those who helped resurrect this great plugin, there's really not much missing and I hope a coding specialist will come along to build a perfect media library.


    Regards

    Hi,


    Where could i find missing pics in plugin, looking in xml skin files there's a lot missing (main2.png, pC.png,overlay-mx.png...etc)

    Code
    <ePixmap position="0,0" size="1500,1080" pixmap="/usr/lib/enigma2/python/Plugins/Extensions/MovieBrowser/skin/fhd/pic/setup/main2.png" zPosition="-2" />
    
    <ePixmap position="1500,0" size="420,1080" pixmap="usr/lib/enigma2/python/Plugins/Extensions/MovieBrowser/skin/fhd/pic/setup/pC.png" zPosition="-1" />
    
    <ePixmap pixmap="/usr/lib/enigma2/python/Plugins/Extensions/MovieBrowser/skin/fhd/pic/setup/overlay-mx.png" position="0,0" size="1920,1080" zPosition="-2" />

    The skin doesn't look like the one's in Belfagor2005 github (missing pics too in skin directory)


    1709.jpg


    If someone could upload missing pics


    Regards

    Finally got it work changing downloadPage routine (deprecated in py3) and adding import subprocess


    Code
    import subprocess
    ......
    ......
        def download(self, url, title, id):
            if self.backdrop:
            	subprocess.call(["wget","-q","--no-use-server-timestamps","--no-clobber","--timeout=5", url,  "-O", tempDir+title+'_'+id+'-bdp'+'.jpg'])
            else:
            	subprocess.call(["wget","-q","--no-use-server-timestamps","--no-clobber","--timeout=5", url,  "-O", tempDir+title+'_'+id+'.jpg'])

    2023-07-24_134948.jpg


    I'm not a py coder just learning and i'm sure there's is better way to write the code.


    Thank you very much Lululla for your help :winking face:

    Thank you very much for your help and your time Lululla

    No errors on launch.

    Unfortunatly even results are found nothing is displayed or downloaded in /var/volatile/tmp/backsNcovers, directory is empty.

    2023-07-23_184838.jpg


    I guess this part is causing problem, but didn't have a clue on how to fix :weary face:

    Python
    from twisted.web.client import downloadPage
    ......
    ......
        def download(self, url, title, id):
            if self.backdrop:
                return downloadPage(url, tempDir+title+'_'+id+'-bdp'+'.jpg', timeout=5)
            else:
                return downloadPage(url, tempDir+title+'_'+id+'.jpg', timeout=5)

    Ok got it work in plugin browser without errors, had to search tabs in plugin.py and replace with four spaces, then in backsNcovers.py change these two lines (Python 3.11.2 , Pure2 -v.7.3)

    Python
    from urllib import urlencode
    ...
    import tmdbsimple as tmdb

    by

    Python
    from urllib.parse import urlencode
    ...
    from . import tmdbsimple as tmdb

    Modified files in attachments

    In movielist i have the option "Find Backdrops & Covers", searching give me results but nothing displayed, what's missing ?

    Any help ?

    Regards


    backsNcovers.zip

    Hi,


    My box Zgemma H9S, 32GB external Samsung SD Card, 4 partitions ext3 4 GB and one Fat32 16GB.

    • I installed first OpenATV 6.4 (2/4/2020) then the NFR4XBoot plugin as described in this thread.
    • In plugin list there's two NFR4XBoot plugins, be sure to use the one with NFR4XBoot 1.00 - Menu in title for image installation (choose image file, rename it as you want, choose no for copy settings, no for boot after installation and yes to delete zip file)
    • First image install was Pure2 (zgemmah9s-PurE2-6.5-20200404_usb.zip)
    • Second image from PKTeam (zgemmah9s_GIT-22995_PKT-4165_all.zip)
    • Third one is from Egami (egami-9.0-zgemmah9s-20191201_usb.zip), new and great one i discovered in this forum in Zgemma section.
    • Then switching images either by restarting the box (not IGU, reboot) or using the second plugin the one with NFR4XBoot 1.00 - Client_Menu in title (screenshot above)


    Everything works fine for every image (update, saving/restoring settings), didn't manage yet installing any OpenPli or OpenVison versions (errors in installation) but i'm fine with all images already installed, it's a big step for this box.

    sssex2005


    Hi,


    Just want to ask, how many images did you install and what version please ?

    It work for me with 4 partitions but i've just installed two (zgemmah9s-PurE2-6.5-20200404_usb.zip one partition on SDcard & OpenATV 6.4 on Flash)

    When i try to add more (openpli-7.2-release-h9-20200330_usb,openpli-6.2-release-h9-20200331_usb,opendroid-6.7-zgemmah9s-20181022_usb) installation give me errors.

    Sadly online installation didn't give much choice :


    Code
    no Image for this Box on this Side

    Any advice ?


    Regards

    Finally managed multiboot to work on my H9S, last OpenAtv on Flash and last Pure2 on first partition on SD :cool1:

    I restarted everything from scratch and now it works.

    I've tried to add Openpli, online it says no image for your box and with downloaded image (openpli-7.2-release-h9-20200330_usb) installation did not reach end of process.

    I'll try other images (i can add 3 more) another day

    Anyway it's a great job you made,thank you very much :thumbup:

    just tested nfrx4boot in zgemma h9s 4k

    everything seems to be working very good

     Good luck

    Hi,


    Tried with on Zgemma H9S 4K 32GB external SD Card, 4 partitions ext3 4 GB and one Fat32 16GB.

    Internal Flash OpenATV 6.4 (2/4/2020) because it's the more stable on this box as Pure2 often broke the box after update (;) gorski).

    The installation went fine, choose to install last Pure2 (zgemmah9s-PurE2-6.5-20200404_usb.zip) for test

    Installation OK but even when i choose Use Bootmanager by Booting (144725_console.txt) and restart always booting to OpenATV in Flash and trying to Setup Bootmanagertimeout box is crashing (log provided)


    What i'm doing wrong ?


    Any advice ?


    Regards


    enigma2_crash_1586003940.log


    144725_console.txt