Winamp Visualisations. Finally :-) (4 Viewers)

B

BassFan

Guest
How does vis_milk care where it is in relation to Mediaportal? As far as I can see the INI file is always created in the same directory as vis_milk. Go check out hwahrmans posts on page 2 of this thread where he shows his path to be:

c:\Program Files\Team Mediaportal\MusicPlayer\plugins\visualisations\Win Amp\MilkDrop\vis_milk

which according to your post wont work. I don't think this is the issue but I'm going to try it when I get a chance tomorrow.

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.

Source..

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); ;


Application.StartupPath = c:\Program Files\Team Mediaportal
skinFolderPath = Application.StartupPath + \musicplayer\plugins\visualizations

BassVis.BASS_VIS_FindPlugins(skinFolderPath ...
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 visualizations Folder not other Folder this is my warnig!

EDIT:
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.
That makes many problems

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;

Sample:
Path :=Path + 'Plugins\';
Path = c:\Program Files\Team Mediaportal
Path = Path + \musicplayer\plugins\visualizations + \Plugins\

Plugin create INI in PluginIni := TIniFile.Create(Path + 'plugin.ini');
Plugin will write to Path + \plugin.ini'
when Plugin not found the path 'Plugins' then MediaPortal crash ..

for the Plugin is this Path
Path = c:\Program Files\Team Mediaportal\musicplayer\plugins\visualizations + \Plugins\
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.
https://forum.team-mediaportal.com/attachment.php?attachmentid=6125&d=1176478436

greets BassFan
 

kenwonders

MP Donator
  • Premium Supporter
  • January 19, 2007
    791
    741
    Home Country
    England England
    I just moved everything around like you said and it made no difference. Still the same config problems and no difference in behaviour in Mediaportal.

    I'm going to leave this alone now, I gave you guys about 5 hours total QA time and I feel more like I'm being a pain than a help.
     
    B

    BassFan

    Guest
    I just moved everything around like you said and it made no difference. Still the same config problems and no difference in behaviour in Mediaportal.

    I'm going to leave this alone now, I gave you guys about 5 hours total QA time and I feel more like I'm being a pain than a help.

    no problem for me ;)

    greets BassFan
     

    Andreas

    Portal Member
    March 2, 2005
    16
    0
    Sweden
    Home Country
    Sweden Sweden
    kenwonders, you are not alone. I have the same problem as you. I also have tested everything in this treat with no luck.

    The last thing I have tested is to install MP+latest svn on my other computer with same Win XP Pro. The different is another hardware platform and here it works. So I thing there's maybe some hardware stuff involved. My HTPC is a faster machine, see "My System".
    On the computer that this works on have an AMD Athlon 64 3200+ and a MSI K8N Neo4F MB + Geforce 6200 Graphic card.

    I hope this can help a little.
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,630
    2,462
    Vienna, Austria
    Home Country
    Austria Austria
    • Thread starter
    • Moderator
    • #85
    Just for your info.
    My Dev Notebook is a Mobile Pentium with an Onboard Graphics Board.
    The Notebook is 2 1/2 years old and i don't have any problem you describe.
     

    mpfrank

    Portal Pro
    November 6, 2006
    186
    0
    Cologne
    Home Country
    Germany Germany
    Hi @ all,

    just testing the new winamp viz within MP. Great work!!

    Is there any chance to change viz within MP with a keystroke and NOT changing it in MP Configuration GUI (configuration.exe)? I mean e.g. switching from G-Force to Milkdrop while playing music in MP and viz in fullscreen...

    Thanks & regards
    Frank
     
    B

    BassFan

    Guest
    Hi @ all,

    just testing the new winamp viz within MP. Great work!!

    Is there any chance to change viz within MP with a keystroke and NOT changing it in MP Configuration GUI (configuration.exe)? I mean e.g. switching from G-Force to Milkdrop while playing music in MP and viz in fullscreen...

    Thanks & regards
    Frank

    Na endlich mal jemand bei dem es auch gut funktioniert.
    Habe den anschein das einige Leute entweder nicht die Hardware ..
    oder aber einfach nicht in der lage sind MP zu konfigurieren.

    Sorry .. Muste mal gesagt werden.
    Auch bei mir läuft das ohne probleme von kleinigkeiten abgesehen siehe Plugin Pfad.

    gruss BassFan
     

    mpfrank

    Portal Pro
    November 6, 2006
    186
    0
    Cologne
    Home Country
    Germany Germany
    Hi again,

    once again my question:

    Is there any keystroke to change the viz within MP or is the only way to change viz by configuration.exe?
    Would be great to switch the viz without leaving MP or stopping music play...

    Thanks & cheers
    mpFrank
     

    Users who are viewing this thread

    Top Bottom