Results 1 to 5 of 5

Thread: [BUG]: Run-time error '381': Invalid Property Array Index

  1. #1
    Constant Bitrate
    Join Date
    Mar 2006
    Posts
    217

    [BUG]: Run-time error '381': Invalid Property Array Index

    When you click >| (next song) when in shuffle mode when in a folder with no songs in it, but iwth sub folders with songs in them, the error appears. Fix would be to have it search inside a random subfolder for a song, then play that so you could shuffle from multiple folders. for those of us with out artists organized by folders, it would allow to shuffle between artists not just between songs.

  2. #2
    Mobile Impact Creator reddeath30's Avatar
    Join Date
    Mar 2005
    Location
    Fontana, California
    Posts
    1,142
    Quote Originally Posted by Eubey View Post
    When you click >| (next song) when in shuffle mode when in a folder with no songs in it, but iwth sub folders with songs in them, the error appears. Fix would be to have it search inside a random subfolder for a song, then play that so you could shuffle from multiple folders. for those of us with out artists organized by folders, it would allow to shuffle between artists not just between songs.
    Thanks for the report. To make that work, it would be an extremely large amount of code for that to happen, plus the delay while it searches subfolders. You could have 1000 subfolders and it would have to search through them all to come up with its results. Admitedly the shuffle feature doesnt work very well at all, but the alternative would be a really slow clunky program, so I chose to keep it simple. I will look into the error message and make sure it is fixed in the next version.
    Mobile Impact
    Highly innovative car computer multimedia/entertainment system software.
    http://mobileimpact.biz.tm

  3. #3
    Constant Bitrate
    Join Date
    Mar 2006
    Posts
    217
    i dont think it would be too hard. Heres the non-programming logic behind it:

    List of folders, each folder has a number (line number)

    Function NextShuffleSong
    OpenFolder ( Random Number Between 1 and Max Folder)
    ChoseSong ( Random Number Between 1 and Max Song)
    End FUnction


    So you dont have to array every song within every folder to choose the next song. First chose a folder, then choose a song.

  4. #4
    Mobile Impact Creator reddeath30's Avatar
    Join Date
    Mar 2005
    Location
    Fontana, California
    Posts
    1,142
    Quote Originally Posted by Eubey View Post
    i dont think it would be too hard. Heres the non-programming logic behind it:

    List of folders, each folder has a number (line number)

    Function NextShuffleSong
    OpenFolder ( Random Number Between 1 and Max Folder)
    ChoseSong ( Random Number Between 1 and Max Song)
    End FUnction


    So you dont have to array every song within every folder to choose the next song. First chose a folder, then choose a song.
    Wouldnt it be nice if it were that simple... Actually what the program has to do is find all of the music files within the given folder and or subfolders, including wma, mp3, wav, etc. then it has to dump the results into a temporary container, database, grid control, whatever, then it has to number all of the results, or assign a number to each song, then it has to pick at random one of the numbers(songs). It would only have to do the search once, but what if you added music later, then it would have to do the search again. This is just not an efficient way to do it, plus all of the extra coding that it would take to make it perform this. Making the program do this would just add some major lags while running and the potential for errors and failures. I have demo'd streetdeck, and it has a feature where you can sort your music by album or artist, etc. But it is very inconsistent, like sometimes it will miss songs, or it will put the wrong album art on the wrong song, etc. It works pretty well most of the time, but there is some lag time. To make it work more randomly for your tastes, you might want to consider reorganizing your music so that the program can access the music better.
    Mobile Impact
    Highly innovative car computer multimedia/entertainment system software.
    http://mobileimpact.biz.tm

  5. #5
    Constant Bitrate
    Join Date
    Mar 2006
    Posts
    217
    alright, well looks like no multi artist shuffle for me. Oh well, thanks for a great program anyway. I have only had 2 instances of crashing, and only 1 duplicateable crash, so i am very pleased with your software. much faster than road runner.

Similar Threads

  1. Invalid Argument
    By tn6478 in forum StreetDeck
    Replies: 20
    Last Post: 12-30-2007, 09:02 PM
  2. 1.0.4.7 bug
    By debugger in forum StreetDeck
    Replies: 9
    Last Post: 07-01-2006, 04:01 AM
  3. Centrafuse 1.6 Bugs
    By Mbai2 in forum CF Bug Reports
    Replies: 57
    Last Post: 05-10-2006, 11:30 AM
  4. Run WinCE & XP together
    By ShawJohn in forum Software & Software Development
    Replies: 12
    Last Post: 11-07-2005, 06:09 PM
  5. Replies: 0
    Last Post: 01-16-2004, 08:31 AM

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
  •