home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
Watch / Listen Media
Listen Music
Winamp Visualisations. Finally :-)
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="BassFan" data-source="post: 145105"><p>I have written the Bass_Vis and if I say this then the wrong path is it also is in such a way.</p><p>The given path of Hwahrmann is the wrong path.</p><p></p><p>any is bad <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p><p>Pluginpath ist 'visualisations'</p><p>BassVis set the environmentPath to ''visualisations' not other Path!</p><p></p><p>you can not use </p><p>c:\Program Files\Team Mediaportal\MusicPlayer\plugins\visualisations\Win Amp\MilkDrop\vis_milk</p><p></p><p>put all plugins and Folders to ''visualisations' not other path.</p><p></p><p><strong>Source..</strong></p><p></p><p>[CODE] string skinFolderPath = Path.Combine(Application.StartupPath, @"musicplayer\plugins\visualizations");</p><p> string[] soniqueVisPaths = BassVis.BASS_VIS_FindPlugins(skinFolderPath, BASSWINAMPFindPlugin.BASS_VIS_FIND_SONIQUE | BASSWINAMPFindPlugin.BASS_VIS_FIND_RECURSIVE); ;</p><p> // Init winamp Support, otherwise we won't get any infos about winamp plugins</p><p> BassVis.BASS_WINAMPVIS_Init(BassVis.GetWindowLongPtr(GUIGraphicsContext.form.Handle, (int)GWLIndex.GWL_HINSTANCE), VizRenderWindow.Handle);</p><p> string[] winampVisPaths = BassVis.BASS_VIS_FindPlugins(skinFolderPath, BASSWINAMPFindPlugin.BASS_VIS_FIND_WINAMP | BASSWINAMPFindPlugin.BASS_VIS_FIND_RECURSIVE); ;[/CODE]</p><p></p><p></p><p><strong>Application.StartupPath = c:\Program Files\Team Mediaportal</strong></p><p><strong>skinFolderPath = Application.StartupPath + \musicplayer\plugins\visualizations</strong></p><p></p><p><strong>BassVis.BASS_VIS_FindPlugins(skinFolderPath ...</strong></p><p>hwahrman use the Flag 'BASS_VIS_FIND_RECURSIVE' this is verry critical User can copy Plugins in bad Folder then nothing work.</p><p>this is thats milk can read and create INI file in bad Folder... OK?</p><p>BassVis not actcept this.</p><p></p><p>BassVis work only correct your use <strong>visualizations</strong> Folder not other Folder this is my <span style="color: Red">warnig</span>!</p><p></p><p><strong>EDIT:</strong></p><p>i have write a Mail to hwahrmann and have say use the Folder 'Plugins' only not Visualization</p><p>hwahrmann has nothing changed and use how befor 'Visualization'</p><p>this is critical Winamp Plugins check if the Path = Plugins when not any Plugins not work correct is not a problem with BassVis only default from Plugins.</p><p><strong>That makes many problems </strong></p><p></p><p>here is a sniped from Winamp Plugin 'DelphiOpenGl'</p><p></p><p>[CODE]procedure TForm1.FormCreate(Sender: TObject);</p><p>var PluginIni : TIniFile;</p><p> Path : String;</p><p> P : Integer;</p><p> Width : Integer;</p><p>begin</p><p> // Get path to winamp plugin.ini file</p><p> Path :=ParamStr(0);</p><p> P :=Length(Path);</p><p> while Path[P] <> '\' do</p><p> Dec(P);</p><p> Path :=Copy(Path, 1, P);</p><p> Path :=Path + 'Plugins\';</p><p></p><p> PluginIni := TIniFile.Create(Path + 'plugin.ini');</p><p></p><p> // Get window settings</p><p> Width :=PluginIni.ReadInteger('JansGL', 'Width', 800);</p><p> if Width = 640 then</p><p> RadioButton1.Checked :=TRUE</p><p> else if Width = 800 then</p><p> RadioButton2.Checked :=TRUE</p><p> else if Width = 1024 then</p><p> RadioButton3.Checked :=TRUE;</p><p></p><p> CheckBox1.Checked :=PluginIni.ReadBool('JansGL', 'FullScreen', FALSE);</p><p></p><p> // Get display settings</p><p> CheckBox2.Checked :=PluginIni.ReadBool('JansGL', 'BackgroundBeat', TRUE);</p><p> CheckBox3.Checked :=PluginIni.ReadBool('JansGL', 'BounceBeat', FALSE);</p><p></p><p> PluginIni.Free;</p><p>end;</p><p>[/CODE]</p><p></p><p><strong>Sample:</strong></p><p>Path :=Path + 'Plugins\';</p><p><strong>Path = c:\Program Files\Team Mediaportal</strong></p><p><strong>Path = Path + \musicplayer\plugins\visualizations + \Plugins\</strong></p><p></p><p>Plugin create INI in PluginIni := TIniFile.Create(Path + 'plugin.ini');</p><p>Plugin will write to Path + \plugin.ini'</p><p><strong>when Plugin not found the path 'Plugins' then MediaPortal crash ..</strong></p><p></p><p>for the Plugin is this Path</p><p><strong>Path = c:\Program Files\Team Mediaportal\musicplayer\plugins\visualizations + \Plugins\</strong></p><p>bad </p><p>then it will write to it and can not found!</p><p></p><p>i hope you can understand my bad english.</p><p></p><p>Show this Pic thats is the right way.</p><p><a href="https://forum.team-mediaportal.com/attachment.php?attachmentid=6125&d=1176478436" target="_blank">https://forum.team-mediaportal.com/attachment.php?attachmentid=6125&d=1176478436</a></p><p></p><p>greets BassFan</p></blockquote><p></p>
[QUOTE="BassFan, post: 145105"] I have written the Bass_Vis and if I say this then the wrong path is it also is in such a way. The given path of Hwahrmann is the wrong path. any is bad ;) Pluginpath ist 'visualisations' BassVis set the environmentPath to ''visualisations' not other Path! you can not use c:\Program Files\Team Mediaportal\MusicPlayer\plugins\visualisations\Win Amp\MilkDrop\vis_milk put all plugins and Folders to ''visualisations' not other path. [B]Source..[/B] [CODE] string skinFolderPath = Path.Combine(Application.StartupPath, @"musicplayer\plugins\visualizations"); string[] soniqueVisPaths = BassVis.BASS_VIS_FindPlugins(skinFolderPath, BASSWINAMPFindPlugin.BASS_VIS_FIND_SONIQUE | BASSWINAMPFindPlugin.BASS_VIS_FIND_RECURSIVE); ; // Init winamp Support, otherwise we won't get any infos about winamp plugins BassVis.BASS_WINAMPVIS_Init(BassVis.GetWindowLongPtr(GUIGraphicsContext.form.Handle, (int)GWLIndex.GWL_HINSTANCE), VizRenderWindow.Handle); string[] winampVisPaths = BassVis.BASS_VIS_FindPlugins(skinFolderPath, BASSWINAMPFindPlugin.BASS_VIS_FIND_WINAMP | BASSWINAMPFindPlugin.BASS_VIS_FIND_RECURSIVE); ;[/CODE] [B]Application.StartupPath = c:\Program Files\Team Mediaportal[/B] [B]skinFolderPath = Application.StartupPath + \musicplayer\plugins\visualizations[/B] [B]BassVis.BASS_VIS_FindPlugins(skinFolderPath ...[/B] hwahrman use the Flag 'BASS_VIS_FIND_RECURSIVE' this is verry critical User can copy Plugins in bad Folder then nothing work. this is thats milk can read and create INI file in bad Folder... OK? BassVis not actcept this. BassVis work only correct your use [B]visualizations[/B] Folder not other Folder this is my [COLOR="Red"]warnig[/COLOR]! [B]EDIT:[/B] i have write a Mail to hwahrmann and have say use the Folder 'Plugins' only not Visualization hwahrmann has nothing changed and use how befor 'Visualization' this is critical Winamp Plugins check if the Path = Plugins when not any Plugins not work correct is not a problem with BassVis only default from Plugins. [B]That makes many problems [/B] here is a sniped from Winamp Plugin 'DelphiOpenGl' [CODE]procedure TForm1.FormCreate(Sender: TObject); var PluginIni : TIniFile; Path : String; P : Integer; Width : Integer; begin // Get path to winamp plugin.ini file Path :=ParamStr(0); P :=Length(Path); while Path[P] <> '\' do Dec(P); Path :=Copy(Path, 1, P); Path :=Path + 'Plugins\'; PluginIni := TIniFile.Create(Path + 'plugin.ini'); // Get window settings Width :=PluginIni.ReadInteger('JansGL', 'Width', 800); if Width = 640 then RadioButton1.Checked :=TRUE else if Width = 800 then RadioButton2.Checked :=TRUE else if Width = 1024 then RadioButton3.Checked :=TRUE; CheckBox1.Checked :=PluginIni.ReadBool('JansGL', 'FullScreen', FALSE); // Get display settings CheckBox2.Checked :=PluginIni.ReadBool('JansGL', 'BackgroundBeat', TRUE); CheckBox3.Checked :=PluginIni.ReadBool('JansGL', 'BounceBeat', FALSE); PluginIni.Free; end; [/CODE] [B]Sample:[/B] Path :=Path + 'Plugins\'; [B]Path = c:\Program Files\Team Mediaportal[/B] [B]Path = Path + \musicplayer\plugins\visualizations + \Plugins\[/B] Plugin create INI in PluginIni := TIniFile.Create(Path + 'plugin.ini'); Plugin will write to Path + \plugin.ini' [B]when Plugin not found the path 'Plugins' then MediaPortal crash ..[/B] for the Plugin is this Path [B]Path = c:\Program Files\Team Mediaportal\musicplayer\plugins\visualizations + \Plugins\[/B] bad then it will write to it and can not found! i hope you can understand my bad english. Show this Pic thats is the right way. [url]https://forum.team-mediaportal.com/attachment.php?attachmentid=6125&d=1176478436[/url] greets BassFan [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Watch / Listen Media
Listen Music
Winamp Visualisations. Finally :-)
Contact us
RSS
Top
Bottom