Jump to content


Photo

Update bouquets.tv inside /etc/enigma2

bouquets.tv

  • Please log in to reply
17 replies to this topic

#1 microboi37

  • Senior Member
  • 74 posts

0
Neutral

Posted 29 June 2015 - 19:54

I have an issue with the file /etc/enigma2/bouquets.tv. I'm ftp-ing my bouquets inside /etc/enigma2 but when enigma2 restarts the old bouquets.tv returns.

 

How to reproduce:

 

replace your old bouquets.tv inside /etc/enigma2

 

init 4, init 3

 

or

 

reboot

 

the old bouquets.tv will return from nowhere. It's impossible to update this file through FTP. With dreamboxedit the bouquets are correctly updated. Some new OpenPli feature?



Re: Update bouquets.tv inside /etc/enigma2 #2 Bag58

  • Senior Member
  • 437 posts

+23
Neutral

Posted 29 June 2015 - 20:21

No, incorrect order of actions:

init 4

replace bouquet file

init 3

 

Now it should work



Re: Update bouquets.tv inside /etc/enigma2 #3 microboi37

  • Senior Member
  • 74 posts

0
Neutral

Posted 29 June 2015 - 20:59

OK tried it but the old file still comes back.



Re: Update bouquets.tv inside /etc/enigma2 #4 microboi37

  • Senior Member
  • 74 posts

0
Neutral

Posted 29 June 2015 - 21:00

How does dreamboxedit do it without a enigma2 restart?



Re: Update bouquets.tv inside /etc/enigma2 #5 littlesat

  • PLi® Core member
  • 56,260 posts

+691
Excellent

Posted 29 June 2015 - 21:33

Uninstall the settings via menu plugins red

Edited by littlesat, 29 June 2015 - 21:33.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Update bouquets.tv inside /etc/enigma2 #6 microboi37

  • Senior Member
  • 74 posts

0
Neutral

Posted 30 June 2015 - 11:22

Uninstall the settings via menu plugins red

I don't have any settings installed via plugin manager, only manual files copy through FTP.



Re: Update bouquets.tv inside /etc/enigma2 #7 blzr

  • PLi® Core member
  • 2,269 posts

+118
Excellent

Posted 30 June 2015 - 13:03

No, incorrect order of actions:
init 4
replace bouquet file
init 3
 
Now it should work

OK tried it but the old file still comes back.

quite not possible, if you're replacing your bouquets on stopped e2, no way they would come back...
(and these stubbornly returning bouquets are not empty by any chance? maybe you forgot to replace also bouquets.tv (or bouquets.radio) list of bouquets?
 

How does dreamboxedit do it without a enigma2 restart?


not sure, but probably using this webif command:

reload lamedb or Userbouquets
Requests:
http:// root:password@ip_of_your_box/web/servicelistreload?mode={mode}

Mode can be:
0, reloading lamedb and Userbouquets
1, reloading lamedb only
2, reloading Userbouquets only


True sarcasm doesn't need green font...

Re: Update bouquets.tv inside /etc/enigma2 #8 microboi37

  • Senior Member
  • 74 posts

0
Neutral

Posted 30 June 2015 - 20:08

In the exact moment that I issue init 3 the old file comes back. And incredibly it comes back even if I reload bouquets and lamedb with http:// root:password@ip_of_your_box/web/servicelistreload?mode=0. I think dreamboxedit uses a native enigma2 command not webif based. For example if I copy a 4k bouquets.tv over a 20k big one after rebooting or enigma2 restarting the 20k file comes back like it was cached for some reason.



Re: Update bouquets.tv inside /etc/enigma2 #9 greatred

  • Senior Member
  • 268 posts

+2
Neutral

Posted 30 June 2015 - 20:32

Does the bouquets.tv file you are importing contain following ?:

#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.favourites.tv" ORDER BY bouquet

Just a guess, based on experience where I`ve seen some strange behavior after importing boquets where the default userbouquet.favourites.tv was missing.



Re: Update bouquets.tv inside /etc/enigma2 #10 microboi37

  • Senior Member
  • 74 posts

0
Neutral

Posted 1 July 2015 - 09:31

I don't insert userbouquet.favourites.tv in bouquets.tv indeed but dreamboxedit does't use it neighter. Thanks for the hint I'll give it a try.



Re: Update bouquets.tv inside /etc/enigma2 #11 microboi37

  • Senior Member
  • 74 posts

0
Neutral

Posted 2 July 2015 - 10:39

Does the bouquets.tv file you are importing contain following ?:

#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.favourites.tv" ORDER BY bouquet

Just a guess, based on experience where I`ve seen some strange behavior after importing boquets where the default userbouquet.favourites.tv was missing.

 

Tested but it doesn't work with "userbouquet.favorites.tv". If you don't belive me just try it yourself. Edit your bouquets.tv with FTP or vi, save it, reboot enigma2 and the changes will undo. I bet 100€.



Re: Update bouquets.tv inside /etc/enigma2 #12 hemertje

  • Forum Moderator
    PLi® Core member
  • 33,470 posts

+118
Excellent

Posted 2 July 2015 - 12:10

stop enigma first

 

edit file

 

start enigma again


on the Glassfibre 1GB DVB-C...


Re: Update bouquets.tv inside /etc/enigma2 #13 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 2 July 2015 - 17:13

userbouquet.favourites.tv & userbouquet.favourites.radio are always (re)created by E2, but contain no services.

Re: Update bouquets.tv inside /etc/enigma2 #14 microboi37

  • Senior Member
  • 74 posts

0
Neutral

Posted 3 July 2015 - 20:57

Once again:

 

I stop enigma2 with init 4, next I manually modify bouquets.tv, I issue init 3 and voila.. the changes I have made are gone. The old bouquets.tv is back.

 

The other approch. I manually modify bouquets.tv then I issue wget -qO - "http://127.0.0.1/web...streload?mode=2" and guess what.. the old file returns with the following first lines that I've carefully previously deleted:

 

#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.asian.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.telesat.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.german.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.favourites-sd.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.music.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.favourites.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.french.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.erotic.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.docu.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.allsats.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.russian.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.movie.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.spanish.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.belgique.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.sport.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.news.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.dbe01.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.sky-germany.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.kids.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.suisse-austria.tv" ORDER BY bouquet

 

I think this is a new behaviour of the latest enigma2 in Openpli because I have never experienced nothing similar in 7 years of using Openpli.

 



Re: Update bouquets.tv inside /etc/enigma2 #15 littlesat

  • PLi® Core member
  • 56,260 posts

+691
Excellent

Posted 4 July 2015 - 07:30

when the userbouquet.favorites.tv/radio file is still in the setting then it will be reloaded as unlinked user bouquet. Only remove from userbouquet.tv is not enough indeed....it will be loaded on top!

The best way to remove it is remove it with your remote in enigma2... The userbouquet.favorite.tv/radio will then be renamed by adding a .del behind the filename, avoiding a reload...

When manually change the bouquets.tv/radio you also need te delete the referenced userbouquet... So you also need to remove the "ghost" file....

This is expected behavior as it allows you to download settings (hans, henk etc...) while keeping your own favorites on top...

Edited by littlesat, 4 July 2015 - 07:38.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Update bouquets.tv inside /etc/enigma2 #16 microboi37

  • Senior Member
  • 74 posts

0
Neutral

Posted 4 July 2015 - 07:56

when the userbouquet.favorites.tv/radio file is still in the setting then it will be reloaded as unlinked user bouquet. Only remove from userbouquet.tv is not enough indeed....it will be loaded on top!

The best way to remove it is remove it with your remote in enigma2... The userbouquet.favorite.tv/radio will then be renamed by adding a .del behind the filename, avoiding a reload...

When manually change the bouquets.tv/radio you also need te delete the referenced userbouquet... So you also need to remove the "ghost" file....

This is expected behavior as it allows you to download settings (hans, henk etc...) while keeping your own favorites on top...

 

THANK YOU !!!!! That explanation solved my problem. Deleting the orphaned bouquet files is the solution. If I could upvote you post I would do it million times. One again thank you.



Re: Update bouquets.tv inside /etc/enigma2 #17 Pr2

  • PLi® Contributor
  • 6,070 posts

+257
Excellent

Posted 4 July 2015 - 10:11

Hi,

The decision to add automatically on top should be configurable.
This is really annoying because due to this "always on top" forced our own bouquets are shifted down and all TV channels numbers that we are used to are changed. This is really problematic for family using TV that are not used with all the bouquet stuff and still use the number to quickly jump to there favorite TV.

And you give a good explanation for this:

This is expected behavior as it allows you to download settings (hans, henk etc...) while keeping your own favorites on top...


But with the always on top forced for newly discovered userbouquet files this is the totally opposite that happens, newly discovered userbouquet are forced on top and so my own favorites are not kept on top and all numbering is changed. Forcing on top just gives the opposite of the expected behavior.

Pr2

NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: Update bouquets.tv inside /etc/enigma2 #18 littlesat

  • PLi® Core member
  • 56,260 posts

+691
Excellent

Posted 4 July 2015 - 10:58

The decision to add automatically on top should be configurable.

 

-> It is configurable... but is is default ON.... As in fact when you don't manually "rubish" with your settings you really do not have an issue at all....

 

A nice site effect all your "ghost" not linked bouquets that fills your flash in your box for nothing are highlited.... And note is was intend to go on TOP.... When you want to get it somewhere down... arrange that in your userbouquet (include it). It are no new user bouquets... it are your own favorite bouquets usually... (and of course when you make rubish, the forgotton intend to remove bouquets)


Edited by littlesat, 4 July 2015 - 11:00.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users