Jump to content



Photo

BMP - another media player v 1.7


  • Please log in to reply
34 replies to this topic

#21 Warning

Warning

    Seeker

  • Active Members
  • 45 posts

Posted 13 January 2011 - 08:31 PM

I have updated the source code again for the media player, see the notes in the first post for the updates for this version. Version is now 1.6, also I realized that I had inadvertantly deleted the support files so I have uploaded them again as well as the source code update.


Where is the AudioGenie3.au3?





#22 BrewManNH

BrewManNH

    באָבקעס מיט קודוצ׳ה

  • MVPs
  • 6,797 posts

Posted 13 January 2011 - 09:46 PM

Where is the AudioGenie3.au3?

Whoops, you can delete that line from the script. I must have left it in after trying to get AudioGenie to work with it and failed. It's the line that says, #include <audiogenie.au3> at the top of the script.

How to ask questions the smart way!

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.

Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.

_FileGetProperty - Retrieve the properties of a file SciTE Toolbar - A toolbar demo for use with the SciTE editorGUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.

GUIToolTip UDF Demo - Demo script to show how to use the GUIToolTip UDF to create and use customized tooltips.

Posted Image


#23 Warning

Warning

    Seeker

  • Active Members
  • 45 posts

Posted 14 January 2011 - 01:18 PM

Whoops, you can delete that line from the script. I must have left it in after trying to get AudioGenie to work with it and failed. It's the line that says, #include <audiogenie.au3> at the top of the script.

another error:
#include <ExtMsgBox.au3> cannot be found

and it semms important for the script. cuz when I try to open a music it says [ERROR - line 898]:

Unknown function name.: _ExtMsgBox(64, 0, "No Files", "No music found at that location", 2)

How2Fix it?

#24 BrewManNH

BrewManNH

    באָבקעס מיט קודוצ׳ה

  • MVPs
  • 6,797 posts

Posted 14 January 2011 - 03:02 PM

Seems like I was asleep at the switch when I updated the files last time. I have reuploaded the files, and the support files as well. I have included the ExtMsgBox.au3 UDF and its support files as well as removing the AudioGenie include line in the main file.

I apologize for that, I will have to be much more careful in the future. :x

How to ask questions the smart way!

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.

Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.

_FileGetProperty - Retrieve the properties of a file SciTE Toolbar - A toolbar demo for use with the SciTE editorGUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.

GUIToolTip UDF Demo - Demo script to show how to use the GUIToolTip UDF to create and use customized tooltips.

Posted Image


#25 Warning

Warning

    Seeker

  • Active Members
  • 45 posts

Posted 14 January 2011 - 06:22 PM

Damn. now there isn't missing au3 :x

But: Line406 $Timer = TimerInit() ^ERROR Error: Cannot assign values to constants


I watched the options and found the problem. I have to tick the formations. (mp3, wav, wma etc...)
But now:

Line 1019 (File"....") $aLV_Items[$LV_Contetnts +$I] = GUICtrlCreateListViewItem($String, $Listview) ^ERROR Error: Array variable has incorrect number pf subscripts or subscript dimension reage exceeded.


Any idea to fix it?

#26 BrewManNH

BrewManNH

    באָבקעס מיט קודוצ׳ה

  • MVPs
  • 6,797 posts

Posted 14 January 2011 - 07:16 PM

I have reuploaded (again) the BMPfiles.zip archive with the corrected ExtMsgBox.au3 file, I had modified the original UDF by Melba23 with a couple of tweaks and I uploaded the unmodified version the previous time. I have also corrected, at least I think I have, the errors you were getting plus I fixed an error I found with the Next and Previous button functions that weren't working as I intended.

How to ask questions the smart way!

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.

Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.

_FileGetProperty - Retrieve the properties of a file SciTE Toolbar - A toolbar demo for use with the SciTE editorGUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.

GUIToolTip UDF Demo - Demo script to show how to use the GUIToolTip UDF to create and use customized tooltips.

Posted Image


#27 Warning

Warning

    Seeker

  • Active Members
  • 45 posts

Posted 14 January 2011 - 08:17 PM

Great, the media palyer is almost working :x

but:

Line 1021 (File"....") $aLV_Items[$LV_Contetnts +$I] = GUICtrlCreateListViewItem($String, $Listview) ^ERROR Error: Array variable has incorrect number pf subscripts or subscript dimension reage exceeded.

Edited by Warning, 14 January 2011 - 08:52 PM.


#28 BrewManNH

BrewManNH

    באָבקעס מיט קודוצ׳ה

  • MVPs
  • 6,797 posts

Posted 14 January 2011 - 09:17 PM

What are you doing when that error occurs? It's hard to track down what's causing it as that function is used frequently.

How to ask questions the smart way!

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.

Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.

_FileGetProperty - Retrieve the properties of a file SciTE Toolbar - A toolbar demo for use with the SciTE editorGUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.

GUIToolTip UDF Demo - Demo script to show how to use the GUIToolTip UDF to create and use customized tooltips.

Posted Image


#29 Warning

Warning

    Seeker

  • Active Members
  • 45 posts

Posted 15 January 2011 - 10:42 PM

What are you doing when that error occurs? It's hard to track down what's causing it as that function is used frequently.

Start Bobs_Media_Player_1_7.au3
Music library not found..... -> No
File
Add to song library
Choose a folder
OK
Building Library [picture] but b4 it finish:
'ERROR'
OK
Script-Exitted

Edited by Warning, 16 January 2011 - 06:17 PM.


#30 Warning

Warning

    Seeker

  • Active Members
  • 45 posts

Posted 19 January 2011 - 02:12 PM

So, do you know what is this error message? [Sorry, I'm new so can't "analyze/repair" it)

#31 BrewManNH

BrewManNH

    באָבקעס מיט קודוצ׳ה

  • MVPs
  • 6,797 posts

Posted 19 January 2011 - 06:54 PM

See the latest version in the first post, it should eliminate that error. Thanks for letting me know about it.

How to ask questions the smart way!

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.

Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.

_FileGetProperty - Retrieve the properties of a file SciTE Toolbar - A toolbar demo for use with the SciTE editorGUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.

GUIToolTip UDF Demo - Demo script to show how to use the GUIToolTip UDF to create and use customized tooltips.

Posted Image


#32 Warning

Warning

    Seeker

  • Active Members
  • 45 posts

Posted 19 January 2011 - 09:11 PM

Lol, Still buggy to me :x

Music Library is not found
Create a new Library?

-No -> Error message "Line 852"

#33 JBtje

JBtje

    Seeker

  • Active Members
  • 14 posts

Posted 19 January 2011 - 11:24 PM

Ok, great program -> when its gonna work!

same problem as reported above -> create new playlist -> yes -> cant find any songs

I think the problem occures because the ini file is empty :|
Correct me if i'm wrong, lines 877 - 891 he creates a "search" statement for songs, thought line 875
$FileTypesRead = IniReadSection($IniFile, "FileTypes")

it reads nothing, so the search statement is empty, so no files found...

Could u include the ini file in the ZIP?
Thanks,
Jeffrey

p.s. no need to correct me :x add
$FileTypes = "*.MP3;"
to line 893 and you'll be able to load mp3 files... THOUGHT there are way more configurations in the ini file, so I would still really appriciate it if you could upload it :P

Edited by JBtje, 19 January 2011 - 11:27 PM.


#34 BrewManNH

BrewManNH

    באָבקעס מיט קודוצ׳ה

  • MVPs
  • 6,797 posts

Posted 20 January 2011 - 02:24 AM

Ok, great program -> when its gonna work!

It works for the most part, no need to be snippy. You can always look at the source yourself and fix what you think needs fixing.

same problem as reported above -> create new playlist -> yes -> cant find any songs

I think the problem occures because the ini file is empty :|
Correct me if i'm wrong, lines 877 - 891 he creates a "search" statement for songs, thought line 875

$FileTypesRead = IniReadSection($IniFile, "FileTypes")

it reads nothing, so the search statement is empty, so no files found...

Could u include the ini file in the ZIP?
Thanks,
Jeffrey

I've corrected the .ini file issue, now if the file types aren't in the .ini file, then it will create them first and will read all the types the program is set to read now.

p.s. no need to correct me :x add

$FileTypes = "*.MP3;"
to line 893 and you'll be able to load mp3 files... THOUGHT there are way more configurations in the ini file, so I would still really appriciate it if you could upload it :shifty:

That was one thought I had, but I figured that I would improve on it by doing it the right way.

The source file in the first post has been updated to fix the empty .ini issue. There's no point in including an .ini file with the source as it's constantly being updated and changed by the program itself. There are a few settings saved in the .ini file and if the file doesn't exist, there's a default setting for all of them except for the file types to search for.

I have also included a bug fix in case someone chooses to create a new music list but hits cancel when asked what folder to search. Having never done this, the problem never showed up for me until I actually tried something like that. :P

How to ask questions the smart way!

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.

Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.

_FileGetProperty - Retrieve the properties of a file SciTE Toolbar - A toolbar demo for use with the SciTE editorGUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.

GUIToolTip UDF Demo - Demo script to show how to use the GUIToolTip UDF to create and use customized tooltips.

Posted Image


#35 JBtje

JBtje

    Seeker

  • Active Members
  • 14 posts

Posted 20 January 2011 - 08:23 PM

It works for the most part, no need to be snippy. You can always look at the source yourself and fix what you think needs fixing.

Thats the great part about the Englisch language, there is "if" and there is "when". "If" means that something migh happen, but youre entirely not sure if its going to hapen or not. "When" means that youre already sure that it is going to happen, but dont know yet when :x

Adding the dirty line I posted, gave the program something to search for, after which I could "create" the ini file by saving the config once (and yes, than it worked :P)

Edited by JBtje, 20 January 2011 - 08:23 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users