Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: AMIP - the complete now playing plug-in (Read 240182 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

AMIP - the complete now playing plug-in

Reply #50
I noticed that AMIP makes foobar2000 load really slow. With the plugin loaded, it takes about 5 secs before a simple playlist is loaded. If I just remove the amip.dll it loads the playlist instantly (get an error that amip wasn't loaded, but anyway).

Tested some more:
This has to do with DDE, because when I disabled IRC Integration, it loaded normally again with AMIP. Before I just used a empty preset instead of disabling IRC Integration. My manual config works anyway, so its a workaround.

AMIP - the complete now playing plug-in

Reply #51
Enable 'direct send' checkbox in AMIP options and it will use FileMapping instead of DDE which is much faster.

AMIP - the complete now playing plug-in

Reply #52
AMIP 2.44 released.

Changes:

2.44
----------------------------
* fb2k: fix for playing NSF from .zip and other archive related fixes
* Updated installer
* Quality should be displayed more properly in Playlist Search (using %br and %typ instead of %ABR and %MOD) TODO: make it configurable
* %sl should work properly for all formats now
+ %sel - seconds left (ss), %mil - minutes left (mm), %sle - total seconds left
+ Option (cfg_drawupdate) to update active caption text every second (useful when variable values are changed, such as playback position)
* Some optimizations in format info reading function
* Vorbis tags are now properly converted from UTF-8 to ASCII
+ MusePack format support (%mpc flag)


Available from: http://amip.tools-for.net/index.php?content=download

AMIP - the complete now playing plug-in

Reply #53
amip causes me problems when playing any source after playing a stream:

it hangs for a little while, then console: "ERROR (CORE) : playback thread shutdown timed out"
it also hangs for a bit when exiting after this, then a popup: "metadb_handle leaks, 1 object"

it doesn't do this after playing a file.

fb 0.7.2b6, win98(non-SE), athlonxp

i suppose it may be due to this fb beta version, or my ancient OS.
but i found reference to the metadb error wrt other plugins, where the solution appeared to be a bug fix of the plugin.

AMIP - the complete now playing plug-in

Reply #54
Quote
amip causes me problems when playing any source after playing a stream:

it hangs for a little while, then console: "ERROR (CORE) : playback thread shutdown timed out"
it also hangs for a bit when exiting after this, then a popup: "metadb_handle leaks, 1 object"

it doesn't do this after playing a file.

fb 0.7.2b6, win98(non-SE), athlonxp

i suppose it may be due to this fb beta version, or my ancient OS.
but i found reference to the metadb error wrt other plugins, where the solution appeared to be a bug fix of the plugin.

I've also experienced this problem. At first i thought it was a Foobar2000 bug, but i tried without amip (as this is the only plugin i've added thats not included in foobar_special.exe), and the problem was gone.

This also happens when switching between different streams. And it also refuses to play local files after it has happened (stuck at: Opening...)

I also get the same error messages..
myspace.com/borgei - last.fm/user/borgei


AMIP - the complete now playing plug-in

Reply #56
AMIP 2.45 has been released with the following list of changes:

* fb2k: fixed hangup when quering track info which doesn't exist (samplerate, channels)
* Configuration subsystem rewritten from scratch
+ New API to work with config: allows to get/set any config variable and to load/save config file. See help for more info
+ 'showmsgonstart' config option (1/0) disables/enables showing the standard AMIP message in mIRC when player is started
+ 'useencspot' config option. When set to 0 disables advanced info processing and improves performance (Advanced Header Variables will be not available)
+ 'usecache' config option. If set to 1 AMIP will cache all the parsed song info for later use and will not process the same file twice during one session
+ '/dde mplug setvar <variable> <value>' allows to set any config variable
+ '/dde mplug config save' and '/dde mplug config load' to save/load configuration
+ '/dde mplug cfgdump' dumps all the config variables and values to mIRC
* func_lc and func_uc should work fine now for non-latin characters
* id3lib updated to v3.9.0 from CVS
+ Show numbers in playlist search dialog (default is on for all the players except Foobar2000), controlled by 'indexlist' parameter
* 'Play Matched' feature improvements (local playlist is no longer cleared when calling playlist search dialog)
* DDE communication speed with IRC clients is greatly improved (at least 10 times faster now) Please note that you need to restart IRC client after changing its DDE Server name
* wa3: fixed installer
+ &func_next() provides all possible information about the next song in the playlist, see help for more information
+ playcb, pausecb, stopcb config strings for play/pause/stop callback actions, no frontend yet, can be configured via config or /dde mplug setvar. For geeks only, not tested
+ clipboard integration: sendenter, sendcontrolenter config options (0/1), if enabled, automatically emulates pressing ENTER or CTRL+ENTER after pasting song info to the window. Useful for sending into IRC/ICQ clients (should work with Trillian)

Availabe from http://amip.tools-for.net/index.php?content=download

AMIP - the complete now playing plug-in

Reply #57
hrm, how would i make this work in hydrairc ??? is it possible?

AMIP - the complete now playing plug-in

Reply #58
Quote
hrm, how would i make this work in hydrairc ??? is it possible?

Not yet.

AMIP - the complete now playing plug-in

Reply #59
Build 2.46: performance improvements, fixes   

2.46
----------------------------
* Clipboard integration settings were not saved on exit
* &c, &b, etc, are no longer converted in variables
+ 'updatefile' config option. If set to 1, file content is updated every second
* File integration improvements
+ Exit callback config option (exitcb)
* STLport 4.6
* Fixed bug with functions when parameter is empty
+ 'ignore' config parameter - regular expression, if title matches the pattern, AMIP will ignore it (useful to skip Buffering or Connecting for streams)
* Changes in playlist should be detected better
+ 'displaydelay' config parameter - delay in milliseconds, song info will be displayed only when this time passes
* Rollback id3lib to 3.8.0. This should fix problems with Year tag and random crashes
+ 'parsedelay' config parameter, will delay file parsing for the specified number of milliseconds (use values divisible by 1000). Super handy to make AMIP fully transparent and do not lag when frequently switching songs. If the value is greater than zero, all parsing is done in a separate thread and doesn't lag the player. This can be used with or without 'displaydelay'. If used with 'displaydelay', then you will get song info after parsedelay+displaydelay milliseconds. If you are using 'parsedelay', caching will be enabled despite of 'usecache' parameter
+ %parsestate variable. For script writers. Allows to get the current state of parser thread. (PARSING_ABORTED -2, PARSING_NOT_STARTED -1, PARSING_STARTED 0, PARSING_FINISHED 1). At the moment it may be not easy to catch the PARSING_FINISHED state, becaue it switches to PARSING_NOT_STARTED within a second
* Installer fixes
* Compiled with VC 7.1 (VS.NET 2003)

Additionally I've probably fixed fb2k crashes caused by improper terminating extra parameters for the format function.

AMIP - the complete now playing plug-in

Reply #60
how about support for DC++ ?
[..:: West Coast Electro Sound of Holland ::..]

AMIP - the complete now playing plug-in

Reply #61
Quote
how about support for DC++ ?

Currently it's not planned.

AMIP - the complete now playing plug-in

Reply #62
Hi,
I just wanted to know if it was possible to switch from playlist with a /dde mplug command...


Because i have written a /randmp3 command, but when it plays the song in a playlist "Commandline" if i re-do a /randmp3 Fb2k rands in this playlist...



Thanks a lot 

AMIP - the complete now playing plug-in

Reply #63
Quote
I just wanted to know if it was possible to switch from playlist with a /dde mplug command...

No, unfortunately it is not supported at the moment, however I'll consider your suggestion.

AMIP - the complete now playing plug-in

Reply #64
thanks !

With this feature, you can easily programm a random command in Mirc


Hope

AMIP - the complete now playing plug-in

Reply #65
Build 2.47 released.
----------------------------
* Fixed bug with configuration saving/loading related to presets (introduced in 2.45). Thanks to Markus Henn for noticing
* Callbacks are invoked only when file info is parsed, the same concerns file integration. Fixed stop callback invoked twice on winamp startup

AMIP - the complete now playing plug-in

Reply #66
Is it just me, or does the foobar2000 AMIP plugin download still contain the 2.45 files?


AMIP - the complete now playing plug-in

Reply #68
Hello CrazyCoder,

I use AMIP 2.46 together with foobar2000 0.7.7; the titles are all
displayed with the file integration method and chans are only
spammed on-key. ;)

It works quite okay, however I get a noticeable delay when 'new'
tracks in the playlist are played... up to 2-3 secs maybe. Some-
times I'm too quick for these delay and display the old song name.
It does not happen when I completely reload the playlist, i.e.
choosing a song from within the explorer.

Is there any way to reduce this delay? A value of a second should
be okay. I'm not sure if this is an AMIP or foobar issue...

AMIP - the complete now playing plug-in

Reply #69
Quote
Hello CrazyCoder,

I use AMIP 2.46 together with foobar2000 0.7.7; the titles are all
displayed with the file integration method and chans are only
spammed on-key.

It works quite okay, however I get a noticeable delay when 'new'
tracks in the playlist are played... up to 2-3 secs maybe. Some-
times I'm too quick for these delay and display the old song name.
It does not happen when I completely reload the playlist, i.e.
choosing a song from within the explorer.

Is there any way to reduce this delay? A value of a second should
be okay. I'm not sure if this is an AMIP or foobar issue...

Get AMIP 2.48 and Configurator from http://amip.tools-for.net/config/ , then see Performance settings:



Set Parse delay to something like 5000. In this case AMIP will start parsing song file in the new background thread and only after 5 seconds since the song change. You should be able to switch songs fast without even been parsed by AMIP.

AMIP - the complete now playing plug-in

Reply #70
Ah thx, works perfectly smooth now .

AMIP - the complete now playing plug-in

Reply #71
new AMIP 2.48 beta and Configurator 0.09 are available for testing

Beta downloads page
Screenshots gallery

changes since 2.47:

* Automatically detect changes in the config file and reload it
+ Prepare to work with extended Java configurator (will be released soon)
* Update song info when selection is changed using mouse in the Playlist Search dialog
* Fix "Initialization failed" on some systems caused by bug in STLport 4.6
* STLport 5.0 beta (testing) => then back to 4.6 due to huge memleaks in 5.0
* fb2k: get dynamic song info for streams
* Do not clear caches when title changes, since it my change due to update of the same file info
* CStdString updated to the recent version
* PCRE 4.5
* Deadlock in search dialog should be fixed now
* Several more bugs with search dialog fixed
+ ! Song info in search dialog is configurable now
* $ can be used instead of &func_, for instance: $cf(%name) instead of &func_cf(%name) - capitalizes first letters of song titlte
+ $if(condition,true,false)
+ $if2(condition,true)
+ $mat(subject,pattern) - $if($mat(%VBR,yes),VBR,CBR)
+ $trunc(text,length) truncates string by lenght and appends "..."
+ $trunc2(text,length,char) - truncates and appends char
+ $chr(dec) - inserts character with dec code
+ $enc(text,encoding), where encoding can be WIN, KOI, OEM, FIDO
* !!! Presets parsing rewritten from scratch, no more %lb and %mcmd, multiple commands must be separated by new line, please correct your presets. You can also comment lines in preset using #
+ RUS: /template command now supports encodings, optional format is: /template:(input_file|enc) output_file, where enc can be KOI, OEM  and FIDO, source encoding should be always WIN
+ Advanced options to configure song change detection

AMIP - the complete now playing plug-in

Reply #72
I've been using AMIP for over a year now.. really love this one, but now I switched from mIRC to x-chat and I have no idea how to make it work with foobar :)

Maybe xchat would need a DDE server plugin? couldn't find one from xchats site nor google :(

AMIP - the complete now playing plug-in

Reply #73
Quote
I've been using AMIP for over a year now.. really love this one, but now I switched from mIRC to x-chat and I have no idea how to make it work with foobar

Maybe xchat would need a DDE server plugin? couldn't find one from xchats site nor google

AMIP doen't support XChat, however you can try to use clipboard integration to paste into XChat.

For full integration it's necessary to write a dde plug-in for XChat.

AMIP - the complete now playing plug-in

Reply #74
I'm not really sure if this is a plugin that I want to use, so you're going to have to convince me  .

What I'm looking for is a Foobar plugin that will handle the web-side part of my private Icecast station (not publicly broadcast, but open to anyone who knows my domain name). Currently, I'm using Winamp + SongRequester + some plugin for "now playing". Theoretically, this works well enough, but I have a problem where, if network traffic on my server box goes high, Winamp can't start a new track for a few seconds, which kills the stream and knocks off anybody listening for about 20 seconds. This is a huge problem for me, but I'm convinced that using Foobar would be a great help. Unfortunately, I haven't seen a song requester plugin that has been at all useful for me. You see, the main feature that I need is playlist queueing: If someone goes to my page and clicks on a request link, the song should be queued instead of playing immediately and disrupting the currently playing song.

Anyway, I was wondering if a feature like this would be on the horizon with AMIP or what. The plugin looks really cool, and it can really help me with "advertising" my station when I want, all of which would be a great bonus, if I could get a song requester with a queue.

I hope I sound on the ball about this--I only spent a minute or two browsing the thread and the AMIP homepage, honestly. Perhaps I could have found my answer already  .