Superb quality and spec AB-Com PULSe 4K SE. Crazy offer! Only £129! FREE UK DELIVERY! 4K UHD, Enigma 2, Multiboot 4 images & more!...
Superb quality and spec AB-Com PULSe 4K Rev II Twin Satellite tuner only £179! FREE UK DELIVERY! 4K UHD, Enigma 2, SATA HDD facility, Multiboot 4 images & more!...

[ABM-MISC] sat and cable custom mix updater plugin (BETA)

Status
Not open for further replies.
This looks like the perfect plugin, do it support VM Ireland ? Here is a list of the Irish VM channels - http://mediaboyblog.blogspot.ie/p/upc-ireland-lineup-february-2015-update.html
No have a look at post 111 to 114 and edit my custom.xml for Ireland if you want help in doing it start a new thread and see if we can help you. I've wanted to do this from some time but was told that Ireland regions vary for sat so I left it at that

Sent from my SM-G925F using Tapatalk
 
thanks for that. Never heard of them varying for Sat, that's odd. I've lived in three different parts of Ireland (Dublin, Cork & Galway) and all works fine for me without changing anything. VM is different though, each region has a network ID, similar to the UK. If we could get a Dublln up and going then others could take on the other regions.
p.s. trying to install the ipk and I get the following.....
checking for an older versoion of customupdater in the syste....
customupdater was not found in the syste,
Processing to installation....

It's now hung on that for 10 mins
 
I'll have a look at the ipk what image are you using and version number?

Can you power of the box and power back on ftp usr/lib/enigma2/python/plugins/SystemPlugins/AutoBouquetsMaker/custom see if it's downloaded the sat_282_sky_uk_CustomMix.xml

Due to it not working for Ireland see if you can uninstall the ipk via plugins red to remove plugins go to extentions and select customupdater

If it hangs again can you ftp usr/lib/enigma2/python/Plugins/Extensions delete the customupdater folder and power off the box and turn back on.

Sent from my SM-G925F using Tapatalk
 
The only image I haven't tested this on is pli and vti and I haven't had chance to test it on vix 5

Sent from my SM-G925F using Tapatalk
 
thanks. looks like its a problem my side, i've no AutoBouquetsMaker sub-folder created.. will look into it
 
You need abm installed by default as it's part of AutoBouquetsMaker but now you've given me something to work on to update the ipk so it will check if autobouqetesmarker exists before installing.

Sent from my SM-G925F using Tapatalk
 
You need abm installed by default as it's part of AutoBouquetsMaker but now you've given me something to work on to update the ipk so it will check if autobouqetesmarker exists before installing.

Sent from my SM-G925F using Tapatalk
Two ways:

Check if a folder from ABM exists ( ie you can use "if os.path.isdir(path)" ) and only install if it does or add ABM as a dependency within plugin and it will always install/update ABM.

Personally, first one is better because second option could cause problems if someone with an old ABM tries to install your plugin and ABM tries to update itself and feeds, etc may not be working.
 
I was thinking of postinst and preinst like I have it set for checking for customupdater before installing the ipk

Sent from my SM-G925F using Tapatalk
 
Even easier, for scripts use:
Code:
if [ -f [COLOR="#0000FF"]fullpathfile[/COLOR] ];
then
where fullpathfile is obviously the full path including name of a file. Any filename would be sufficient so long as it is part of ABM.
You could have an else: in there for when file doesn't exist and whatever you want it to do. Like echo a message.

UPDATE: You do need to use the command "fi" command to end the if statement.
 
Last edited:
This is what I currently have

Code:
#!/bin/sh
echo "Checking for an older version of customupdater in the system..."
if [ -d /usr/lib/enigma2/python/Plugins/Extensions/customupdater ]
then
rm -rf /usr/lib/enigma2/python/Plugins/Extensions/customupdater > /dev/null 2>&1
echo "An older version of customupdater was found and removed"
echo "Proceeding to installation..."
else
echo "customupdater was not found in the system"
echo "Proceeding to installation..."
fi
exit 0

so maybe
Code:
#!/bin/sh
echo "Checking for AutoBouguetsMaker in the system..."
if [ -d /usr/lib/enigma2/python/Plugins/SystemPlugins/AutoBouquetsMaker ]
then
echo "Checking for an older version of customupdater in the system..."
if [ -d /usr/lib/enigma2/python/Plugins/Extensions/customupdater ]
then
rm -rf /usr/lib/enigma2/python/Plugins/Extensions/customupdater > /dev/null 2>&1
echo "An older version of customupdater was found and removed"
echo "Proceeding to installation..."
else
echo "customupdater was not found in the system"
echo "Proceeding to installation..."
fi
exit 0
 
You're missing the fi to end the if statement.

Alternatively, is it not possible to use something like [ -d directory1 ] && [ -d directory2 ]
 
So

Code:
#!/bin/sh
echo "Checking for AutoBouguetsMaker in the system..."
if [ -d /usr/lib/enigma2/python/Plugins/SystemPlugins/AutoBouquetsMaker ]
else
echo "AutoBouguetsMaker was not found in the system Please isntall AutoBouguetsMaker before installing the plugin"
fi
then
echo "Checking for an older version of customupdater in the system..."
if [ -d /usr/lib/enigma2/python/Plugins/Extensions/customupdater ]
then
rm -rf /usr/lib/enigma2/python/Plugins/Extensions/customupdater > /dev/null 2>&1
echo "An older version of customupdater was found and removed"
echo "Proceeding to installation..."
else
echo "customupdater was not found in the system"
echo "Proceeding to installation..."
fi
exit 0

Sorry to sound stupid as said in our pms my python knowledge is basic so is scripts
 
Last edited:
The attached should work (rename .txt to .sh). Well in theory anyhow.

Test it first and let us know.
 

Attachments

Thanks I assume that would work with preinst

Sent from my SM-G925F using Tapatalk
 
Added the script to preinst and renamed AutoBouguetsMaker went to install the ipk and its stuck on prepating...Please wait on OpenATV 6.0
 
Just rebooted box renamed abm back to normal and installing the ipk with the script the box still gets stuck on preparing
 
So the script doesn't even run at all?

Copy the script file over to /tmp and run it manually with telnet command "sh " and fullname of script including extension so "sh dsayers.sh"
 
sorry how can I run the script without the Ipk?
 
copy the script to your /tmp folder and ensure it has .sh at end (rename if necessary).

Then from a command line like telnet type sh + name of script.

I did this on Vix 4.2 for testing and it worked fine. Didn't try it within the plugin.
 
Status
Not open for further replies.

OpenViX Feeds Status

Back
Top