Code Monkey home page Code Monkey logo

grooveshark-server's People

Contributors

purinda 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

Watchers

 avatar  avatar

grooveshark-server's Issues

UI controls not reacting.

Hi there,
I have been trying to get this project working for a few days now, and so far I have gotten the server up and the webui to display. When I connect the server responds, but when I use any of the controls they do nothing, whereas in one of your videos you can see the console displaying every request from the volume slider etc.

I have installed apache, php, QT5, pulseaudio, Gstreamer (Including plugins) and the server and WebUI.

I'm sure I am missing a step or something, but I really cannot figure out what it is, and was wondering if you would be able to give me some guidance please?

Thanks.

Problem while compiling on Raspberry Pi

First of all, thank you for your work, your project is very interesting!
I have installed ArchLinux and the required packages (gcc,qt5-tools, qt5-multimedia, gstreamer, and I think that's all)
When I am trying to compile I got this output:

g++ -c -pipe -march=armv6 -mfloat-abi=hard -mfpu=vfp -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -std=c++0x -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I../../grooveshark-server-master -I/usr/include/qt -I/usr/include/qt/QtMultimedia -I/usr/include/qt/QtGui -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I. -o main.o ../main.cpp
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See https://github.com/archlinuxarm/PKGBUILDs/issues for instructions.
Makefile:2007: recipe for target 'main.o' failed
make: *** [main.o] Error 4

I don't know what's wrong!

Problems with the the WEB UI and server

Hi, Basically I've got a few issues with getting this to work on Ubuntu 15.04

I've installed all the required things QT5, Apache, PHP and so on I've managed to get it to compile but the issue is when i try sending a command from the web panel it simply wont connect it says there's a connection request when i connect through the port 16444 to the server but it wont find any songs and so on... if you can explain exactly how i'm mean't to get this too work id be most appreciative.

Kind Regards

Version 1.0

  • Support song caching on local or remote directories.
  • Ability to download songs from the Grooveshark server
    this may require JSON based protocol which needs to be implemented in milestone Version 0.9

Minor requirements

  • Auto renewal of Grooveshark Sessions
  • Release binaries for x86, x86_64, armel, armhf

Error when Buffering Music

Purinda,

Per your request, I have started a new issue to address my inability to play music through the grooveshark server.

uname -a:
Linux SubiRPi 3.12.24-1-ARCH #1 PREEMPT Thu Jul 10 23:57:15 MDT 2014 armv6l GNU/Linux

cat /etc/lsb-release is not available.

QT Version: 5.3
OS: Arch Linux on a Raspberry Pi

I managed to get the server compiled on both my RPi and Ubuntu 14.04. On Ubuntu, it would stop at buffering(probably buggy Qt5 or something). When I run it on the Pi, I do get a response from the server(that makes me really happy), but the server outputted the following:

RESPONSE: "{"header":{"session":"e593c84134fddaec8405abeeeb6c1e94","serviceVersion":"20100903","prefetchEnabled":true},"result":{"FileID":"62138450","uSecs":"178050000","FileToken":"6MwEWy","ts":1406530819,"isMobile":false,"SongID":40635563,"streamKey":"7a01bd056a9030e0c0a1c49b5bd041fcc0e456c4_53d5fc0b_26c0cab_3b42852_13f487c49_1_400","Expires":1406532619,"streamServerID":512,"ip":"stream176a-he.grooveshark.com"}}"
Buffering...
GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
FATAL: cannot locate cpu MHz in /proc/cpuinfo

I have no idea what threw the above error. I'm looking into it now.

Richard

Threaded TCP connections

I found an issue with not receiving requests coming from clients when there are more than 1 client is connected.

How to replicate.

  1. Telnet into the server
  2. Issue a command
  3. Telnet into the server as the second connection
  4. Issue a command
  5. Issue another command from the first telnet connection. This command wouldn't run on the server.

Server Error

Hi Purinda,

I tried testing the server like you mentioned on one of the other issues yet I couldn't get it to function. Here's the output when I tried to play a song. The main portion is the "Error: "No URI handler implemented for "http".""
Any ideas?
screen shot 2014-08-28 at 1 04 16 am

Thanks,
Aabhas

Won't compile on rPi

I am getting the following error when attempting to compile on raspberry pi:

g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtMultimedia -I/usr/include/qt4 -I. -o main.o main.cpp
In file included from qserver.h:15:0,
from main.cpp:6:
lib/grooveshark/qplayer.h:5:24: fatal error: QMediaPlayer: No such file or directory
compilation terminated.
make: *** [main.o] Error 1

I believe I have installed all dependencies correctly, but I may be mistaken. Any help would be much appreciated!

Streaming

Hi,

I managed to install the server and webgui on ubuntu 14.04. It works everything except when I select a song and press play the server console windows show that the song was found and writes down "Buffering" and stops..sometimes I get "host cannot be resolved".

Thanks for your help.

br Luka

Raspberry Pi SD Card Image

Hi,

I've been trying for a good few hours to get this working on my Raspberry Pi this evening to no avail :( The first hurdle was to get a working copy of Arch as they no longer publish SD images. Once this was complete the next hurdle was to install all the required packages to compile. Once this was complete the next hurdle was to install and configure a lamp stack which was no small feat to a typical linux amateur such as myself. However, I managed to do this and had a terminal window open with the compiled grooveshark app running and the front end showing in Chrome.

However, I never managed to get any songs playing. I could browse the Grooveshark library and add songs to the queue but on pressing play I could see that the terminal window was reporting that the play command was being received by the server, not a request to play a song by any particular ID. So I decided to telnet into the Pi and send manual commands.

On requesting to play a particular track I received the error of Error: "Error resolving ' ': Name or service not known" and this was still the case after finding my session ID and popping that into the settings file.

Would it be possible to host a / your working version of the setup on a Raspberry Pi as an image which could easily be written to an SDcard with any instructions in case any variables such as user accounts etc need replacing?

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.