Author Topic: Allmusic tagging  (Read 9514 times)

rudolph

  • Jr. Member
  • **
  • Posts: 37
It would be nice if MusicBee also had Allmusic tagging provider, they have huge database of moods and keywords. Rovi owns Allmusic, here are their API site - http://developer.rovicorp.com/

Example of how many tags for mood and genre there are available for 1 album:  http://www.allmusic.com/album/a-secret-place-mw0000192712

Album Moods - Ambitious Amiable/Good-Natured Atmospheric Confident Dreamy Earnest Earthy Intimate Laid-Back/Mellow Literate Lively Refined Rousing Sensual Sexy Sophisticated Stylish

Album Themes - Relaxation Romantic Evening

Genre:Jazz, R&B

Styles:
Crossover Jazz
Quiet Storm
Soul Jazz
Jazz Instrument
Saxophone Jazz

theta_wave

  • Sr. Member
  • ****
  • Posts: 680
For moods, one person can write a script that extracts the song mood xml string from the allmusic's page for said song with the following regex (pretty dirty): (^.*)(?=allmusic)(.*)(?=mood)(.*)(>)(.*)(<)(.*)(<.*$)

To grab the moods, have the above regex return $5 and somehow include them in the respective album tags.

Yeah, I know I'm breaking a cardinal sin by using regex to parse html.   There must be other ways.

EDIT:  Here's a better way with regex to selecting moods from a song's allmusic page: (?<=\b(allmusic.com/mood/)).*?(?=\-)
Tip #2: If simply wants the capitalized moods in the song's AMG page, then here's the regex: Find: ^.*\b(allmusic.com/mood/).*">(.*)<\/a>.*$ Replace: \2 or $2
Last Edit: February 07, 2016, 08:53:20 AM by ssri

rudolph

  • Jr. Member
  • **
  • Posts: 37

theta_wave

  • Sr. Member
  • ****
  • Posts: 680
Are there any news on this ?
To be honest, AMG (now owned by Rovi), sent takedown notices to tagging software developers whose script/plugin parses the AMG pages to retrieve tag-related info (see mp3tag).  Mediamonkey dropped (or stopped developing) theirs soon thereafter.  I don't think Steven would like any additional complications in his life nor engage Rovi in any licensing negotiations; Rovi has been exploring how to monetize their acquired asset in AMG and I don't think they'll license their API for free or something approaching de minimis.  Then again, I may be completely wrong with respect to Steven's position on this topic.

rudolph

  • Jr. Member
  • **
  • Posts: 37
So.. this is similar situation to Adobe filing lawsuits against RTMPE video downloader software developers...

BTW I found some alternative on github, but it's only a Ruby script

https://github.com/richardjlyon/allmusic
"Get genre and style information from all music.com"

theta_wave

  • Sr. Member
  • ****
  • Posts: 680
So.. this is similar situation to Adobe filing lawsuits against RTMPE video downloader software developers...

BTW I found some alternative on github, but it's only a Ruby script

https://github.com/richardjlyon/allmusic
"Get genre and style information from all music.com"
Alternatively, you can try writing a websource script for mp3tag (http://help.mp3tag.de/main_online.html).  I wrote a bandcamp script in about 30-45mins: https://forums.mp3tag.de/index.php?showtopic=21070 that pulls in several fields:
Bandcamp_URL
Cover (hi-res)
Artist
Album
Band_ID
Album_ID
Track#
Title
Track_ID
Comments (or Description)

It is pretty bare bones, but it is readable and should have everything one needs to pull in any field from AMG.  I modeled it after a defunct AMG Script (google allmusic reddit mp3tag)
Last Edit: June 12, 2016, 05:37:18 PM by ssri

rudolph

  • Jr. Member
  • **
  • Posts: 37
Tried that pastebin script and it didn't work, I guess allmusic have changed their source code. When I launched that script it asked me to input music style ...

I know it's illegal to mention allmusic, but is there some forum or something where people freely make these scripts and share ? Or if someone has the working script, can you please send it to me via PM.

rudolph

  • Jr. Member
  • **
  • Posts: 37
I see there is some good improvement in mood, occasion tags, I guess last.fm have done something in this matter. (or gracenote ?)

I did a tag search for 400 songs, 86%~ were tagged. I also tried the same for 400 songs few months ago and there were barely any tags for every 4th song.. (70s 80s, 90s all genre music)


Or maybe it's because I edited the 2 allowed-tag lists in MusicBee settings. To the default ones I added allmusic tags for occasion and mood to the default ones.

Here's are the lists (arranged by alphabet,removed duplicates):


Mood tags:
Code
acerbic
aggressive
agreeable
airy
ambitious
amiable/good-natured
angry
angst-ridden
anguished/distraught
angular
animated
apocalyptic
arid
athletic
atmospheric
austere
autumnal
belligerent
benevolent
bewildered
bitter
bittersweet
bleak
boisterous
bombastic
bouncy
brash
brassy
bravado
bright
brittle
brooding
calm
calm/peaceful
campy
capricious
carefree
cartoonish
cathartic
celebratory
cerebral
cheerful
child-like
chill
circular
clinical
cold
comic
complacent
complex
concise
confident
confrontational
cosmopolitan
crazy
crunchy
crushed
cynical
cynical/sarcastic
dark
declamatory
defiant
delicate
demonic
depressed
desperate
detached
devotional
difficult
dignified/noble
dramatic
dreamy
driving
druggy
drunk
earnest
earthy
ebullient
eccentric
eclectic
ecstatic
eerie
effervescent
elaborate
elegant
elegiac
emotional
energetic
enigmatic
envious
epic
erotic
ethereal
euphoric
exciting
exotic
explosive
extroverted
exuberant
fantastic/fantasy-like
feel good
feral
feverish
fierce
fiery
flashy
flirty
flowing
fractured
freewheeling
fun
funereal
funky
gentle
giddy
gleeful
gloomy
graceful
greasy
grim
gritty
groovy
gutsy
happy
harsh
haunting
healing
hedonistic
heroic
high
hopeful
hostile
hot
humorous
hungry
hymn-like
hyper
hypnotic
improvisatory
indulgent
innocent
inspiring
insular
intense
intimate
introspective
ironic
irreverent
irritated
jovial
joyous
kinetic
knotty
laid-back/mellow
laidback
languid
lazy
light
literate
lively
lonely
lush
lyrical
macabre
magical
majestic
malevolent
manic
marching
martial
meandering
mechanical
meditation
meditative
melancholic
melancholy
mellow
menacing
messy
mighty
monastic
monumental
motoric
mysterious
mystical
naive
narcotic
narrative
negative
nervous/jittery
nihilistic
nocturnal
nostalgic
ominous
optimistic
opulent
organic
ornate
outraged
outrageous
paranoid
passionate
pastoral
patriotic
peace
peaceful
perky
philosophical
plain
plaintive
playful
pleased
poignant
positive
powerful
precious
provocative
pulsing
pure
quirky
rambunctious
ramshackle
raucous
reassuring/consoling
rebellious
reckless
refined
reflective
regretful
rejected
relaxed
reserved
resolute
restrained
retro
reverent
rhapsodic
rollicking
romantic
rousing
rowdy
rustic
sacred
sad
sarcastic
sardonic
satirical
savage
scary
scattered
searching
self-conscious
sensual
sentimental
serious
severe
sexual
sexy
shimmering
silly
sleazy
slick
smooth
snide
soft/quiet
somber
soothing
sophisticated
soulful
spacey
sparkling
sparse
spicy
spiritual
spontaneous
spooky
sprawling
sprightly
springlike
stately
street-smart
striding
strong
stylish
suffocating
sugary
suicidal
summery
surprised
suspenseful
swaggering
sweet
swinging
sympathetic
technical
tender
tense/anxious
theatrical
thoughtful
threatening
thrilling
thuggish
tragic
transparent/translucent
trashy
trippy
triumphant
tuneful
turbulent
uncompromising
understated
unsettling
upbeat
uplifting
urgent
virile
visceral
volatile
vulgar
warm
weary
weird
whimsical
wild
wintry
wistful
witty
wry
yearning


Occasion tags:
Code
adventure
affection/fondness
affirmation
anger/hostility
animals
anniversary
argument
at the beach
at the office
autumn
award winners
awareness
background
background music
biographical
birth
birthday
breakup
carnival
cars
celebration
celebrities
children
chillout
christmas
christmas party
city life
classy gatherings
club
comfort
conflict
cool & cocky
country life
crime
d-i-v-o-r-c-e
dance party
daydreaming
day driving
death
despair
destiny
dinner
dinner ambiance
disappointment
dreaming
drinking
driving
drugs
early morning
easter
empowering
everyday life
exercise/workout
family
family gatherings
fantasy
fear
feeling blue
flying
food/eating
forgiveness
fourth of july
freedom
friendship
funeral
girls night out
goodbyes
good times
graduation
guys night out
halloween
hanging out
happiness
healing/comfort
heartache
heartbreak
high school
historical events
holiday
holidays
home
homecoming
hope
housework
illness
in love
introspection
jealousy
joy
late night
lifecycle
loneliness
long walk
loss/grief
love
lying
magic
maverick
meditation
memorial
military
mischievous
monday morning
money
moon
morning
motivation
music
myths & legends
nature
new love
new year
night driving
nighttime
open road
other times & places
pain
parenthood
party
partying
passion
patriotism
peace
picnic
playful
poetry
politics/society
pool party
prom
promises
protest
rain
rainy day
rave
reflection
regret
relationships
relaxation
religion
reminiscing
reunion
revolutionary
road
road trip
romance
romantic
romantic evening
running
scary music
school
science
scifi
seduction
separation
sex
sleep
slow dance
small gathering
solitude
sorrow
sports
spring
starry sky
starting out
stay in bed
storms
street life
summer
sun
sunday afternoon
sunny
sweet dreams
teenagers
temptation
tgif
thanksgiving
the creative side
the great outdoors
theme
tragedy
travel
truth
twilight
vacation
valentine
victory
violence
visions
wake up
war
water
weather
wedding
winter
wisdom
word play
work
workout
world view
yearning
youth
zeitgeist

Last Edit: August 28, 2016, 01:54:23 AM by rudolph

theta_wave

  • Sr. Member
  • ****
  • Posts: 680
Example of how many tags for mood and genre there are available for 1 album:  http://www.allmusic.com/album/a-secret-place-mw0000192712

Album Moods - Ambitious Amiable/Good-Natured Atmospheric Confident Dreamy Earnest Earthy Intimate Laid-Back/Mellow Literate Lively Refined Rousing Sensual Sexy Sophisticated Stylish

Album Themes - Relaxation Romantic Evening

Genre:Jazz, R&B

Styles:
Crossover Jazz
Quiet Storm
Soul Jazz
Jazz Instrument
Saxophone Jazz
Someone just incorporated what you wanted in foobar2000 via JScript panel (javascript): https://hydrogenaud.io/index.php/topic,112914.msg944573.html#msg944573

I understand it isn't Musicbee, but this is the closest I've seen your feature request being incorporated anywhere (I haven't checked out what kodi does with their allmusic scraper).  You can use foobar2000 to mass tag your files with the above metadata and have them show up in Musicbee if so desired.

rudolph

  • Jr. Member
  • **
  • Posts: 37
Example of how many tags for mood and genre there are available for 1 album:  http://www.allmusic.com/album/a-secret-place-mw0000192712

Album Moods - Ambitious Amiable/Good-Natured Atmospheric Confident Dreamy Earnest Earthy Intimate Laid-Back/Mellow Literate Lively Refined Rousing Sensual Sexy Sophisticated Stylish

Album Themes - Relaxation Romantic Evening

Genre:Jazz, R&B

Styles:
Crossover Jazz
Quiet Storm
Soul Jazz
Jazz Instrument
Saxophone Jazz
Someone just incorporated what you wanted in foobar2000 via JScript panel (javascript): https://hydrogenaud.io/index.php/topic,112914.msg944573.html#msg944573

I understand it isn't Musicbee, but this is the closest I've seen your feature request being incorporated anywhere (I haven't checked out what kodi does with their allmusic scraper).  You can use foobar2000 to mass tag your files with the above metadata and have them show up in Musicbee if so desired.

Thanks for posting this, looks good. Will try it out sometime soon. I also found something similar I wanted on here - GMT Manager ("A plugin for MusicBee to help manage music Genres, Moods and Themes
")