Superb quality and spec AB-Com PULSe 4K SE. Crazy offer! Only £99! 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 £149! 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.
Ok thanks I'll flash vix and give feedback over the weekend if no body else reports back.
 
Just checking I can tell some of the code has been used from channelsimporter will this commit help for other images?

Code:
https://github.com/oe-alliance/oe-alliance-plugins/commit/6f12f3dae3cc3dc09c85bcf21476cb1edbab1c68

Ive seen you added it 4 hours ago
 
Managed to add that commit before going to work and the above commit fixes it will see how abm updates tomorrow morning
 
Last edited:
The commit fixes the crash, but not ATV's inability to handle translation of setup.xml files. So in ATV the setup screen will always be in English.
 
Not using OpenViX. Please explain this treachery. :D

I started experimenting with 6.0 and like the a task when trying to do other commits with the language barrier lol
 
The commit fixes the crash, but not ATV's inability to handle translation of setup.xml files. So in ATV the setup screen will always be in English.

I don't see that as a major issue with the custom.xml as it's for sky uk and virgin uk unless someone who uses it in the uk with a different language
 
No, not a problem for this plugin, but ATV need to sort it out.
 
What about deleting the custommix on uninstall would I be best having the custommix in the ipk then on uninstall it should remove it?
 
I can't see how that is going to work if the plugin is in the feeds.
 
I can't see how that is going to work if the plugin is in the feeds.

Didnt know you was going to add the plugin to feeds.

But I was thinking
Code:
#!/bin/sh
echo "Checking for CustomMix in the ABM..."
if [ -f /usr/lib/enigma2/python/Plugins/SystemPlugins/AutoBouquetsMaker/custom/sat_282_sky_uk_CustomMix.xml ]
then
rm -rf /usr/lib/enigma2/python/Plugins/SystemPlugins/AutoBouquetsMaker/custom/sat_282_sky_uk_CustomMix.xml > /dev/null 2>&1
echo "CustomMix was found and removed"
echo "Proceeding to uninstalling plugin..."
else
echo "CustomMix was not found in ABM"
echo "Proceeding to uninstall..."
fi
exit 0

In a postrm
 
Last edited:
A good start would be make the CustomMix file deletable from the plugin. i.e. BLUE button == delete CustomMix file.
 
Ok tried adding the blue button and it displays but unsure where to add the code for delete.

This is what I added after setting up the blue button
Code:
def keyDelete(self):
               try:
                       os.remove("/usr/lib/enigma2/python/Plugins/SystemPlugins/AutoBouquetsMaker/custom and delete the sat_282_sky_uk_CustomMix.xml ")
               except:
                       print "This is an error message!"

I'll need to add an except message but I can't get delete to work


I'll have another play with this later. My heads hurting full night shift and no sleep

Attached is the plugin.py
View attachment plugin.py.zip
 
Last edited:
Thanks Huevos blue button now deletes the xm, the blue button doesn't display like it did with my edited plugin.py I'll re add the blue button thanks

Edit just to confirm it's in the skin screen
 
Last edited:
What do you mean it does not display?

Don't edit the plugin. It is working fine.
 
Just displaying the blue button next to yellow it isn't in the class DsayersCustomMixImporterScreen(Setup): skin

Sent from my SM-G925F using Tapatalk
 
So maybe you can add it and redo the 3.2 ipk rather than doing another version

Sent from my SM-G925F using Tapatalk
 
Status
Not open for further replies.

OpenViX Feeds Status

Back
Top