Clumsy
Team-XBMC Forum Moderator Posts: 624 Joined: Feb 2004 Reputation: 0 |
2011-01-17 17:34
Post: #11
Looks cool, looking forward to it !
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. |
| find quote |
idefixs
Junior Member Posts: 33 Joined: Jan 2011 Reputation: 0 Location: Austria |
2011-01-17 22:47
Post: #12
--OUTDATED-- --OUTDATED-- --OUTDATED-- --OUTDATED-- --OUTDATED-- --OUTDATED--
You can download fishBMC sources from: fishBMC-3.2.0.tar.gz So far it's an "experts only" release, but I'll try to make installation more user friendly.
(This post was last modified: 2011-01-27 17:36 by idefixs.)
|
| find quote |
idefixs
Junior Member Posts: 33 Joined: Jan 2011 Reputation: 0 Location: Austria |
2011-01-18 16:01
Post: #13
In addon.xml, I can specify library_linux, library_osx, and so on...
BUT: How do I tell the system which bitness to use? Do I have to create two addon packages for 64/32bit? |
| find quote |
idefixs
Junior Member Posts: 33 Joined: Jan 2011 Reputation: 0 Location: Austria |
2011-01-18 18:22
Post: #14
I have made an Add-On available here: 32bit 64bit
There's also a repo available here ATTENTION: So far, only Linux 64-bit is tested. If you have success on other platforms, let me know.
(This post was last modified: 2011-01-19 12:27 by idefixs.)
|
| find quote |
alanwww1
Team-XBMC Member Joined: Nov 2008 Reputation: 32 Location: Hungary |
2011-01-19 19:08
Post: #15
idefixs Wrote:I noticed the "SetSetting" function never gets called - is this normal (and if so, what do I do instead to let the user choose parameters) or have I missed something? Hello Idefixs ! I made the latest Refactor of ProjectM, Milkdrop settings handling. I can help you if you have any question regarding this. I can tell that the SetSetting() function is get called each time when the visualization starts multiple times going through all settings you have in settings.xml. And of course when any setting is changed in GUI. For example if you check opengl spectrum's code https://github.com/xbmc/xbmc/blob/master...m.cpp#L354 this function gets called 3 times with *strSetting values "mode", "bar_height", "speed" and their values in "value". Note that the visualization gets stopped and restarted with screen changes. There is even the possibility now that the visualization can save its own state like used preset, preset locked status. You can see this for example at Milkdrop code: https://github.com/xbmc/xbmc/blob/master...C.cpp#L265 If you have any questions regarding this, just ask. Cheers, Alan 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. |
| find quote |
idefixs
Junior Member Posts: 33 Joined: Jan 2011 Reputation: 0 Location: Austria |
2011-01-19 21:49
Post: #16
Thank you Alan,
I have found out that SetSetting does get called after I return STATUS_NEED_SETTINGS. Works perfectly now. The other thing you mention is indeed very interesting. Does this mean, I could also have a statically allocated memory area? This would greatly help fishBMC start up faster. As it is now, quite a lot of arithmetic has to be performed for every restart. |
| find quote |
alanwww1
Team-XBMC Member Joined: Nov 2008 Reputation: 32 Location: Hungary |
2011-01-20 00:05
Post: #17
idefixs Wrote:I have found out that SetSetting does get called after I return STATUS_NEED_SETTINGS. Works perfectly now. No. It only allows introducing some gui hidden settings in settings.xml which can be updated when the vis is terminated. This way when restarting again, these settings get applied through the SetSettings() function. This is useful to keep state of the vis across screens and even across sessions. To hold more data, you could create a file for that. I think keeping a memory area when a plugin is not used, is not so good, but maybe Devs disagree. I am not sure. 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. |
| find quote |
idefixs
Junior Member Posts: 33 Joined: Jan 2011 Reputation: 0 Location: Austria |
2011-01-20 00:16
Post: #18
I have thought about creating a file for storing the required data. The file would be quite large (up to 80 MB) - i will look into it and see what the performance gain would be.
|
| find quote |
pike
Project Manager Joined: Sep 2003 Reputation: 28 Location: Sweden |
2011-01-24 20:48
Post: #19
@idefixs Cool with a new Visualizer, we can never have too many of those!
A couple of remarks... The 'init' each time the vis (re)starts, how come this is the first viz I've ever seen this in ? How many built in "Modes" is there ? they seem to repeat pretty often 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. ![]() |
| find quote |
idefixs
Junior Member Posts: 33 Joined: Jan 2011 Reputation: 0 Location: Austria |
2011-01-27 17:35
Post: #20
pike Wrote:The 'init' each time the vis (re)starts, how come this is the first viz I've ever seen this in ? Thank you for your feedback! The answers to those two questions are somewhat interconnected. To run, fishBMC requires quite a large amount of data (in Detail = Extreme we're looking at 4MB per "mode"). Where to get all that data? The fastest way would be to have a statically allocated memory area, which is not currently possible within XBMC. I am looking into the possibility of saving the data to disk, but I doubt this will be a lot faster than the present method of just recalculating everything. This said, there are currently 20 different vector fields, which could easily be expanded. |
| find quote |

![[Image: badge.gif]](http://www.ohloh.net/projects/9132/badge.gif)
Search
Help