h3x.se spotify remote

24Jan/11Off

Servify, ReSpot, jReSpot updates!

Servify
Big update!
The OpenAL audio backend is implemented and tested on all platforms.
This means one and the same audio backend is used on all platforms (Windows, OS X, Linux) and more importantly it is (hopefully) a more stable solution. Particularly on Linux and OS X platforms.
The downside is that another external dependency may have to be installed.
For Windows and OS X, go here: http://connect.creativelabs.com/openal/Downloads/Forms/AllItems.aspx
For Linux (Ubuntu!) you install the following package: libopenal1

ReSpot
Small bugfixes, incremental improvements. Expect more rapid development here soon.

jReSpot
Small features implemented:
+"DEL" key to remove from queue
+Shuffle
+Repeat

Please report any new issues, regressions, bugs etc ASAP! (as comment to this post or email)

Filed under: ReSpot, servify Comments Off
Comments (57) Trackbacks (0)
  1. PS: Forgot to mention that even though I had a lot of fun remote controlling my spotify via my htc handsets all these months ago, my ultimate goal now is to get it working with my boxee tv 😉 So looking forward to get it working again so I can give the SPY boxee app a whirl – I’ve already installed it!

  2. Does the playlists etc show up in jReSpot?
    All the extra mono-libraries etc are installed, as well as OpenAL ?

    There are no stacktraces prior to this one?

  3. Hoepfully we’ll get it working again 😉

  4. Please fix the “Not all tracks loaded. Waiting a while.” bug. It is really very annoying. The rest of the software works wonderfully, but this bug freezes the server software until “the tracks (which?) are loaded”… making it impossible to switch songs.

    It happens when you skip a song or select a song while another one is still playing…

  5. I will look into it when i get some spare time!

  6. Hi Johannes,
    Thanks for the great software!
    I have servify succesfully running on an old Dell Desktop running Ubuntu 11.04.
    I’ve had no success though in getting the server to automatically start at boot.

    I have created a script and called it from rc.local. I have confimed that rc.local is running from boot, but I seem to get the following stack trace:

    (If i type in manually
    /etc/rc.local start
    …into terminal all works ok)

    Any ideas? (ps, I have minimal knowledge of linux/most things)

    Cheers,

    Ben

    Servify/C# v2011.01.23

    Servify Server listening on port: ‘1397’
    Servify Server IP Address 0: 192.168.1.73

    ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
    ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
    ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
    ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition ‘cards.ICH4.pcm.surround71.0:CARD=0′
    ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
    ALSA lib conf.c:4663:(snd_config_expand) Evaluate error: No such file or directory
    ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM surround71
    ALSA lib setup.c:565:(add_elem) Cannot obtain info for CTL elem (MIXER,’IEC958 Playback Default’,0,0,0): No such file or directory
    ALSA lib setup.c:565:(add_elem) Cannot obtain info for CTL elem (MIXER,’IEC958 Playback Default’,0,0,0): No such file or directory
    ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
    ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
    ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
    ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
    ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
    ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
    bt_audio_service_open: connect() failed: Connection refused (111)
    bt_audio_service_open: connect() failed: Connection refused (111)
    bt_audio_service_open: connect() failed: Connection refused (111)
    bt_audio_service_open: connect() failed: Connection refused (111)
    ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
    Cannot connect to server socket err = No such file or directory
    Cannot connect to server socket
    jack server is not running or cannot be started
    Stacktrace:

    at (wrapper managed-to-native) OpenTK.Audio.OpenAL.Alc.GetStringPrivate (intptr,OpenTK.Audio.OpenAL.AlcGetString)
    at (wrapper managed-to-native) OpenTK.Audio.OpenAL.Alc.GetStringPrivate (intptr,OpenTK.Audio.OpenAL.AlcGetString)
    at OpenTK.Audio.OpenAL.Alc.GetString (intptr,OpenTK.Audio.OpenAL.AlcGetStringList)
    at OpenTK.Audio.AudioDeviceEnumerator..cctor ()
    at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr)
    at OpenTK.Audio.AudioContext..cctor ()
    at OpenTK.Audio.AudioContext..cctor ()
    at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr)
    at Servify.AudioPlayer.OpenALPlayer..ctor ()
    at Servify.AudioPlayer.OpenALPlayer..ctor ()
    at Servify.AudioPlayer.Player.CreatePlayer ()
    at Servify.MainClass.Main (string[])
    at (wrapper runtime-invoke) .runtime_invoke_void_object (object,intptr,intptr,intptr)

    Native stacktrace:

    mono() [0x80dbc5b]
    mono() [0x81136eb]
    [0xe8c40c]
    /usr/lib/libopenal.so.1(+0x2d6bd) [0x1df6bd]
    /usr/lib/libopenal.so.1(+0x12be1) [0x1c4be1]
    /usr/lib/libopenal.so.1(alcGetString+0x29d) [0x1c525d]
    [0xa2af40]
    [0xa2ae21]
    [0xa2a65e]
    [0xaacb5b]
    mono() [0x8062bc8]
    mono(mono_runtime_invoke+0x3e) [0x8192eee]
    mono() [0x8197bba]
    mono() [0x806239f]
    mono() [0x8062ade]
    mono() [0x80dcd40]
    [0x3ac066]
    [0xaacb5b]
    mono() [0x8062bc8]
    mono(mono_runtime_invoke+0x3e) [0x8192eee]
    mono() [0x8197bba]
    mono(mono_runtime_class_init+0x19) [0x81983d9]
    mono() [0x80dc07b]
    [0x3ac264]
    [0xa29759]
    [0xaac34e]
    [0xaac4e4]
    mono() [0x8062bc8]
    mono(mono_runtime_invoke+0x3e) [0x8192eee]
    mono(mono_runtime_exec_main+0xe0) [0x81959e0]
    mono(mono_runtime_run_main+0x11d) [0x8195ced]
    mono(mono_main+0x1676) [0x80b7706]
    mono() [0x8059355]
    /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x259e37]
    mono() [0x8059291]

    Debug info from gdb:

    ** (Servify.exe:1591): WARNING **: Thread (nil) may have been prematurely finalized
    Segmentation fault
    ptrace: No such process.

  7. Not sure why it’s not working… maybe it is being run as root and it does not like that (incorrect PATH’s setup etc?)

    Maybe you can set it up to run from xinit or somewhere similar (if you always start X that is?).
    Or delve deep into the new “upstart” environment that Ubuntu supports…


Trackbacks are disabled.