INTERACT FORUM

Windows => Third Party Plug-ins, Programs, and Skins => Topic started by: MrHaugen on November 04, 2006, 07:02:36 pm

Title: How to use "smartlist wizard" for complex library field?
Post by: MrHaugen on November 04, 2006, 07:02:36 pm
I want to make a plugin for Style/themes etc.
And I want to store data for this things.

Here is an example of what information I would store.
http://yabb.jriver.com/interact/index.php?topic=36737.0
I could probably easily store this as binary code in one library field.
But the problem arises when I want to use this information in a smartlist.
Most people would not know that the binary code 0010010100101000010000001001 is the same as Cherfull/Funky/Electric/Normal/HeavyBass/Party (ONLY an example!)

I do not know if it is the slightest possibility of making MC able to show this in a Wizzard form when making playlists?
Would probably be hard to do from only binary coded field.
And probably hard to make the wizard form anything other than straight down list.

Are my only choise to save the Field information as String, and use the "normal wizard" that's in use for Artists, Genre etc?

I fear that I have to use the plugin to make the playlists too, if I want it to do the stuff that I want to right?
Title: Re: How to use "smartlist wizard" for complex library field?
Post by: Doof on November 07, 2006, 11:43:01 am
If you don't store the data as "Cheerfull;Funky;Electric;Normal;HeavyBass;Party" and in a list type field, then MC won't know what to do with it. Storing it as a binary string will just show up as a binary string in any of MC's wizards.

Is there some reason you can't strore it as a string like I show above?
Title: Re: How to use "smartlist wizard" for complex library field?
Post by: MrHaugen on November 07, 2006, 03:12:51 pm
Darn. That's what I thought.

Is there some reason you can't strore it as a string like I show above?

There's not a big problem storing it this way.
Would need more space in the database. That's the only downside.

This only becomes a problem when the user makes a smartlist and wants to choose the different theme/style/moods.
1. You get the options as a plain list. It will be impossible to categorize the options in any way.
2. IF I implement limitations on choosing tags for the styles, you can't choose "Party" and "Sad/Depressed" at the same time (just an example). It would be impossible to mimic this behavior when choosing the styles right?
3. I also think the result would be, in your example, a list of song wich contains "Cheerfull" AND "Funky" AND "Electric" AND "Normal" AND "HeavyBass" AND "Party" right? That's how it works with artists and similar aint it?

I'm starting to think that I might need to make the plugin able to generate smartlists for the users, or something like that.
Title: Re: How to use "smartlist wizard" for complex library field?
Post by: MrHaugen on November 09, 2006, 01:32:12 pm
Nobody?
Come an guys. What's my options?
Title: Re: How to use "smartlist wizard" for complex library field?
Post by: MrHaugen on November 14, 2006, 02:41:22 pm
Hey.
I really need to clarify this before I can move on with my plugin.
Please help me out