INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: How to use "smartlist wizard" for complex library field?  (Read 1733 times)

MrHaugen

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 3774
How to use "smartlist wizard" for complex library field?
« 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?
Logged
- I may not always believe what I'm saying

Doof

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5908
  • Farm Animal Stupid
Re: How to use "smartlist wizard" for complex library field?
« Reply #1 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?
Logged

MrHaugen

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 3774
Re: How to use "smartlist wizard" for complex library field?
« Reply #2 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.
Logged
- I may not always believe what I'm saying

MrHaugen

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 3774
Re: How to use "smartlist wizard" for complex library field?
« Reply #3 on: November 09, 2006, 01:32:12 pm »

Nobody?
Come an guys. What's my options?
Logged
- I may not always believe what I'm saying

MrHaugen

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 3774
Re: How to use "smartlist wizard" for complex library field?
« Reply #4 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
Logged
- I may not always believe what I'm saying
Pages: [1]   Go Up