oe-alliance / AutoBouquetsMaker

Automatically build and update bouquets from the DVB stream.
GNU General Public License v3.0
22 stars 59 forks source link

ABM Hides Bouquets that are Folders within Folders #106

Closed ian10951 closed 5 years ago

ian10951 commented 5 years ago

If a Bouquet is used that has folders within folders in it to keep certain things tidy, ie 1:7:1 reference inside the Bouquet, then when this none ABM Bouquet is selected for saving, ABM hides it by adding 519 to it in the Bouquets.tv file, even though its been instructed to save and not hide.

ian10951 commented 5 years ago

Anyone have any thoughts on this ?

Its a real pain having to edit the Bouquets.tv file after each and everytime ABM is ran, to get these Bouquets back again.

AbuBaniaz commented 5 years ago

Can you upload bouquets that are being affected. Edit out anything sensitive please.

ian10951 commented 5 years ago

Attached is a bouquet created for use just on our Tvheadend Server. The Bouquet has folders within folders to keep things neat and sepearate from the main Bouquets list used on the Server. This Bouquet is required because of the limitations of Enigma2 when you wish to Record as E2 cannot record if using 5002 which the main Server Bouquets are using. So the Bouquets within this Bouquet are a duplicate of the other Bouquets available, but flagged as 1 so E2 can record from them. There's nothing sensitive in it as the sensitive stuff is in each of the Bouquets that open from within it. You should be able to load it onto your box, although obviously you wont be able to open any of the sub folders inside it. But it should be sufficient for you to test saving it in ABM and then running ABM and you will see the Bouquet is hidden in your Bouquets.tv file rather than saved.

userbouquet.Ouriptv.zip

Huevos commented 5 years ago

Please provide a list of steps (not a description) to simulate this condition. What do you mean "selected for saving"? Please take a screengrab of you config.

ian10951 commented 5 years ago

Its the same result using either way of saving the none ABM Bouquets, the Bouquets containing Sub Folders are always hidden rather than saved, and to get them back the Bouquets.tv file has to be edited, removing the 519 that ABM has placed against the Bouquet and replacing it with 7 1_0_19_28a7_68_f020_ffff0000_0_0_0_20190212072813 1_0_19_28a7_68_f020_ffff0000_0_0_0_20190212072927 1_0_19_28a7_68_f020_ffff0000_0_0_0_20190212072852

If you load the Bouquet I posted above onto your box ensuring that you have selected allow none linked Bouquets in the image setup and then try to save it using the ABM setup before ABM is ran, you will see for yourself that after ABM is ran, that Bouquet is then hidden and to get it to show again you have to manually edit your Bouquets.tv file. Its the same with any none ABM Bouquets that contain Sub Folders. All of them are always hidden after ABM is ran, regardless of what you have set in the ABM config. In others words, the saving command of these none ABM bouquets, is being ignored, and instead ABM is hiding them.

.

AbuBaniaz commented 5 years ago

The bouquet you uploaded is incomplete.

ian10951 commented 5 years ago

In what way ?

Of course you wont be able to open the sub folders as you do not have the py files to generate those Bouquets, nor do you have connection to the TvHeadend Server.

The Bouquet was just an example of the problem. Just load it and then save it in ABM then run ABM and you will see its no longer in your Bouquets list and is hidden in your Bouquets.tv file. Forget about being able to open the Sub Bouquets, you dont need to. All you needed was the info inside it, ie the Sub Folders designated by 1:7:1

Alternatively, create your own Bouquet that has sub folders in it and try to save that and you will find that is hidden too after running ABM

ian10951 commented 5 years ago

@Huevos

Thanks for the fix, Evo sent it to me on Slype last night, and it was waiting for me when I signed in this morning. All tested and working so you can close this issue now when your ready.

Cheers buddy.

AbuBaniaz commented 5 years ago

@Huevos has fixed this.

Huevos commented 5 years ago

https://github.com/oe-alliance/AutoBouquetsMaker/commit/f4643e7e78ec638a02ab80c08962185b23bd0e3d