egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

allmusic.tcl - music band information.
Goto page 1, 2  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
username
Op


Joined: 06 Oct 2005
Posts: 196
Location: Russian Federation, Podolsk

PostPosted: Tue Jul 12, 2011 1:29 am    Post subject: allmusic.tcl - music band information. Reply with quote

Hello. This script search in http://allmusic.com and return result to channel.
Works like this:

Quote:
<tvrsh> !allmusic
<@bionic> Используйте !allmusic <название коллектива> для поиска и получаения информации о нем.

<tvrsh> !allmusic beasti boy
<@bionic> #1 - Relevance: 92%, Name: Beastie Boys, Genre: Rap, Years Active: 80s, 90s, 00s
<@bionic> #2 - Relevance: 91%, Name: Beastie Boy, Genre: Electronic
<@bionic> #3 - Relevance: 80%, Name: Beast Boyz, Genre: Rap
<@bionic> Beastie Boys
<@bionic> Formed: 1979 in New York, NY.
<@bionic> Years active: 1910 20 30 40 50 60 70 [color=#804000]80 90 2000[/color].
<@bionic> Genres: Rap Pop/Rock.
<@bionic> Styles: Alternative Rap / Golden Age / Alternative Pop/Rock / Alternative/Indie Rock / Old-School Rap / Hardcore Punk / Punk/New Wave.
<@bionic> Moods: Boisterous / Brash / Bravado / Carefree / Cheerful / Confident / Freewheeling / Manic / Playful / Rousing / Rowdy / Witty / Acerbic / Aggressive / Energetic / Exuberant / Fun / Humorous / Ironic / Irreverent.
<@bionic> Biography: As the first white rap group of any importance, the Beastie Boys received the scorn of critics and strident hip-hop musicians, both of whom accused them of cultural pirating, especially since they began as a hardcore punk group in 1981. But the Beasties weren't pirating -- instead, they treated rap as part of a post-punk musical underground, where the D.I.Y. aesthetics of hip-hop and punk weren't that far apart. Of course, the
<@bionic> exaggerated b-boy and frat-boy parodies of their unexpected hit debut album, Licensed to Ill, didn't help their cause. For much of the mid-'80s, the Beastie Boys were considered macho clowns, and while they dismissed that theory with the ambitious, ...
<@bionic> Members: Mike D / MCA / Ad-Rock / Kate Schellenbach / John Berry.


Download: allmusic.tcl
_________________
Архив TCL скриптов для ботов Eggdrop/Windrop:
http://egghelp.ru/


Last edited by username on Sun Jul 15, 2012 10:47 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
spithash
Master


Joined: 12 Jul 2007
Posts: 248
Location: Libera

PostPosted: Tue Jul 12, 2011 2:25 pm    Post subject: Reply with quote

this is awesome bro! well done! very very useful!!! Smile
_________________
Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
goalie204
Halfop


Joined: 28 Apr 2011
Posts: 44

PostPosted: Thu Jul 21, 2011 10:45 am    Post subject: Reply with quote

edit: my bad
Back to top
View user's profile Send private message
username
Op


Joined: 06 Oct 2005
Posts: 196
Location: Russian Federation, Podolsk

PostPosted: Sun Jul 15, 2012 10:45 am    Post subject: Reply with quote

Updated and works fine with new website design.
_________________
Архив TCL скриптов для ботов Eggdrop/Windrop:
http://egghelp.ru/
Back to top
View user's profile Send private message Send e-mail Visit poster's website
shaneo
Voice


Joined: 09 Jan 2012
Posts: 8

PostPosted: Sat Jul 21, 2012 5:33 pm    Post subject: remove some features Reply with quote

Hi is there a way to remove how what the script fetches from allmusic. I want to slim it down a bit by removing some of the data it fetches.Also is there anyway the script can grab the artist's last album and maybe upcoming album? Any help is appreciated thank you
Back to top
View user's profile Send private message
spithash
Master


Joined: 12 Jul 2007
Posts: 248
Location: Libera

PostPosted: Fri Oct 05, 2012 11:51 am    Post subject: Reply with quote

I believe that the script is malfunctioning Sad

Code:
[19:50:08] <@spithash> !music pink floyd
[19:50:11] <@nagger> #1
[19:50:12] <@nagger> #2
[19:50:13] <@nagger> #3


Here is the party line error (I believe that the website is changed/modified)

Code:
[17:09] Tcl error [::allmusic::allmusic_pub]: Missing host part: /"> <h3 class="sprite2 bg-header-logo" title="allmusic"><span>AllMusic</span></h3> </a> </div> <div id="nav"> <form id="search_bar" class="search_form" method="POST" action="/search/all/"> <input type="text" id="search_input" name="term" value="" placeholder="search for artists, albums and songs" tabindex="1"> <input class="submit sprite2 btn-search-black" type="submit" value=""

_________________
Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
spithash
Master


Joined: 12 Jul 2007
Posts: 248
Location: Libera

PostPosted: Fri Nov 02, 2012 8:27 pm    Post subject: Reply with quote

/me pokes username

Idea
_________________
Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
username
Op


Joined: 06 Oct 2005
Posts: 196
Location: Russian Federation, Podolsk

PostPosted: Wed Dec 19, 2012 8:56 am    Post subject: Reply with quote

Hello everyone.
Updated. Try it.
_________________
Архив TCL скриптов для ботов Eggdrop/Windrop:
http://egghelp.ru/
Back to top
View user's profile Send private message Send e-mail Visit poster's website
username
Op


Joined: 06 Oct 2005
Posts: 196
Location: Russian Federation, Podolsk

PostPosted: Sat Aug 24, 2013 4:23 am    Post subject: Reply with quote

One more update.
_________________
Архив TCL скриптов для ботов Eggdrop/Windrop:
http://egghelp.ru/
Back to top
View user's profile Send private message Send e-mail Visit poster's website
spithash
Master


Joined: 12 Jul 2007
Posts: 248
Location: Libera

PostPosted: Sat Aug 24, 2013 4:24 am    Post subject: Reply with quote

I think that the script stopped working again Sad
_________________
Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
spithash
Master


Joined: 12 Jul 2007
Posts: 248
Location: Libera

PostPosted: Sun Sep 08, 2013 1:13 pm    Post subject: Reply with quote

/me pokes username
_________________
Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
spithash
Master


Joined: 12 Jul 2007
Posts: 248
Location: Libera

PostPosted: Fri Oct 18, 2013 5:26 am    Post subject: Reply with quote

so, I got version 1.4 from this website, but there's an error that crashes the bot
http://www.egghelp.ru/files/656

Code:
[12:26] missing close-brace
    while executing
"namespace eval allmusic {
    # Сбрасываем значения всех переменных.
    foreach p [array names allmusic *] { catch {u..."
    (file "scripts/allmusic.tcl" line 31)
    invoked from within
"source scripts/allmusic.tcl"

_________________
Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
username
Op


Joined: 06 Oct 2005
Posts: 196
Location: Russian Federation, Podolsk

PostPosted: Mon Oct 21, 2013 12:08 pm    Post subject: Reply with quote

Try it again.
_________________
Архив TCL скриптов для ботов Eggdrop/Windrop:
http://egghelp.ru/
Back to top
View user's profile Send private message Send e-mail Visit poster's website
spithash
Master


Joined: 12 Jul 2007
Posts: 248
Location: Libera

PostPosted: Tue Oct 22, 2013 2:50 am    Post subject: Reply with quote

Awesome, works great now, thank you. I love this script!
_________________
Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
janari
Voice


Joined: 12 Dec 2013
Posts: 4

PostPosted: Thu Dec 12, 2013 9:07 am    Post subject: Reply with quote

Hi

Is it possible to translate those comments in your script to english? I've been searching script like this, but I don't know how to configure it properly since I don't understand russian.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber