Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Page 3 of 4 FirstFirst 1234 LastLast
Results 31 to 45 of 51

Thread: Does Cross EPG have a cli settings file

  1. #31
    Rob van der Does's Avatar
    Title
    ViX Beta Tester
    Join Date
    Apr 2010
    Location
    The Netherlands & France
    Posts
    36,262
    Thanks
    1,720
    Thanked 9,461 Times in 6,675 Posts
    So you say that after a bouquet update via DBEDIT the box crashes, unless a Cross-EPG download hass taken place. Correct?

    If so, the problem is in the reload of the settings on the box. That's one of the disadvantages of DBEDIT: it doesn't do this job properly.
    Two solutions:
    1- Stop E2 before the settings upload (init 4), and restart when done (init 3);
    2- Use DramSet instead; that has the option to stop E2 --> upload settings --> restart E2
    and DreamSet is a very good and userfriendly settingseditor.

    Background:
    E2 has (at least) the present bouquet list in memory, and a reload command doesn't always work (in fact that's a hack around this problem). If however E2 is dead on arrival of the settings, it does of course have no memory at all, so it will wake up with all fresh settings.

    Help asked via PM will be ignored.
    The forum is there for help and all will benefit from your questions.
    NO CARD SHARING TALK WILL BE TOLERATED, LAN OR WAN, IN OPEN FORUM OR PM !

    English is not my native tongue.
    I apologise for all my grammar, spelling and idiom errors.

  2. #32

    Title
    Forum Supporter
    Donated Member
    Join Date
    Sep 2012
    Location
    Stockport
    Posts
    204
    Thanks
    7
    Thanked 3 Times in 2 Posts
    I actually have an update script running on my friends boxes with a cron every night that checks on the server (using wget) for a file called bouquets.tgz, if I have uploaded the file to web root then the boxes download it and decompress the contents into /etc/enigma2 thus copying over the existing bouquets or as in my case adding to the existing bouquets as the MrMister bouquet filenames had changed, if the file downloads and the files are copied the script reloads the box and the plan was that hopefully all would be good and the end user wouldnt know any different, however the box does not display channels or epg data untill an epg download then all is good. My aim was to have minimal maintainence as the only task I need to perform is uploading a single updated compressed file to the server.
    I tried using the same filenames last night but I wasnt 100% accurate, I'm in the middle of another test now where I have named all the bouquet files in the update to exactly the same existing names and also matching the content of the files ie if one of my updated bouquet files is movies and named 12345.tv then it will be updating the existing movies file of the same name, I have just ran my update script on a friends box but he cant tell me if all is good yet cos he is off to the bookies, will update you in due course.

    Thanks
    Sledge.

  3. #33
    Rob van der Does's Avatar
    Title
    ViX Beta Tester
    Join Date
    Apr 2010
    Location
    The Netherlands & France
    Posts
    36,262
    Thanks
    1,720
    Thanked 9,461 Times in 6,675 Posts
    That will give the same result, simply because a 'reload' command isn't any good. If you do as I suggested (stop E2 before any upload and restart when done), all will be fine.

    Help asked via PM will be ignored.
    The forum is there for help and all will benefit from your questions.
    NO CARD SHARING TALK WILL BE TOLERATED, LAN OR WAN, IN OPEN FORUM OR PM !

    English is not my native tongue.
    I apologise for all my grammar, spelling and idiom errors.

  4. #34

    Title
    Forum Supporter
    Donated Member
    Join Date
    Sep 2012
    Location
    Stockport
    Posts
    204
    Thanks
    7
    Thanked 3 Times in 2 Posts
    Rob

    You were right, same result, I wanted to see it for myself anyway. Right the next test is as you suggest above with init 4 before the copy over then init 3 after, does this method mean my bouquet filenames can change or is it best practice to keep them the same.
    I will build the init's into my update script.

    Thanks
    Sledge.

  5. #35
    Rob van der Does's Avatar
    Title
    ViX Beta Tester
    Join Date
    Apr 2010
    Location
    The Netherlands & France
    Posts
    36,262
    Thanks
    1,720
    Thanked 9,461 Times in 6,675 Posts
    You can change whatever you want, but make sure to delete all old files first, just like a settings editor does..

    Help asked via PM will be ignored.
    The forum is there for help and all will benefit from your questions.
    NO CARD SHARING TALK WILL BE TOLERATED, LAN OR WAN, IN OPEN FORUM OR PM !

    English is not my native tongue.
    I apologise for all my grammar, spelling and idiom errors.

  6. #36

    Title
    Forum Supporter
    Donated Member
    Join Date
    Sep 2012
    Location
    Stockport
    Posts
    204
    Thanks
    7
    Thanked 3 Times in 2 Posts
    Will leaving old bouquet files that are not referenced in bouquet.tv or bouquet.radio cause any issues.

  7. #37
    Rob van der Does's Avatar
    Title
    ViX Beta Tester
    Join Date
    Apr 2010
    Location
    The Netherlands & France
    Posts
    36,262
    Thanks
    1,720
    Thanked 9,461 Times in 6,675 Posts
    Be advised that if the box is up again, and the channel that was set as startup service has been changed, the box will show a black screen. Opening the channellist (and if you want assign a new service as start up service) and choosing a channel cures this.
    I say this, as a box showing a black screen after booting can be confusing.

    Help asked via PM will be ignored.
    The forum is there for help and all will benefit from your questions.
    NO CARD SHARING TALK WILL BE TOLERATED, LAN OR WAN, IN OPEN FORUM OR PM !

    English is not my native tongue.
    I apologise for all my grammar, spelling and idiom errors.

  8. #38
    Rob van der Does's Avatar
    Title
    ViX Beta Tester
    Join Date
    Apr 2010
    Location
    The Netherlands & France
    Posts
    36,262
    Thanks
    1,720
    Thanked 9,461 Times in 6,675 Posts
    Quote Originally Posted by sledge121 View Post
    Will leaving old bouquet files that are not referenced in bouquet.tv or bouquet.radio cause any issues.
    Not sure about that, but why would you want to do that?

    Help asked via PM will be ignored.
    The forum is there for help and all will benefit from your questions.
    NO CARD SHARING TALK WILL BE TOLERATED, LAN OR WAN, IN OPEN FORUM OR PM !

    English is not my native tongue.
    I apologise for all my grammar, spelling and idiom errors.

  9. #39
    Rob van der Does's Avatar
    Title
    ViX Beta Tester
    Join Date
    Apr 2010
    Location
    The Netherlands & France
    Posts
    36,262
    Thanks
    1,720
    Thanked 9,461 Times in 6,675 Posts
    Probably needles to say, but the 'init 4' will stop (or better: interrupt) any recording that's going on.

    Help asked via PM will be ignored.
    The forum is there for help and all will benefit from your questions.
    NO CARD SHARING TALK WILL BE TOLERATED, LAN OR WAN, IN OPEN FORUM OR PM !

    English is not my native tongue.
    I apologise for all my grammar, spelling and idiom errors.

  10. #40

    Title
    Forum Supporter
    Donated Member
    Join Date
    Sep 2012
    Location
    Stockport
    Posts
    204
    Thanks
    7
    Thanked 3 Times in 2 Posts
    enigma2_crash_1349896053.log

    The same thing happens even when I build the init's into the script, I know the init's are working cos the screen goes off when I run it, I have uploaded the crashlog, it seems to be epg calling EpgSelection.py when it crashes, same again after a crossepg download the problem goes away.

  11. #41
    Rob van der Does's Avatar
    Title
    ViX Beta Tester
    Join Date
    Apr 2010
    Location
    The Netherlands & France
    Posts
    36,262
    Thanks
    1,720
    Thanked 9,461 Times in 6,675 Posts
    Sorry, I'm out of ideas.

    Help asked via PM will be ignored.
    The forum is there for help and all will benefit from your questions.
    NO CARD SHARING TALK WILL BE TOLERATED, LAN OR WAN, IN OPEN FORUM OR PM !

    English is not my native tongue.
    I apologise for all my grammar, spelling and idiom errors.

  12. #42

    Title
    Forum Supporter
    Donated Member
    Join Date
    Sep 2012
    Location
    Stockport
    Posts
    204
    Thanks
    7
    Thanked 3 Times in 2 Posts
    Thanks for looking into it rob, Does anybody else update their boxes using scp file transfer instead of dbedit, I would like your feedback, I have never used dbedit, does anybody have any experience of using it, do you need to run epg update after sending files over, I presumes dbedit is a glorified file transfer app that is essentially doing the same as I am with scp.

    Thanks
    Sledge.

  13. #43
    Rob van der Does's Avatar
    Title
    ViX Beta Tester
    Join Date
    Apr 2010
    Location
    The Netherlands & France
    Posts
    36,262
    Thanks
    1,720
    Thanked 9,461 Times in 6,675 Posts
    Yes, I also FTP files.
    Yes, DBE does also use FTP.
    No, EPG-import has nothing to do with this.

    Help asked via PM will be ignored.
    The forum is there for help and all will benefit from your questions.
    NO CARD SHARING TALK WILL BE TOLERATED, LAN OR WAN, IN OPEN FORUM OR PM !

    English is not my native tongue.
    I apologise for all my grammar, spelling and idiom errors.

  14. #44

    Title
    Forum Supporter
    Donated Member
    Join Date
    Sep 2012
    Location
    Stockport
    Posts
    204
    Thanks
    7
    Thanked 3 Times in 2 Posts
    I'm not far away from a solution to this, if I use dbedit I can send whatever bouquet I like and the problem doesn't happen, if I

    init 4
    scp the files accross
    init 3

    Then I get the issue, I noticed when using dbedit I dont have any loss of picture but the bouquet list is refreshed so it must be doing something other than an init 4, copy, init 3, the last message dbedit says in the right hand window is 'sending reload commands' I believe this is key to making it work, if I can find out exactly what commands dbedit is running at the end of the file transfer I can build it into my scp script and I will be laughing, and I can share the script out.

    The script
    It check for the existance of a satellites.xml and bouquets.tgx on my server, if they exist it wgets them, it copies the satellites file to /etc/enigma2 + /etc/tuxbox then it decomresses the tgz file and copies the contents to /etc/enigma2, if the files are not there it does nothing, I have also built in init 4 and init 3 to stop and restart E2, the script sits on my friends receivers and runs as cron every morning at 04:30, my aim is for very low maintenance of my friends boxes as I only need to upload a new satelllite and bouquet file to my server and the receivers do the rest.

    Thanks
    Sledge

  15. #45
    Rob van der Does's Avatar
    Title
    ViX Beta Tester
    Join Date
    Apr 2010
    Location
    The Netherlands & France
    Posts
    36,262
    Thanks
    1,720
    Thanked 9,461 Times in 6,675 Posts
    Never copy any file to etc/tuxbox as then you're overwriting system-files (that in turn will be overwritten by an image update).
    User-files are in etc/enigma2.

    If you use Dreamset you can personalise all commands. Including the init sequence (see screenie).
    Attached Images Attached Images

    Help asked via PM will be ignored.
    The forum is there for help and all will benefit from your questions.
    NO CARD SHARING TALK WILL BE TOLERATED, LAN OR WAN, IN OPEN FORUM OR PM !

    English is not my native tongue.
    I apologise for all my grammar, spelling and idiom errors.

Page 3 of 4 FirstFirst 1234 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.