Post Reply 
Moods
02-05-2024, 17:03
Post: #11
RE: Moods
(02-05-2024 15:08)jdg072 Wrote:  It would be great if we could do something with these values to create a play queue.
https://photos.app.goo.gl/ZtaQ5cenDr9XsQ8J6

It's the further classification that's difficult. What did you have in mind?

I did look at using Bliss Music Analyzer to generate smart playlists based off the currently playing track, but just never got around to it, probably because there were too many moving parts:
  • Get the currently playing track (using MinimServer's recently played functionality)
  • Run Bliss Music Analyser to create a plalylist in MinimiServer content directory
  • Initiate a rescan
  • Load playlist through control point.
I've since addressed the first part for some other functionality, so assuming the Bliss part is relatively straightforward it shouldn't be too difficult.

Is that the sort of thing you were thinking about?
Find all posts by this user
Quote this message in a reply
04-05-2024, 08:30 (This post was last modified: 04-05-2024 08:46 by jdg072.)
Post: #12
RE: Moods
I was thinking about:

Sunday morning, select a mood "Relaxed" and in some way :-) relaxed music from every genre was queued.
BBQ, all song with mood BBQ could be shuffled
Dance, al songs with dancebility +80 would be queued.

etc
Find all posts by this user
Quote this message in a reply
04-05-2024, 10:34
Post: #13
RE: Moods
Using these tags from your example

Code:
MOOD=Extremely bored
MOOD_ACOUSTIC=97
MOOD_AGGRESSIVE=1
MOOD_AROUSAL=-99
MOOD_DANCEABILITY=8
MOOD_RELAXED=99
...



(04-05-2024 08:30)jdg072 Wrote:  I was thinking about:

Sunday morning, select a mood "Relaxed" and in some way :-) relaxed music from every genre was queued.
If "Relaxed" is coming from SongKong's classification (the MOOD tag) then just adding MOOD to indexTags and selecting it will result in "music from every genre" in the '[n] items' index, which if you're using a half-decent control point you should be able to Play/Enqueue/Shuffle e.t.c.

Alternatively, if "Relaxed" is based on the MOOD_RELAXED tag and you're looking at any score over 80 as the criteria (as in your Danceability example), the only way to achieve this would be to use tagUpdate:
Code:
@MOOD_RELAXED=100
@MOOD_RELAXED=99
@MOOD_RELAXED=98
@MOOD_RELAXED=97
...
@MOOD_RELAXED=80
+MOOD_CUSTOM=Relaxed
This creates a new tag that's internal to MinimServer called MOOD_CUSTOM (+MOOD_CUSTOM), that for every track with a MOOD_RELAXED score between 80 and 100 has the value Relaxed (+MOOD_CUSTOM=Relaxed).
You could copy and paste this and replace RELAXED with DANCEABILITY e.t.c.

You'd then add MOOD_CUSTOM to IndexTags, select it in your controller and Play/Enqueue/Shuffle from '[n] items'.

(04-05-2024 08:30)jdg072 Wrote:  BBQ, all song with mood BBQ could be shuffled
I have no idea where BBQ is coming from but I doubt it's coming from SongKong. You can obviously come up with your own bands using the MOOD_ stats, but your BBQ music may be very different from mine so I can't help you there.


I haven't gone into too much detail as I'm not sure I've fully understood what you're after, so if it doesn't make sense let me know.
Find all posts by this user
Quote this message in a reply
04-05-2024, 16:54 (This post was last modified: 04-05-2024 17:01 by jdg072.)
Post: #14
RE: Moods
(04-05-2024 10:34)simbun Wrote:  Alternatively, if "Relaxed" is based on the MOOD_RELAXED tag and you're looking at any score over 80 as the criteria (as in your Danceability example), the only way to achieve this would be to use tagUpdate:
Code:
@MOOD_RELAXED=100
@MOOD_RELAXED=99
@MOOD_RELAXED=98
@MOOD_RELAXED=97
...
@MOOD_RELAXED=80
+MOOD_CUSTOM=Relaxed
This creates a new tag that's internal to MinimServer called MOOD_CUSTOM (+MOOD_CUSTOM), that for every track with a MOOD_RELAXED score between 80 and 100 has the value Relaxed (+MOOD_CUSTOM=Relaxed).
You could copy and paste this and replace RELAXED with DANCEABILITY e.t.c.

You'd then add MOOD_CUSTOM to IndexTags, select it in your controller and Play/Enqueue/Shuffle from '[n] items'.

Yes, this should be it a good start, nd will try to get this to work!
I am dreamin aloud now, but wouldn't it be great to have that bar slider thing ACOUSTIC, RELAXED, AGGRESIVE, HAPPY, PARTY, DANCABILITY, ELECTRONICAL, etc... all next each other were you can select the percentages, and there we go for a new playlist.


Agreed that my BBQ music differs from yours :-)
Find all posts by this user
Quote this message in a reply
04-05-2024, 17:47 (This post was last modified: 04-05-2024 17:47 by jdg072.)
Post: #15
RE: Moods
(04-05-2024 10:34)simbun Wrote:  You'd then add MOOD_CUSTOM to IndexTags, select it in your controller and Play/Enqueue/Shuffle from '[n] items'.

I think everything is set up correctly, but I cannot see MOOD_CUSTOM inside Hifi Cast controlpoint.
Do you have any idea, what went wrong?

I made the "tagupdate.txt"
Code:
Etc...
@MOOD_RELAXED=85
@MOOD_RELAXED=84
@MOOD_RELAXED=83
@MOOD_RELAXED=82
@MOOD_RELAXED=81
@MOOD_RELAXED=80
+MOOD_CUSTOM=Relaxed

completed IndexTags: Artist, Date, Genre, Composer, *RecentAdded, BPM, KEY, MOOD_CUSTOM

Did a rescan and/or restart

refreshed my Hifi Cast, but nothing changed.
It did change whem I added BMP, KEY, but they are real TAGS in the files.
Find all posts by this user
Quote this message in a reply
04-05-2024, 18:09 (This post was last modified: 04-05-2024 18:15 by simbun.)
Post: #16
RE: Moods
(04-05-2024 16:54)jdg072 Wrote:  I am dreamin aloud now, but wouldn't it be great to have that bar slider thing ACOUSTIC, RELAXED, AGGRESIVE, HAPPY, PARTY, DANCABILITY, ELECTRONICAL, etc... all next each other were you can select the percentages, and there we go for a new playlist.
The best you could probably do is band each one independently.

Code:
@MOOD_RELAXED=80
+MOOD_RELAXED_CUSTOM=>=80
@MOOD_RELAXED=81
+MOOD_RELAXED_CUSTOM=>=80
@MOOD_RELAXED=82
+MOOD_RELAXED_CUSTOM=>=80
@MOOD_RELAXED=83
+MOOD_RELAXED_CUSTOM=>=80
@MOOD_RELAXED=84
+MOOD_RELAXED_CUSTOM=>=80
@MOOD_RELAXED=85
+MOOD_RELAXED_CUSTOM=>=80
+MOOD_RELAXED_CUSTOM=>=85
@MOOD_RELAXED=86
+MOOD_RELAXED_CUSTOM=>=80
+MOOD_RELAXED_CUSTOM=>=85
@MOOD_RELAXED=87
+MOOD_RELAXED_CUSTOM=>=80
+MOOD_RELAXED_CUSTOM=>=85
@MOOD_RELAXED=88
+MOOD_RELAXED_CUSTOM=>=80
+MOOD_RELAXED_CUSTOM=>=85
@MOOD_RELAXED=89
+MOOD_RELAXED_CUSTOM=>=80
+MOOD_RELAXED_CUSTOM=>=85
@MOOD_RELAXED=90
+MOOD_RELAXED_CUSTOM=>=80
+MOOD_RELAXED_CUSTOM=>=85
+MOOD_RELAXED_CUSTOM=>=90
@MOOD_RELAXED=91
+MOOD_RELAXED_CUSTOM=>=80
+MOOD_RELAXED_CUSTOM=>=85
+MOOD_RELAXED_CUSTOM=>=90
@MOOD_RELAXED=92
+MOOD_RELAXED_CUSTOM=>=80
+MOOD_RELAXED_CUSTOM=>=85
+MOOD_RELAXED_CUSTOM=>=90
@MOOD_RELAXED=93
+MOOD_RELAXED_CUSTOM=>=80
+MOOD_RELAXED_CUSTOM=>=85
+MOOD_RELAXED_CUSTOM=>=90
@MOOD_RELAXED=94
+MOOD_RELAXED_CUSTOM=>=80
+MOOD_RELAXED_CUSTOM=>=85
+MOOD_RELAXED_CUSTOM=>=90
@MOOD_RELAXED=95
+MOOD_RELAXED_CUSTOM=>=80
+MOOD_RELAXED_CUSTOM=>=85
+MOOD_RELAXED_CUSTOM=>=90
+MOOD_RELAXED_CUSTOM=>=95
@MOOD_RELAXED=96
+MOOD_RELAXED_CUSTOM=>=80
+MOOD_RELAXED_CUSTOM=>=85
+MOOD_RELAXED_CUSTOM=>=90
+MOOD_RELAXED_CUSTOM=>=95
@MOOD_RELAXED=97
+MOOD_RELAXED_CUSTOM=>=80
+MOOD_RELAXED_CUSTOM=>=85
+MOOD_RELAXED_CUSTOM=>=90
+MOOD_RELAXED_CUSTOM=>=95
@MOOD_RELAXED=98
+MOOD_RELAXED_CUSTOM=>=80
+MOOD_RELAXED_CUSTOM=>=85
+MOOD_RELAXED_CUSTOM=>=90
+MOOD_RELAXED_CUSTOM=>=95
@MOOD_RELAXED=99
+MOOD_RELAXED_CUSTOM=>=80
+MOOD_RELAXED_CUSTOM=>=85
+MOOD_RELAXED_CUSTOM=>=90
+MOOD_RELAXED_CUSTOM=>=95
@MOOD_RELAXED=100
+MOOD_RELAXED_CUSTOM=>=80
+MOOD_RELAXED_CUSTOM=>=85
+MOOD_RELAXED_CUSTOM=>=90
+MOOD_RELAXED_CUSTOM=>=95

Code:
indexTags: MOOD_RELAXED_CUSTOM
itemTags: MOOD_RELAXED

This would produce an index called MOOD_RELAXED_CUSTOM where you can choose:
Code:
>=80
>=85
>=90
>=95

All these changes give MinimServer more work to do during indexing, so if you wanted to go down this route I'd try and be sparing with the tags and scores you band, or band them in the tags so it'll change the tagUpdate to:
Code:
@MOOD_RELAXED_BANDED=80
+MOOD_RELAXED_CUSTOM=>=80
@MOOD_RELAXED_BANDED=85
+MOOD_RELAXED_CUSTOM=>=80
+MOOD_RELAXED_CUSTOM=>=85
@MOOD_RELAXED_BANDED=90
+MOOD_RELAXED_CUSTOM=>=80
+MOOD_RELAXED_CUSTOM=>=85
+MOOD_RELAXED_CUSTOM=>=90
@MOOD_RELAXED_BANDED=95
+MOOD_RELAXED_CUSTOM=>=80
+MOOD_RELAXED_CUSTOM=>=85
+MOOD_RELAXED_CUSTOM=>=90
+MOOD_RELAXED_CUSTOM=>=95

I hope you get the idea Smile
Find all posts by this user
Quote this message in a reply
04-05-2024, 18:11
Post: #17
RE: Moods
(04-05-2024 17:47)jdg072 Wrote:  
(04-05-2024 10:34)simbun Wrote:  You'd then add MOOD_CUSTOM to IndexTags, select it in your controller and Play/Enqueue/Shuffle from '[n] items'.

I think everything is set up correctly, but I cannot see MOOD_CUSTOM inside Hifi Cast controlpoint.
Do you have any idea, what went wrong?

I forgot to say that MinimServer needs to be aware of the tag that you intend to use in the tagUpdate script, so add:
Code:
itemTags: MOOD_RELAXED
Find all posts by this user
Quote this message in a reply
04-05-2024, 18:35
Post: #18
RE: Moods
Thanks Simon,
This is great to be able to config this!!!
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)