Giter Site home page Giter Site logo

binb's People

Contributors

fedexcain avatar jakattak033 avatar lpinca avatar notanoctopus avatar robbe7730 avatar siebelstim avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

binb's Issues

Censor Answers from Chat

I've noticed that certain players have a tendency to start guessing in the wrong box, or even give away the answer. I think it would be a helpful improvement to censor out the answers to the currently playing song from chat.

DNS Resolution issue on google and cloudflare for deployed service

I've having issues accessing your deployed binb.co service.
https://176.56.237.4/ works fine, but it looks like the major dns providers are not resolving the domain properly.

I'm fairly certain this is a wider issue than me personally due to the reduced number of current users.

 ~ $ nslookup binb.co 8.8.8.8
Server:		8.8.8.8
Address:	8.8.8.8#53

** server can't find binb.co: SERVFAIL

 ~ $ nslookup binb.co 1.1.1.1
Server:		1.1.1.1
Address:	1.1.1.1#53

** server can't find binb.co: SERVFAIL

~ $ nslookup binb.co 192.168.0.1
Server:		192.168.0.1
Address:	192.168.0.1#53

Non-authoritative answer:
Name:	binb.co
Address: 176.56.237.4

192.168.0.1 is my ISP provided dns server, I have no information about the upstream servers.

error on index.js

i am using: centos 7 64 bit.
node --version v0.10.29

when i start service then get below error
node app.js

/root/binb/node_modules/primus/index.js:177
const sandbox = Object.keys(global).reduce((acc, key) => {
^^^^^
SyntaxError: Use of const in strict mode.
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/root/binb/lib/sparks.js:11:14)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)

how to change that songs

hello..
instead of Hollywood song i am intrested in bollywood song then what changes i need to do ?

thanks

Not working the minify

Hello,

I was trying to install the binb app on my local.
But I got the error when run the 'npm run minify'.
So hope you to notice how to fix the issue.
Looking forward to haring from you.

Regards,
Salient

Typerror with primus

I am trying to run this on Ubuntu 14.04 running node v0.10.25 -- I am getting quite a few errors:

a) with the lambda functions <(a,b,c) => { }> not being recognized ( I got past them by replacing '=>' with 'function')

b)

TypeError:Object function Object() { [native code] } has no method 'assign'

which I got past with Object.assign = require('object-assign') at the beginning of the corresponding files.

c) I also got

SyntaxError:Use of const in strict mode

which I got past with node --harmony app.js

d) My latest error is

/data/binb/node_modules/primus/transformers/faye/server.js:54
const spark = new this.Spark(
^
TypeError: undefined is not a function

I'm not sure how to get past this. Any hints would be useful. Thanks!

Website Down?

The website has been down recently a LOT, and very laggy when its up. is this ever getting fixed?

Access to global variable

Hey Lupin.
I just tried something out.
Turns out it's pretty easy to do this:

App.socket.removeListener('loadtrack');
App.socket.on('loadtrack', function(data){
//Save previewUrl along side artist name and song name
App.loadTrack(data);
});

You should wrap the app code in an anonymous function to combat this.

TypeError: Cannot call method 'toLowerCase' of null

Hi,

Thank for this great program. I m french, so sorry for my language ;-)
When i run "node app.js"

i got this error :
/home/issey/www/radio/binb-master/node_modules/redis/index.js:602
throw err;
^
TypeError: Cannot call method 'toLowerCase' of null
at /home/issey/www/radio/binb-master/lib/rooms.js:526:37
at try_callback (/home/issey/www/radio/binb-master/node_modules/redis/index.js:592:9)
at RedisClient.return_reply (/home/issey/www/radio/binb-master/node_modules/redis/index.js:685:13)
at HiredisReplyParser. (/home/issey/www/radio/binb-master/node_modules/redis/index.js:321:14)
at HiredisReplyParser.EventEmitter.emit (events.js:95:17)
at HiredisReplyParser.execute (/home/issey/www/radio/binb-master/node_modules/redis/lib/parser/hiredis.js:43:18)
at RedisClient.on_data (/home/issey/www/radio/binb-master/node_modules/redis/index.js:547:27)
at Socket. (/home/issey/www/radio/binb-master/node_modules/redis/index.js:102:14)
at Socket.EventEmitter.emit (events.js:95:17)
at Socket. (_stream_readable.js:745:14)

What s wrong with the call method "tolowercase" ? What can i do ?

Thank !

Some songs are not played

Hello, today I played, an two times the songs just weren't played. This was an issue for at least two separate players. This hasn't happened before. The images for the album covers also didn't load. The pictures capturing that are attached.

image
image

Importing large list / Changing categories

Hey there, not sure if this is still being maintained but I stumbled upon BINB and it's a damn good bit of code.

Anyway, when I try to add a bunch of new artists, (80's 90's) I keep getting the infamous "Cannot read property 'toLowerCase' of null" when I run "npm start"

At first I thought it was due to non-ascii characters so like an 'o' with an Umlaut "ö" so I converted everything and ensured there were no accents anywhere. Also removed other characters like '!' and the '&' symbol, replacing them where possible so '&' became 'and' still no joy.

Is there some sort of required formatting? I'm not sure how the names of the Bands are pulled into the Database, is it done from the file artist-ids.js or does the program pull them directly from iTunes and therefor unable to handle names like "Mötley Crüe"?

Not a programmer by any means, but any assistance would be appreciated.

Thanks in advance

Save nickname on server side

Now I can send message by any nick I want not just my nick..

example in firebug console:

App.socket.emit('sendchatmsg', {from:'bad person',chatmsg:'do bad jobs'});

also you can send objects not just message strings. Should be added more strict validation..

What did other users guess?

I wish to see what other users guessed right. Title or author? I know when they guessed one of it and I know when they guessed both. Why not knowing what they guessed right.

There were several times where I'd like to know what others knew out of curiosity.

How do you feel about adding that?

npm run import-data error

npm run import-data

[email protected] import-data /usr/local/nginx/html/binb
node util/load_sample_tracks.js

Loading sample tracks...
events.js:72
throw er; // Unhandled 'error' event
^
Error: connect ETIMEDOUT
at errnoException (net.js:905:11)
at Object.afterConnect as oncomplete

npm ERR! Linux 3.10.0-327.18.2.el7.x86_64
npm ERR! argv "node" "/usr/bin/npm" "run" "import-data"
npm ERR! node v0.10.42
npm ERR! npm v3.10.5
npm ERR! code ELIFECYCLE
npm ERR! [email protected] import-data: node util/load_sample_tracks.js
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the [email protected] import-data script 'node util/load_sample_tracks.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the binb package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node util/load_sample_tracks.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs binb
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls binb
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /usr/local/nginx/html/binb/npm-debug.log

Binb.co down?

Hello,

is there some maintenance going on binb website or this great game is shutted down? :(

Thanks

Way to Use Playlist Instead of Artist List?

Is there a way to use a playlist ID from the iTunes API instead of several artist ID's?

This would make it a lot easier to add songs to the game and be more specific with the songs that we want in there instead of just having it randomly do artist's songs.

Any help with implementing this would be much appreciated!

Thank you!

WebSocket connection

Avast antivirus blocks WebSocket connections.
If the app sits in a chronic state of "Waiting for connection..." and you have Avast installed, Avast Web Shield can be the cause.

More songs added to hits?

After awhile the same 961 songs or so get memorized by those of us who play on the site a lot, can we expect more songs to be added in any time soon? Is that time consuming and/or easy to do?

An idea to implement

I don't know how to send you a message, so I'll try here.
I have an idea to make the game more competitive and maybe it's not difficult to code.
That would be a weekly rank. So the players could have more thing to achieve. it would be really interesting! There is a brazilian game called Gartic (https://gartic.com.br/) that implements a daily rank and people love that. If you see it, they have also some achivements: if a player has 50k in a room, they get a icon in their profile! Like, if I have 50k in rock: 🤘, or 50 k in pop: 🎤. This would make people play in others rooms.
If you have a mean -6s and more than 50k: ⌚ and so on.

room.artistName.toLowerCase

Hello..
i have modified room name and after that getting below issue when i am starting to service.
so where is error ?
can u please help me ?

/root/binb/lib/rooms.js:541
room.artist = room.artistName.toLowerCase();
^

TypeError: Cannot read property 'toLowerCase' of null
at Command.callback (/root/binb/lib/rooms.js:541:36)
at normal_reply (/root/binb/node_modules/redis/index.js:721:21)
at RedisClient.return_reply (/root/binb/node_modules/redis/index.js:819:9)
at JavascriptRedisParser.returnReply (/root/binb/node_modules/redis/index.js:192:18)
at JavascriptRedisParser.execute (/root/binb/node_modules/redis-parser/lib/parser.js:560:12)
at Socket. (/root/binb/node_modules/redis/index.js:274:27)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at Socket.Readable.push (_stream_readable.js:134:10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.