Progress bar tutorial needed (1 Viewer)

egonspengleruk

Retired Team Member
  • Premium Supporter
  • June 30, 2005
    250
    0
    Hi all,

    Can someone shed some light on what all the Progress Bar bits and bobs do please?
    Im trying to use one to show progress of me ripping CD's but im having great trouble getting the .SetLine calls to show stuff on the screen and I dont have any scroll bar (I have set the ShowProgressBar to true) even though I have told it to be 50% wide as a test.
    Whats the difference between the following
    StartModel
    DoModel
    ContinueModel

    and how do I detect if the cancel button has been pressed?

    Cheers

    Egon
     

    kaybe

    Retired Team Member
  • Premium Supporter
  • May 13, 2005
    85
    0
    Germany
    hello egonspengleruk,

    I am writing a cd ripping plugin too
    and i had problems with the gui too. :D.
    I dont know if you have read the plugin tutorial.
    http://mediaportal.sourceforge.net/PluginTutorial/PluginTutorial.htm, but in the same way descibed in the tut, you can detect if your cancel button has been pressed.

    ProgressBar:
    Have you set a progressbar in the xml file for the skin? With the
    .Percentage property you can set it to a value.
    Hope this will help you.

    Its nice to see there is an other one who is developing a cd ripper plugin.

    regards

    kaybe
     

    egonspengleruk

    Retired Team Member
  • Premium Supporter
  • June 30, 2005
    250
    0
    kaybe said:
    hello egonspengleruk,

    I am writing a cd ripping plugin too
    and i had problems with the gui too. :D.
    I dont know if you have read the plugin tutorial.
    http://mediaportal.sourceforge.net/PluginTutorial/PluginTutorial.htm, but in the same way descibed in the tut, you can detect if your cancel button has been pressed.

    ProgressBar:
    Have you set a progressbar in the xml file for the skin? With the
    .Percentage property you can set it to a value.
    Hope this will help you.

    Its nice to see there is an other one who is developing a cd ripper plugin.

    regards

    kaybe

    Hi Kaybe,

    How far along are you in your plugin? I put a link up on the plugin forum a week or so ago to see if anyone else was developing anything :)

    I currently have it ripping from the CD to MP3's....and am waiting for a CD bug to be fixed before I can look at the IMDB lookup side of things.

    Is it worth pooling our code together?

    Egon
     

    kaybe

    Retired Team Member
  • Premium Supporter
  • May 13, 2005
    85
    0
    Germany
    I have started it some weeks ago. Because of less time and the switch to
    .Net 2 it had to pause.
    At the moment, it gets the CD information from freedb and rips it to mp3.
    The GUI is working quite good I think.
    I dont know what cd bug you mean.
    About pooling the code together I will write you a pm.

    kaybe
     

    Users who are viewing this thread

    Top Bottom