ehedaya / thesloth Goto Github PK
View Code? Open in Web Editor NEWA chrome extension to relay data about songs played in http://thephish.fm/listen
Home Page: http://stats.thephish.fm/
A chrome extension to relay data about songs played in http://thephish.fm/listen
Home Page: http://stats.thephish.fm/
!spot has not been working properly for a few days or more now. Keep hearing people mention it. He says he will hold the spot but never does.
If there is a Ghost playing, !TDG should respond with:
http://lawnmemo.com/yyyy-mm-dd
I think everything is case sensitive, right? So maybe add !tdg as well.
It'd be awesome to track what shows I've heard music from, how many times I've heard each song. Basically zzyzx or phish.net stats, but for what I've heard on TT. Any thoughts?
After the format change for stats, the individual show pages no longer shows the number of times played per song. I know it wasn't 100% accurate but it helped tremendously for playing unplayed tracks that thesloth has not recorded since 2012. This should be fixed.
feature idea: check on the state of the tweezer! (it's gonna be cold cold cold cold...)
To remove the "no replay today :(" from the beginning.
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/thephishvps/stats.thephish.fm/avatars.php:2) in /home/thephishvps/stats.thephish.fm/inc/globals.php on line 41
I think many of us used this feature for playing tracks that have not been played before. Thanks
Possible to have sloth auto-send the album field if the Artist field matches "The Daily Ghost"?
Is there any way to have the Replay Schedule parse a link we give it? So for an MGB show could we somehow tell it to output the data from:
For 1 hour before scheduled start time: Playing some preshow music until the replay of //** starts at ***. Enjoy! http://thephish.fm/replays
For 1 hour after scheduled end time: Playing some postshow music after the replay of //**, Phish will resume shortly. Enjoy! http://thephish.fm/replays
Questions about the map background...
A new bot for DJ control only
With new screens in the room, we could collect stills and animated gifs of CK's lights.
Grouped by color and screen position.
PM CK5:
!lights: Green Left
!lights: Green Right
!lights: PHISH Center
!lights: Red Left Animated
!lights: Blue Right Animated
!lights: White Center Animated
DJ Could control their own light show
Other commands could include
!lights: Random (could circulate through image library of lights)
Not sure if any of this is possible or if they will keep the screens, but I was just thinking ahead.
If you PM TheSloth when !Speed is turned on, he will not reply which mode is being used.
!ss !secretsanta !secrettsantta
I've created a gchat spreadsheet so we can talk offline until we have a private message feature on Plug.
The spreadsheet is located here:
https://docs.google.com/spreadsheet/ccc?key=0Aq20bNMclEBNdE9zS0N0VHBPb1V1ZmQwUmJYY1BaZUE&usp=drive_web#gid=0
It would be awesome to have a !gchat command for this.
Thanks Emil!
Great updates - the stats page looks great looks really neat. I have a UI/UX suggestion: the google maps background makes scrolling slightly cumbersome when mouse focus is over the map. Using a bitmap may make the interface better than to have the agent query google maps directly.
The main stats page, http://stats.thephish.fm/index.php, starts listing the day's songs starting at 03:00 Eastern time and ending at 03:00 Eastern time the next day. However, the "Years played" chart is calculated using the plays from 0:00 Eastern time to 0:00 the following day. This is more noticeable in the morning time when only a few songs have been played. I'll post a screenshot in the next couple of days with an example of the issue.
Via PM: !request:date (e.g. !request:1993-12-31)
Can this add a row with: Username+Request Date on a Google Spreadsheet? Otherwise I am fine with this just sending an email to [email protected] instead of posting to the spreadsheet (the spreadsheet is the same used for form requests).
https://docs.google.com/spreadsheet/ccc?key=0AliOdDOglz1ddEZrQnhjalFoNFQtdzZaR2JRcWRzaFE&usp=sharing
So either just adding a row to that spreadsheet with UN+Request Date or email me the same info, whichever works.
The closing parenthesis is being included in the URL, which breaks the link and goes directly to your own show page. Example:
TheSloth
Happy birthday, Thousand$Quest! (http://phish.net/user/ThousandDollarQuestion)
The clickable URL in TT is: http://phish.net/user/ThousandDollarQuestion)
The (possibly) easy idea:
Track the number of times the exact artist "Phish" has been played in the last three hour period. The TT limit is 4 per 3hrs. Could maybe warn when the 3rd has been played? Otherwise just a triggerable command !dmca maybe? haha
The almost definitely harder / likely unnecessary idea:
Track any "Artist" played in the last 3hrs, not just "Phish". So if someone has changed their stuff to "Fish" or "NotPhish" it will keep track... or if people play a bunch from one show and all have the same tags... or if we happen to do an all "Toto" preshow, etc..
The definitely harder / likely worthless idea:
Track both "three songs from one album or four songs from one artist in a three hour period"
When a Mike's is played it opens the Groove
!groove will show all songs played in that groove
closes at Weekapaug.
and anything else you can think of
It would be cool to have the sloth announce a TT debut. That way i wont look like an asshole always typing !last :P
http://stats.thephish.fm/song.php?song=Sleep
Sleep Again plays are being tracked as Sleep
If you do !album on a track that was imported from Soundcloud, Sloth will not respond to any commands for about 30seconds. He also never outputs anything for "album".
Okay so a lot of people are on about this birthday stuff.
Is it possible to pull TT Usernames+Birthdays from a spreadsheet, and then link that to their phish.net username? Then with a !bday command Sloth can link the .net user shows page of anyone whose birthday it is.
Birthdays: http://bit.ly/thePhish-Birthdays
So on 3/7, doing the !bday command would link something like: Today is KernelForbin's birthday! http://phish.net/user/KernelForbin/shows
Possible different wording if there is more than 1 match. Let me know what you think, just tossing out ideas here.
"!last Rift (PM): Reply with the gap (in time) since the last Rift was played by Phish. Case insensitive, but must exactly match the song name (e.g. !last the Wedge not !last Wedge)."
I feel like this should search for the last played in TT instead of by Phish. Is it possible for !last Rift to show the last time played in the room (and I suppose include the date for it if possible.
<3
Possible to have a Download Remaster button under the current day's replay (next to the Want to DJ button).
Would it be possible to pull the link from somewhere? Like if I put it in the description field of the Google Cal. Or I can just manually update it if I had access to the page. Lemme know your thoughts.
Not sure what the deal is. Modes dropping every track.
mode:yr####
This would of course assume that the person who uploaded the track put the date in correctly or even used 4 digits.. if it were two digits though, it would still be able to recognize the year, no?
On weekends we sometimes like to do themes, years are a typical one. Though some times its as loose as just saying 1.0, 2.0 or 3.0...
Instead of dozens of if(text.match()) { }
blocks, the ones that just dumbly reply (e.g. !stats
) could be put into an array of pattern => response
.
The new bug with the !who command seems to be based on date format. I have not personally witnessed this yet, but people are saying things not formatted yyyy-mm-dd are not returning !who properly.
!setlist and other commands can decypher the various formats (e.g. dd/mm/yy) but !who seems to not work the same way. Let me know if this sounds plausible. I'll try to do some testing.
TT user "GordoDropsNukes" was having trouble connecting to his pnet account. I took a look at his user page, and it appeared he inadvertently added a space in front of his pnet handle, so TT was trying to connect to "%20TreyBombs" instead of "TreyBombs".
I had him re-enter his handle and he is all set now, but shouldn't sloth not allow the connection if the handle doesn't exist on pnet?
The extension has been removed from my comp and the link to it no longer works. Appears to keep working in the room until you refresh, then it gets removed.
http://bit.ly/theSlothExt
https://chrome.google.com/webstore/detail/thesloth/obnebclifaigbilhnkbbbodgkfdicmoe?hl=en&gl=US
You working on stuff or is this unexpected?
Appears there were Dreamhost issues all day yesterday and Sloth was up and down. Looks like Dreamhost issues are resolved but Sloth is still down.
PM'd thesloth: !Unplayed Harry Hood and received the following show:
TheSloth Hmm, I haven't heard anybody play the Harry Hood from 1998-07-20 (Ventura County Fairgrounds, Ventura CA USA) http://stats.thephish.fm/1998-07-20
Is !replay still supposed to send in PM on join? It should if there is a replay that day.
Doesn't appear to be working.
!pnet in chat returns:
To link your stats, Fan me and then send a PM with !pnet:username (replace username with your .net username).
Or something like that.
By popular demand...
!attendance
http://bit.ly/thePhish-summer2013
!archiveroom returns http://thephish.fm/archiveroom
!replayroom returns http://thephish.fm/replayroom (I know it has a tinyurl currently,but making a different page for it)
Add next/previous show links to show pages, like .net
Should be one in the same.
Command will link to the show that is currently playing. I realize exact song may be tough without going through and snagging all of his song naming conventions. On top of that the exact song link REALLY is not that necessary as you probably don't want the track autoplaying as soon as you click the link anyway.
I imagine linking the show itself would be easy, though.
URL format is: http://phishtracks.com/shows/yyyy-mm-dd
!phishtracks or !pt maybe?
!draft in chat
!phanniversary to respond like !birthday
Shows who's first show anniversary is coming up.
Possible to pull this data for users that have .net linked?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.