Page 2 of 3 FirstFirst 123 LastLast
Results 21 to 40 of 41

Thread: S99PriorityManager : New Priority Script

  1. #21
    Junior Member
    Join Date
    May 2010
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I think the script file is not unix like.

  2. #22
    V.I.P buyukbang's Avatar
    Join Date
    Feb 2010
    Location
    Istanbul / Turkey
    Posts
    354
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You're right. I re-attached the file. You can redownload it or simply type the command at Telnet prompt:

    dos2unix /DISK2/etc/start.d/S99PriorityManager.sh

    Sorry for the DOS format

    Quote Originally Posted by blackhole View Post
    I think the script file is not unix like.

  3. #23
    Junior Member
    Join Date
    May 2010
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I have two observations:

    1) If I press power on the remote but after I choose "cancel" instead of "sleep", I will return back to "TV" but for the script the menu is always "sleep". Can you check or it is only me?

    2) How the script is handling reserved recordings (recordings made when the box is in pause)? Is the box switching to "TV" (or "MEDIA")?

  4. #24
    V.I.P buyukbang's Avatar
    Join Date
    Feb 2010
    Location
    Istanbul / Turkey
    Posts
    354
    Thanks
    0
    Thanked 0 Times in 0 Posts
    1) This is basically the question that I waited for an answer from opensat. Their answer is "Cancel does not trigger anything" . So there is no way to detect this. Just use power button to wake up the script after sleep.

    look here:
    http://forum.azbox.com/index.php/topic,330.0.html

    2) Hmm, this is a test case that I never think about. I'll inspect its working style and then try to handle it. If I manage, I'll add it to v1.3 version.

    Quote Originally Posted by blackhole View Post
    I have two observations:

    1) If I press power on the remote but after I choose "cancel" instead of "sleep", I will return back to "TV" but for the script the menu is always "sleep". Can you check or it is only me?

    2) How the script is handling reserved recordings (recordings made when the box is in pause)? Is the box switching to "TV" (or "MEDIA")?

  5. #25
    Junior Member
    Join Date
    Sep 2009
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi,

    Below is what I get when I test the script. I move to youtube and plugins but I don't get any other log. Is this what I should get?

    PHP Code:
    AZBox[~]$ tail -/tmp/S99PriorityManager_IsRunning                       
    17
    :26:41 05/14/10INITIALIZING                                           
    17
    :27:03 05/14/10LAST_MENU=INITIALIZINGCURRENT_MENU=SLEEP TV=     10 

  6. #26
    V.I.P buyukbang's Avatar
    Join Date
    Feb 2010
    Location
    Istanbul / Turkey
    Posts
    354
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Same thing that is written at above two messages.

    Do not use "CANCEL" to wake up the box. It's currently not possible to detect according to the opensat :(

    May be I can find a work araound for this, but may be I cannot...

    Just use power button to sleep azbox and again use power button to wake it up.

    Quote Originally Posted by maviing View Post
    Hi,

    Below is what I get when I test the script. I move to youtube and plugins but I don't get any other log. Is this what I should get?

    PHP Code:
    AZBox[~]$ tail -/tmp/S99PriorityManager_IsRunning                       
    17
    :26:41 05/14/10INITIALIZING                                           
    17
    :27:03 05/14/10LAST_MENU=INITIALIZINGCURRENT_MENU=SLEEP TV=     10 
    Last edited by buyukbang; 14-05-2010 at 09:59 PM.

  7. #27
    V.I.P buyukbang's Avatar
    Join Date
    Feb 2010
    Location
    Istanbul / Turkey
    Posts
    354
    Thanks
    0
    Thanked 0 Times in 0 Posts
    This problems are solved in v1.3. Currently testing v1.3. Here are the latest changes:

    v1.3
    -----
    Fixed : "CANCEL" option in sleep menu is now detected as it should be.

    Improved : TV recording and channel switch speed.

    Added : Reserved programs are now supported. When a scheduled recording starts, TV prioritization will be applied until it ends.

    Added : CIF mount support for those who want want to mount cif shares of your network to Azbox. (auto-mounts shares when the file server is online, auto-unmounts share when the file server is offline)

    Added : NFS mount support for those who want want to mount cif shares of your network to Azbox. (auto-mounts shares when the file server is online, auto-unmounts share when the file server is offline)

    Added : Swap file support for Azbox. You can activate this option so that to S99PriorityManager creates swap file on your HDD or Flash disk which will help RAM by caching some part of the memory. Swap usage file helps large file operations like recording.

    Added : "Deep Sleep" option. You can activate this option if you want to kill all unnecessary applications when box goes to sleep mode to improve downloading speed. There are some a side effects of deep sleep. For more information please read "USER DEFINED PARAMETERS" section.

    Added : Transmission (torrent client) sleep mode prioritization.

    Added : aMule (eD2K client) sleep mode prioritization.


    Quote Originally Posted by blackhole View Post
    I have two observations:

    1) If I press power on the remote but after I choose "cancel" instead of "sleep", I will return back to "TV" but for the script the menu is always "sleep". Can you check or it is only me?

    2) How the script is handling reserved recordings (recordings made when the box is in pause)? Is the box switching to "TV" (or "MEDIA")?
    Quote Originally Posted by maviing View Post
    Hi,

    Below is what I get when I test the script. I move to youtube and plugins but I don't get any other log. Is this what I should get?

    PHP Code:
    AZBox[~]$ tail -/tmp/S99PriorityManager_IsRunning                       
    17
    :26:41 05/14/10INITIALIZING                                           
    17
    :27:03 05/14/10LAST_MENU=INITIALIZINGCURRENT_MENU=SLEEP TV=     10 

  8. #28
    V.I.P zeini's Avatar
    Join Date
    Dec 2008
    Location
    Austria
    Posts
    455
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks!

    But where I'm able to find vers. 1.3

  9. #29
    Junior Member
    Join Date
    May 2010
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Very nice! I had already made some changes for transmission but now I am very happy that this is on the script!

  10. #30
    V.I.P buyukbang's Avatar
    Join Date
    Feb 2010
    Location
    Istanbul / Turkey
    Posts
    354
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I'll publish it in this week. Just need some testing for a few days. Besides, I'm waiting another reply from opensat.

    http://forum.azbox.com/index.php/topic,339.0.html


    Quote Originally Posted by zeini View Post
    Thanks!

    But where I'm able to find vers. 1.3
    Last edited by buyukbang; 20-05-2010 at 01:37 PM.

  11. #31
    Junior Member
    Join Date
    May 2010
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    # Added : azepgmgr support to protect TV/Media applications from the glitches caused by its initial process. (Thanks to Smudger!)
    I have checked script version 1.2 for azepgmgr.
    I guess that the value of nice of azepgmgr should be 5 in all modules and should always be 5, except SLEEP.

    Beware if azepgmgr is started BEFORE PrioprityManager with a script in start.d you will have a lot of problems and big instability for the long time azepgmr needs to finish its task. I have checked this: S99PriorityManager will start after a lot of time.

    On the other hand if it is called AFTER it will not receive any optimitation, since there is not a azepgmgr nice setting in any MODULE.

    Am I wrong here?

  12. #32
    V.I.P buyukbang's Avatar
    Join Date
    Feb 2010
    Location
    Istanbul / Turkey
    Posts
    354
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Smudger's test results show exacly the same and I already set +5 azepgmgr for all modes but including SLEEP mode. Negative snice values for
    azepgmgr does not provide too much, that's because I set +5 also in sleep mode.

    Starting any program within start.d is not a good idea if it tales too long time to finish, but using & character will provide asynchronous execution, which is usually used fot this type of problems if its script does not need a return value. Smudger is using without this type of script. So the azepgmgr script that you mentioned is really a bad implementation.

    Smudger'a usage also guarantees that azepgmgr works after S99PrioprityManager.

    BTW, I don't use azepgmgr since two platforms that I watch have EPG information from the sattalite. So I don't have much knowledge about azepgmgr. May be you can ask Smudger for details.

    Quote Originally Posted by blackhole View Post
    I have checked script version 1.2 for azepgmgr.
    I guess that the value of nice of azepgmgr should be 5 in all modules and should always be 5, except SLEEP.

    Beware if azepgmgr is started BEFORE PrioprityManager with a script in start.d you will have a lot of problems and big instability for the long time azepgmr needs to finish its task. I have checked this: S99PriorityManager will start after a lot of time.

    On the other hand if it is called AFTER it will not receive any optimitation, since there is not a azepgmgr nice setting in any MODULE.

    Am I wrong here?

  13. #33
    V.I.P buyukbang's Avatar
    Join Date
    Feb 2010
    Location
    Istanbul / Turkey
    Posts
    354
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Opensat did not respond to my question, they even censured my two messages written as a reply. I just wrote "no response from Opensat?" and they censured these messages. I cannot believe this. How can be a company and their owner/workers can be such idiot to discourage volunteer code writers .... They are simply dummy...

    Could you please reply this message in official forum to make them embarrassed to block too much messages from too much customers....

    http://forum.azbox.com/index.php/topic,339.0.html




    By the way,

    I packed the script as a plugin and will provide a user interface to see Priority Manager logs and activate/deactivate/restart Priority Manager. There will be no need for telnet anymore.

    Moreover, I added a feature to automatically execute user selected programs in sleep mode, automatically kill them after wake up. So that you'll be able to automize running of some CPU intensive processes without writing commands from telnet always while protecting your TV watching comfort by giving all system sources to TV and Mediaplayer applications.

    Sorry but unfortunately this new feature and plugin related works will cause a small delay, v1.3 release will be this weekend.
    Last edited by buyukbang; 20-05-2010 at 01:52 PM.

  14. #34
    Member
    Join Date
    Apr 2010
    Posts
    68
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for your hard work byukbang. We do appreciate it.

  15. #35
    Member
    Join Date
    May 2010
    Posts
    40
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thumps up

    dude

  16. #36
    Junior Member
    Join Date
    Sep 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    @buyukbang

    I could put your message on the official forum but the moderator has to approve the replay first:banghead:

    So I really doubt that It will be granted (its on Note: This message is awaiting approval by a moderator. )

    and yes opensat is filled with idiots iggy:

  17. #37
    V.I.P buyukbang's Avatar
    Join Date
    Feb 2010
    Location
    Istanbul / Turkey
    Posts
    354
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Guys,

    Thank you all for support, Smudger's and Zenith's (and may be censured ones) replies on the official forum resulted a reply, finally. However there are no new information for me, and certainly not a detailed reply.:boxing_smiley:

    I requested details and now working on the plugin. C U soon...

  18. #38
    Junior Member edu1971's Avatar
    Join Date
    Apr 2010
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks, BUYUKBANG

    You have to give full support to BUYUKBANG world because it loses its time for the benefit of all.
    From here I appreciate your work and ask OPensat help.
    thanks

    Sorry, I do not speak English, am Spanish, from cadiz. the text is translated by google
    Last edited by edu1971; 20-05-2010 at 09:39 PM.

  19. #39
    Member
    Join Date
    Aug 2009
    Posts
    51
    Thanks
    0
    Thanked 0 Times in 0 Posts
    dear buyukbang can you tell us if possible when we're going to have version 1.3 of your script?thanks in advance.

  20. #40
    V.I.P buyukbang's Avatar
    Join Date
    Feb 2010
    Location
    Istanbul / Turkey
    Posts
    354
    Thanks
    0
    Thanked 0 Times in 0 Posts
    A few hours later ! Added some new features other than I wrote above. Especially one of them is very good. It speeds up DOM u to 20% ! Just doing last tests...

    BTW, I'll create a new thread for v1.3...

    Quote Originally Posted by MV_BEST View Post
    dear buyukbang can you tell us if possible when we're going to have version 1.3 of your script?thanks in advance.

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Priority Script: S4ProcLVL
    By massimo1167 in forum AZBox HD Newbie Questions
    Replies: 28
    Last Post: 18-04-2010, 10:11 PM
  2. Problem running script in gemini 4.6
    By veron57 in forum Dreambox DM800HD
    Replies: 0
    Last Post: 10-01-2010, 02:29 AM
  3. Dual Mode Wan + Lan AZboz HD Script
    By AJR in forum AZBox HD Settings
    Replies: 4
    Last Post: 16-04-2009, 02:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •