frick / ttplus Goto Github PK
View Code? Open in Web Editor NEWTurntable Plus - a fan-made Chrome Extension!
Home Page: http://turntableplus.fm
Turntable Plus - a fan-made Chrome Extension!
Home Page: http://turntableplus.fm
Better testing and integration with other plugins so that they don't fight each other. Keeping placement of all windows (including z-index) on page load would be key here.
div#ttpUsersList doesn't naturally reposition when the window is resized.
Steps to reproduce:
When the download bar appears or disappears (through a user hitting the X button) it causes the chat scroll-bar to go all the way up to the very top. This bug does not exist when the ttplus extension is disabled leading me to believe that the extension is causing it.
Self-explanatory.
I think this should be split between join notifications and leaves notifications. Then there should also be three options for each: notify me when people I have fanned join/leave, notify me when specified users [join/leave], notify me when any user [joins/leaves]. This last option would require a new button in the users action menu in the users list.
The chat and queues drop way below the screen and don't remember where I put them. I would rather have an option if I want to be able to move them or not. I liked the previous version much better to be honest.
When loading with Site Layout enabled (haven't tested otherwise) the Animation toggle is using the 'no animation' icon instead of the 'animation' one. Should probably be loading with the Animation icon.
To notify the user that they've been idle for x minutes.
Suggested by DJ Downs
Curious if this would be useful to anyone else... but after having 500+ songs in my queue, sometimes I kind of lose track of what's been played, or what might be lost in the jumble of constantly reorganizing the queue...
In any case, I'm proposing some way of saving/displaying when I've last played a track (if not anyone in the room, assuming you were there when it played). This could live on the queue itself, maybe as a flyout or tooltip.
I'd imagine the best way to implement this would probably be via localStorage, which makes it per-machine.. but I would imagine it would have some use.
Thoughts?
The standard user list is more stable than TT+'s userlist (and also has "skip my song", and "quit djing" buttons)
I'd like to have it be a floating window like the chat and TT+ userlist.
Extension doesn't want to load for me today, something change?
I have downloaded TT+ and uninstalled it a few different times. I have no idea what is up. I download it and every time I click to open it It states "Turntable.fm room not found". Yes I have turntable on and open. I have shut down Chrome and reloaded it. I have restarted my computer. No matter what it will not reload.
I have Chrome 16.0.912.77
Macbook with snow leopard version 10.6.8 on it.
I have no idea what the problem could be.
Please help!
Thank you
Ashley
There should be a global disable for the userside js/css from ttapi.
(Or really more like the default state, I would rather it started default off, and be able to turn it on each time I enter the room)
TT+ doesn't load at all after today's update rolled out by TT.
I've tried disabling and re-enabling, uninstall and re-install. I can see it's installed on Chrome but it's as if I'm viewing turntable.fm without the extension at all.
Should this be updated?
(more of an announcement than an issue)
Add an option that would allow TT to perform better on underpowered PCs. Potential features of this mode include:
For the super daring implementation, text adventure mode!
Fired up Chrome with TT+ this morning and there was no user list
Tried disabling TT+ and reenabling
Tried restarting Chrome
Tried removing and reinstalling tt+
Saw the following errors in the console
Failed to load resource: the server responded with a status of 418 (Unknown) http://d1bw0qpdrmjlhz.cloudfront.net/4f7807cfaaa5cd175d00382cSeg1342725079
Port error: Could not establish connection. Receiving end does not exist. miscellaneous_bindings:232
Port error: Could not establish connection. Receiving end does not exist.
As we all know, Turntable has a notorious issue with losing sound. Through some digging, I was able to find some JS commands that usually get it back without having to refresh. Adding this to TurntablePlus may not be the best solution (i.e. fixing it on the TT side would be best ;) ), but it would be a nice stop-gap.
Since TTP grabs the obfuscated room object, it's as easy as calling
ttp.roominfo.scheduleResyncStream()
Having a button on the UI might help people who are affected by the occasional drop.
The following popup notifications (that I have turned on) are not working for me:
Keyword mention
Open DJ spot
Fairly involved - add ability for users to have different notification settings and different chat highlight colors for different sets of keywords.
Just curious if you will be updating TT+ so it will work with the latest update...or if it's still working and I'm just doing something wrong. If you'll be updating, I'll keep watching for the update. I miss my TT+!
Latest version of Chrome, Windows 7.
Please allow us to restore the chat window to the way it was before the layout change.
Some turntable rooms have bots that manage a queue, so there's no real need for the 'Grab the decks! has stepped down!' message that pops up (the bot I wrote for my room even alerts the user by saying @Nickname in the chat to let the next person in the queue know it's their turn to step up). It'd be cool if there could be a way to prevent that popup from showing up. Even better would be on a room-by-room basis, e.g., disable it for room A, but for all other rooms it stays enabled.
The ability to pull up any user's profile by simply typing their name in. I have some javascript code that you might be able to use to incorporate into your extension.
Get the "room":
for (var a in turntable) {
var b = turntable[a];
if (typeof b !== "object" || b === null) {
continue
}
if (typeof b.setupRoom !== "undefined") {
room = b;
}
}
Get the room manager:
for (var a in room) {
var b = room[a];
if (typeof b !== "object" || b === null) {
continue
}
if (typeof b.blackswan !== "undefined") {
var manager = b;
}
}
Get the websocket for the API. You may be able to use your TTPAPI for this part:
var a = / Preparing message /i;
for (var b in turntable) {
var c = turntable[b];
if (typeof c !== "function") {
continue
}
c.toString = Function.prototype.toString;
if (a.test(c.toString())) {
ttApi = c;
}
}
Pull up the profile:
javascript: var userName = prompt('User to search for:');
if (userName != null) {
ttApi({
api: 'user.get_id',
name: userName
}, function (m) {
if (m.err) {
turntable.showAlert('Error: ' + m.err);
} else {
manager.callback('profile', m.userid);
}
});
}
I can see incoming chat messages from turntable.fm show up in the blue TT+ tray icon 'Chat' tab, but when I type a message to submit to chat it never shows up. I have asked about 5 other people and none of them were able to write to chat from the blue TT+ tray icon 'Chat' tab.
Ok so I noticed that if I go to the 'Chat' tab, enter a message in the field and hit ENTER the whole window will flash and I can see it say "Turntable.fm room not found" then I see the normal TT+ window again but my message is gone and it has not show up in chat.
I have attached three images. One is with the message in the field before I hit ENTER "WindowFlash_1of3.jpg", the screen flash after I hit ENTER "WindowFlash_2of3.jpg", and the screen after that "WindowFlash_3of3.jpg".
The images are in order top to bottom 1,2,3 in this Imgur album.
http://imgur.com/a/Z4ekt
I want to disable animations and have them stay that way to keep the laptop chilly and whatnot, but it seems like I lose that setting when I leave a room. Any chance of making the toggle sticky?
version: 0.2.20
Ability to customize the song notification to appear at another point during the song. My personal thought is to provide two options: specify how far from the end of a song you'd like to be notified again (ex: 30 seconds from the end of the song), percentage of how far through the song (ex: notify me 50% through the song).
Note: don't forget to account for tracks less than the x seconds from end of song
I have a very unique and strange problem. I receive notifications with no problem at all for everything -except- vote messages.
I have tried everything I can think of; I've uninstalled and reinstalled the addon, I've uninstalled all OTHER extensions to make sure there is no conflict. I've completely cleared browsing data. I've made certain notifications are allowed in my Under the Hood stuff. I'm at my wits end here! There's no reason for this behavior, and it seems really strange that the only thing not working are the vote messages!
This has been suggested a couple of times, but the only way I can think of this making sense would be to add another button to the popup which I'm reluctant to do. I think a good compromise would be to offer a new button on the song notification that allows you to mute the currently playing song and unmutes when the next track starts. Thoughts? This seems more a matter of opinion and I would think matters to few.
I have noticed that when you lame a song before you awesome a song (after a song starts playing), your name doesn't turn red in the user list.
An option for notifications on every chat message. It can default to off - it'd be terrible for large rooms, but is ideal for small private ones with a few friends.
Allow users to adjust how they would like to see the users list sorted.
When I join a tt.fm room, and I have pane separation enabled, the DJ queue starts as all black until I reset it in the options menu.
The only thing I'm missing from this is last.fm support. Turntable.fm Extended does a nice job of this, but it'd be great if that functionality was also included in ttplus.
I have gotten a few messages from people using yours and my UI in line with each other and they both show queue counts. But some people are reporting that they are showing different numbers, mine usually higher than yours.
I looked at the code and you are getting your count from turntable.playlist.files
and I am getting from turntable.playlist.songsByFid
.
Do you know what the difference is? On my personal account there is no difference, but on, for example, SocialB's account, she is showing ~3400 songs from turntable.playlist.songsByFid
and ~2770 from turntable.playlist.files
.
It's pretty messy from being written so long ago in a rush.
In all previous versions of TTPlus, double-clicking a name would automatically @-address them in chat. This is a great shortcut when someone has a fairly unwieldy name, or one that's too close to another's for Turntable's half-baked user tab-complete.
Since I would assume that someone would be more apt to @-address someone in chat rather than PM them, could we return the functionality and simply have another icon in the single-click list?
Like the title says, remove my custom "ignore user" functionality which makes use of localStorage for persistent storage of ignored users back when "/ignore username" was client side and session-only in favor of Turntable's recent API addition of adding and removing users from a server-side ignored users list.
It'd be sweet to have AutoDJ included into this plugin.
Allow for and adjustable time frame (1-10 seconds) DO NOT have instant. Only try once (in case a bot boots). Kind of like Bacon Bits works.
Really just needs some attractive styling, otherwise easy enough:
$('.realPlaylist').children().length
^ thanks to Blurry for the original feature request!
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.