Solved Issue - Milkdrop 2 for XBMC

  Thread Rating:
  • 3 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Jmhthefirst Offline
Senior Member
Posts: 276
Joined: Jan 2013
Reputation: 0
Post: #31
Me too! I was told it doesn't work on Android platform.
find quote
teeedubb Offline
Donor
Posts: 3,374
Joined: Mar 2010
Reputation: 97
Location: Down Under
Post: #32
(2013-09-15 20:06)wsnipex Wrote:  linux builds are here: https://launchpad.net/~wsnipex/+archive/...s-unstable

note that you will get an error that the package tries to overwrite stuff in the xbmc package, so you must force install it for now.

Will Project M 2.0 be included in gotham?
find quote
sialivi Offline
Posting Freak
Posts: 1,210
Joined: Dec 2008
Reputation: 9
Location: Sweden
Post: #33
(2014-01-27 13:29)teeedubb Wrote:  Will Project M 2.0 be included in gotham?

Nope
find quote
Devo7v Offline
Junior Member
Posts: 48
Joined: Nov 2011
Reputation: 1
Post: #34
Hopefully if Milkdrop is ever included or if they decide to fix bugs with the original Milkdrop addon they will fix the bug where you cannot select additional preset packs. For some reason the preset packs are hardcoded in the addon so the only way to use additional preset packs is to rename them to one of the hardcoded names.

Looks like zipped/rar'ed preset packs must either

A) have the same name as ONE of these TWO hard-coded files:

else if (strcmp(id, "Preset Pack") == 0)
{
if (*(int*)value == 0)
{
g_UserPackFolder = false;;
SetPresetDir ("WA51-presets(265).zip");
}
else if (*(int*)value == 1)
{
g_UserPackFolder = false;
SetPresetDir ("Winamp-presets(436).zip");
}
else if (*(int*)value == 2)
g_UserPackFolder = true;
}
else if (strcmp(id, "User Preset Folder") ==0 )
{
if (g_UserPackFolder) SetPresetDir ((char*)value);
}
else
return ADDON_STATUS_UNKNOWN;

return ADDON_STATUS_OK;
}

OR

B) be unzipped in a directory and point the milkdrop plugin to the directory that contains all the .milk files.

Hard coded presets can be seen here:
https://github.com/xbmc/xbmc/blob/master...opXBMC.cpp
and maybe someone will fix this at some point to search the directory for any .zip/.rar/.7z files.

See this thread for a little bit more information (http://forum.xbmc.org/showthread.php?tid=116138)
find quote
suberimakuri Offline
Junior Member
Posts: 24
Joined: Oct 2013
Reputation: 0
Post: #35
+1 would love to see on XBMC (Debian here). Would love to see more visualizations in general and figure out how to add..
find quote
auralarch Offline
Junior Member
Posts: 2
Joined: Aug 2014
Reputation: 0
Post: #36
There seems to be a fair amount of expressed interest in having MilkDrop 2 implemented in XBMC... Lots of support/requests here anyway.

The software has been open-sourced, it uses DirectX (perfect for Windows but excludes other platforms unfortunately)... So what's problem?

Has anyone attempted to update the plugin? Are there some kind of complications?

MD2 presets are far superior to v1- and there are SO many available for download! MilkDrop 2 is basically the best visualizer that I've found so far- and it has so much room for customization & etc. It just seems like a natural fit with XBMC. I don't understand why none of the devs seem to have picked this up yet.

I wish I knew how to code- it would be done already- and more.... there are so many ideas I have for developing MilkDrop further.

As far as ProjectM goes... it doesn't actually provide FULL support for all MilkDrop 2 presets (despite what they say). Plus they left out a lot of the features that were in MD. It's still better than a number of other visualizers and it beats nothing all over the place- but it's really disappointing.
find quote
RockerC Offline
Posting Freak
Posts: 1,485
Joined: May 2011
Reputation: 28
Post: #37
@auralarch, you say MilkDrop but you can only get ProjectM, because ProjectM is open source reverse engineering of the closed sourced MilkDrop. XBMC can't use MilkDrop because it is closed source, so you have to be satisfied with ProjectM. If not then you have to upgrade or improve ProjectM's code and its presets.

XBMC today however only uses ProjectM 1.0 and its presets, but it that would be upgraded to ProjectM 2.1 and its presets you would be golden

http://forum.xbmc.org/showthread.php?tid=138602
http://forum.xbmc.org/showthread.php?tid=51561
(2013-09-11 23:08)spiff Wrote:  https://github.com/cptspiff/visualization.projectm uses 2.0. i haven't tested fancy presets but it's 2.0
cptspiff => notspiff https://github.com/notspiff/visualization.projectm
(This post was last modified: 2014-08-06 14:50 by RockerC.)
find quote
MrC Offline
Team-XBMC Developer
Posts: 88
Joined: Jan 2004
Reputation: 2
Location: England
Post: #38
Milkdrop isn't closed source, its been included with XBMC since back on the Xbox.

As for Milkdrop 2, the only complication about running it in XBMC is me being too lazy to finish it up and release it. I've actually had it working since the start of the year. I'll try and release it some day when I get some time.

Here's a screenshot to keep you going for now...

[Image: IfDCCOh.jpg]

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
(This post was last modified: 2014-08-06 23:54 by MrC.)
find quote
teeedubb Offline
Donor
Posts: 3,374
Joined: Mar 2010
Reputation: 97
Location: Down Under
Post: #39
MrC please do... I had a crack at it a while ago but didn't get very far and forgot all about it until this thread was posted in.
find quote
cezar Offline
Member
Posts: 63
Joined: Oct 2013
Reputation: 0
Post: #40
YEs for this visualisation wait alot people special on others platforms like arm.
This is very big problem in xbmc vhere is no any good visulisation.
find quote
RockerC Offline
Posting Freak
Posts: 1,485
Joined: May 2011
Reputation: 28
Post: #41
(2014-08-06 23:50)MrC Wrote:  Milkdrop isn't closed source, its been included with XBMC since back on the Xbox.
Well I'm not sure that is not quite true as the full answer looks to be a little more complicated than that, and I just tried so simplify them as far as code usage for XBMC goes.

The underlying facts as I understand them is that while MilkDrop source code technically "open" for developers read, it uses a mix of old BSD-license and none-licensed copyrighted code which is not compatible with GPLv2 license which XBMC is bound under.

See https://github.com/xbmc/xbmc/blob/master...CProjectM/

XBMC can not use the source code from MilkDrop because of its current license, but it can instead use the source code from ProjectM which is GPLv2 licensed and is basically just reverse engineering clone of MilkDrop functions anyway.

http://sourceforge.net/projects/projectm/

ProjectM is thus backward compatible with presets for MilkDrop, so using presets for MilkDrop with ProjectM in XBMC will make it look and feel like MilkDrop for users.

ProjectM 1.x aims to be compatible with all the features of Milkdrop 1.x and its presets
ProjectM 2.x aims to be compatible with all the features of Milkdrop 2.x and its presets

So for all intense and purposes ProjectM does equal MilkDrop as far as XBMC is concerned and again maybe more importantly ProjectM 2.x does support OpenGL and OpenGL ES 2, and have been ported to Android and iOS.
Quote:MilkDrop's content is comprised of presets. Each preset has a certain look and feel, created by a dozen or so short pieces of computer and/or shader code, as well as several dozen variables that can be tuned. Users can play with MilkDrop to create their own new presets, even writing new computer or shader code on-screen, while they run the preset and see the effects of their changes. This has spawned a large community of people authoring many thousands of presets, creating new visuals and making it react to the music in ways that I never dreamed of. Mainly thanks to this preset authoring community, MilkDrop continues to evolve to this day.
So while was probably mainly a code licensing conflict why XBMC are using ProjectM source code instead MilkDrop, this can now also be of benefit for Android, Linux, and iOS uses too.

cptspiff have at least updated ProjectM internal to 2.0.0 in his fork here https://github.com/notspiff/visualization.projectm
(This post was last modified: 2014-08-07 10:12 by RockerC.)
find quote
ironic_monkey Offline
Posting Freak
Posts: 1,423
Joined: Nov 2013
Reputation: 66
Post: #42
actually it's whatever the system provides, so it does 2.1 as well. just didn't bump the bundled lib.
find quote
teeedubb Offline
Donor
Posts: 3,374
Joined: Mar 2010
Reputation: 97
Location: Down Under
Post: #43
Damn I got my milkdrop and project m mixed up in my earlier post.

ironic_monkey, looking through your git hub repo above does project m need to be built alome, built with xbmc or can the visualization.projectm directory be installed with other xbmc addons?
find quote
ironic_monkey Offline
Posting Freak
Posts: 1,423
Joined: Nov 2013
Reputation: 66
Post: #44
it can be built standalone or it can be built in-line with my buildsystem. it's just a normal add-on, and i have no changes in the interface so it should work fine with mainline.

https://github.com/wsnipex/xbmc/tree/more-addons is effort to bring this to mainline.
find quote
teeedubb Offline
Donor
Posts: 3,374
Joined: Mar 2010
Reputation: 97
Location: Down Under
Post: #45
Cheers.
find quote
Post Reply