Streaming on embedded linux device

We are developing a product where our users will use their Spotify account to stream music to a device. The device will be running on a small linux distribution and will need to be able to make calls to Spotify and stream music directly on the device. A custom mobile app will be used to create and manage playlists on the users account, which correlate with the user account on the device. We would like to build the app using the Web API, we can see easily how this can be achieved for the mobile app and managing the playlists, however as far as we can see it does’t support streaming the full tracks and only a 30 second preview. We have successfully prototyped our app for the device using Libspotify and some other 3rd party libraries and extensions that rely on this library, however as these will no longer be officially supported we are not sure what we can use to develop our app. Can anyonetell me if the Web API will support streaming full tracks in the future? or what the alternatives might be for us to achieve our goals?  Many thanks for your help!

for a more generic approach -- since mpd requires you to put the media on the server and only plays certain defined filed types -- pulseaudio might be interesting, or even dlna/upnp? that last one for sure would be the most cross-platform solution. then each client could decide for itself which kind of audio to pass to the hub, be it mpd, radio, youtube etc.
interesing experiment you're doing here btw, i think more people will be interested in using a single small device that routes all their network audio to a stereo.
p.s., in case you want to stick to the classic mpd setup, there are windows clients available incluing a handy firefox plugin:
http://mpd.wikia.com/wiki/Windows_Compatibility
http://mpd.wikia.com/wiki/Clients

Similar Messages

  • Streaming audio to an embedded Linux device

    A friend and I are tossing around some ideas for a project, which would be a music-activated RGB lights controller.  We have an ARM board with network connectivity, running Linux.  What we want to be able to do is to stream audio from a laptop/desktop computer to the device, for processing.  I'm not sure what software to use on the computer, for streaming, as well as client software on the embedded board.  Here are my primary constraints:
    1) The streaming software has to run on at least Windows/Linux (although Mac would be a plus), and has to either be part of, or be pluggable into, a music app that's suitable for using playlists and managing large libraries (e.g. something like Songbird, rather than VLC).
    2) The client software needs to have as little overhead as possible, due to the limitations of the embedded board, and it needs to be CLI
    3) We really don't care about the quality of the audio, so long as the waveforms look enough like the originals that the lights can actually correspond to something meaningful in the audio
    4) Service discovery would be a plus, as we'd eventually like to just plug in the controller and go, without having to mess with IP addresses and such
    Any suggestions?

    for a more generic approach -- since mpd requires you to put the media on the server and only plays certain defined filed types -- pulseaudio might be interesting, or even dlna/upnp? that last one for sure would be the most cross-platform solution. then each client could decide for itself which kind of audio to pass to the hub, be it mpd, radio, youtube etc.
    interesing experiment you're doing here btw, i think more people will be interested in using a single small device that routes all their network audio to a stereo.
    p.s., in case you want to stick to the classic mpd setup, there are windows clients available incluing a handy firefox plugin:
    http://mpd.wikia.com/wiki/Windows_Compatibility
    http://mpd.wikia.com/wiki/Clients

  • Embedded linux with arm9

    hello all,
    what i'm trying to do is install apache tomcat and apache derby on this embedded linux box that i'm working on. but the problem is that the jvm i have installed on the linux box is ibm's j9. can some one please point me in the right direction as how i can get both server's running?
    ps. the device have only 32mb for me to work with, clearly installing sun's jdk is not an option :( unless i some how manage to reduce the jdk's size.
    thanks
    canucks604

    Yocto embedded distributions can upgrade just like any other Linux distro, and probably in a few ways more than that. Your question doesn't really apply to Yocto in particular.
    Simplest is to use the package mechanism and have devices upgrade themselves. From there, you can take it further, e.g. using signed packages, dual-boot systems, etc.
    You'll have to be way more specific if you want to get specific solutions to your specific problem.

  • Embedded Linux – mechanism for deploying firmware updates?

    I am considering developing on the Yocto project for an embedded Linux project (an industrial application) and I have a few questions for those with experience with embedded Linux in general -- Yocto experience a bonus. Just need to get an idea of what is being commonly done in firmware updates.
    I have a few requirements, that being authentication, a secure communications protocol, some type of rollback if the update failed. Also, if there is a way to gradually release the patch across the fleet of devices then that would also be interesting as I want to avoid bricked devices in the field.
    How do you deploy updates/patches to field devices today – and how long did it take to develop it? Are there any other considerations I am missing?

    Yocto embedded distributions can upgrade just like any other Linux distro, and probably in a few ways more than that. Your question doesn't really apply to Yocto in particular.
    Simplest is to use the package mechanism and have devices upgrade themselves. From there, you can take it further, e.g. using signed packages, dual-boot systems, etc.
    You'll have to be way more specific if you want to get specific solutions to your specific problem.

  • Hi,   My photo stream used to work fine.  But after removing all the photos to separate folders in my computer, my new photos are no longer streaming to my PC.  They appear in the photo stream on my other devices - iPhone5 and iPad Mini.  It's just my PC

    Hi,
    My photo stream used to work fine.  But after removing all the photos to separate folders in my computer, my new photos are no longer streaming to my PC.  They appear in the photo stream on my other devices - iPhone5 and iPad Mini.  It's just my PC that's missing the photos.
    When I open the iCloud control panel, I cannot turn on the photos.  That option is ghosted.  I'm running on Windows 7 with iCloud 3.0.  Any ideas on how I can fix this?  All help is appreciated!  Thanks!

    Hi Kevinmvb,
    Welcome to the Support Communities!
    The article below may be able to help you with this.  It sounds like you may have moved your photos out of the Uploads folder where they need to reside.
    iCloud: My Photo Stream troubleshooting
    http://support.apple.com/kb/TS3989
    Cheers,
    - Judy

  • Raw files uploaded to photo stream not showing on devices

    I have Aperture set to automatically upload all the photos I import from my Canon 50D. In the past month the photos in RAW format, have not been showing up in my photo stream. When I look in ~/Library/Application Support/iLifeAssetManagement/assets/sub I can see all the CR2 files and I can see Aperture uploading in the activity window, but nothing is showing elsewhere. The only exception is my iPad that has some from two weeks ago, but the none of the raw files from yesterday are appearing on any device or iCloud.com. I can see jpg taken via iOS but not RAWs.
    Any ideas? Has the OS X 10.10.1 or iOS 8.1.1 changed something, is there a new check box. Just slightly (very confused)
    Thanks for any help.
    Justyn

    Justin,
    can it be, that you activated iCloud Photo Library (Beta) on your iOS 8 devices? That essentially disables all easy ways to upload photos from your Mac to iOS devices. My Photo stream will stream from iOS devices to other devices and your Mac, but the Mac will no longer stream to the other devices. and iTunes Photo sync will no longer sync photos to the iOS devices. If you enabled iCloud Photo Library (Beta), either disable it again in "Settings > Photos"on your iPhone/iPad, or use the page https://beta.icloud.com  and and the Photos.app on that page to upload your photos from the Mac to your mobile devices.
    -- Léonie

  • Will it ever be possible to stream music on iOS devices instead of having to download it?

    Will it ever be possible to stream music on iOS devices instead of having to download it?

    We have no idea. We are just users like yourself.
    You could leave feedback about the issue.
    http://www.apple.com/feedback/itunesapp.html

  • How do you sync "all" the Photo Streams from my iOS6 devices to iPhoto '11

    I just purchased iPhoto 11 for my MacBook running Lion OS. I can't seem to sync all the Photo Streams from my iOS6 devices to my MacBook. I need more than 30 days.

    You need to open iMovie and it will have a event library called iPhoto Videos, click on that and the videos will load in the window next to it, then you make a new project in iMovie.  Then open iDVD and make a new project then import the movies to the program then burn to a DVD..

  • Addopt embedded LV to embedded Linux - what do I have to do?

    Hello.
    I'm a student doing my thesis work in sweden and I'm quite new to LV.
    I read the manual for porting emb.LV Runtime but don't have an idea where I have to start with.
    my platform is an microcomputer (NetDCU8) with an ARM 9 prozessor, touchscreen, Network, serial ports, SD-Card and ADC's running embedded Linux (Emlix).
    The graphic part I allready programmed in C/C++ and it could be running as a thread.
    This is what I need to programm within LV:
    - starting the graphicfunction as a thread
    - reading values from ADC's and store them into global Arrays every 60 seconds
    - doing some calculations with those values
    - storing values into logfiles onto Networkfolder and SD-Card (both mounted when the target start up Linux)
    I'm able to do all this stuff in C/C++. But as a part of my thesis work, I have to make emb. LV useable for programming for my target.
    The BSP is only for Linux-Computers.
    I'm not very familar with operating systems and have zero experience in porting anything.
    But if there are some good hints, where I have to look at and what I maybee can use, that's already done, then I think I have a chance to manage it.
    ...I have only 1 month left for my work.... 
    Best regards from Göteborg,
    Tobias

    Hi!
    I got the first "Hello world" to run!!!
    Jiiiiiiiihhhhhhhhhhaaaaaaaaaaa! 
    I edited LVGenRTInit.c and removed all unneeded includes and corrected the Makefile:
    /* CODE START */
    APPLICATION = "/nfsroot/testcomp"
    CC = "arm-linux-gcc"
    LD = "arm-linux-gcc"
    CFLAGS =  -DVAR_WAIT_ON_EXIT -DCHeadless=1 -I.  -O3 -fomit-frame-pointer -Dlinux  -w
    LFLAGS =  -lm -lpthread -lnano-X -L"/2compile/"
    OBJS = /2compile/linux_tryout.o /2compile/LVUnixInit.o /2compile/LVCGenRTInit.o /2compile/lvEmbeddedMain.o
    INCLUDES = -I"/2compile"
    LIBS = "/Targets/NI/Embedded/embLinux/libs/lvanlys.a" "/Targets/NI/Embedded/embLinux/libs/libaalcore.a"
    %.o: %.c
        $(CC) -c $(CFLAGS) $(INCLUDES) -c -o $@ $<
    $(APPLICATION): $(OBJS)
        $(CC) -o $(APPLICATION) $(LFLAGS) $(OBJS) $(LIBS)
    /* CODE END */
    Now I can work with the inline-C-node. the next step will be a timed loop. and also bringing the old dir-structure back from my actual header-soup....
    Microwindows is the old name of Nano-X. Fortunetly I didn't have had to compile it for mz target. The libraries were readymade delivered....
    so I can just show you some parts of my code to create windows and stuff in the attached file...
    Maybee this can help you on your first tryarounds, when you have compiled nano-x for eCos.
    I will post again, when the timed loop works.
    have a nice day!
    Tobias
    Attachments:
    nx_short_demo.txt ‏2 KB

  • Run LabVIEW in embedded Linux

    Hello,
    My application platform is ARM 2410, the OS is embedded Linux extract from Red Hat Linux 9. I want to use LV to construct a HMI , which will use inter-process to communicate with other processes. I'd like to know which LV families product or module should be attached? Can port the LV application which develop on the Windows OS to the embedded system? Thanks.
    David

    DavidLee wrote:
    Hello,
    My application
    platform is ARM 2410, the OS is embedded Linux extract from Red Hat
    Linux 9. I want to use LV to construct a HMI , which will use
    inter-process to communicate with other processes. I'd like to know
    which LV families product or module should be attached? Can port the LV
    application which develop on the Windows OS to the embedded system?
    Thanks.
    David
    The only
    solution for this would be LabVIEW embedded development system. It's a
    special version of LabVIEW where you get part of the LabVIEW system in
    source code and allows you to port the LabVIEW embedded kernel to your
    32bit processor of choice. I'm not sure if ARM2410 is already as one of
    the provided platforms, otherwise you would have to spend some time
    porting various things to your platform. Apart from that you also need
    the entire C toolchain of your target platform run on your LabVIEW host
    system.
    LabVIEW embedded development system is definitely not for the faint at
    heart and substantial C programming knowledge will be mandatory in
    order to make the system work for your platform. And it costs quite
    some bucks >10000$.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Flash player for small linux device

    Hi forum,
    I'm working with small linux devices and I'm having a very
    decent restriction on the Compactflash / harddisk size. Is there a
    small stand-alone flash player for linux which plays at least
    Flash4? The player should have less than 1.5 MB in size. Therefore
    flash player 9 from adobe is not an option.
    I've tried the stand alone player version 6 from adobe, but
    this player is too much buggy on the linux basis we use.
    Any hints or suggestions would be appreciated.
    Kind regards.

    Hi, I'm not familiar with Linux, but this link has the system requirements for Flash Player 9.
    http://www.adobe.com/products/flashplayer/productinfo/systemreqs/flashplayer9/
    Flash Player is a browser plug in and works thru your browser, so check and see what browser and version is needed for FP version 9.
    It appears that Flash Player 8 is not supported for Linux, at least it wasn't listed.
    eidnolb

  • Run Windows on linux device?

    Hello,
    I am not a programer/developer at all and need some advice.
    I own a Archos 5 Internet Tablet that runs android.
    I have the option to convert it to a linux device for development.
    The company says it has all the requirements for a linux computer,but portable.
    So my question is, if I convert it to run linux, is there a simple way to make it run any windows on it?
    Please let me know, it would be great if I could have a portable windows device without buying something new.

    Your question is really better asked on a Windows forum as it's related to anything Apple or compatibility issues between Mac OS and Windows, which is the focus of this forum:
    http://forums.windowsforum.org/
    http://www.windowsforum.com/

  • Can I remove a Photo Stream from my iOS device and keep it on my iMac?

    Is there a way to save a Photo Stream on your computer (comments and all) and remove it from your iOS devices?  Going back to read the comments from time to time is nice, but don't want to have a list of Photo Streams as long as my arm on my iPhone and iPad.

    If you're referring to Shared Photos Streams the answer would be no.  If you're the owner of the stream and all you devices are logged into the same Apple ID if you delete the photos in a shared stream on one device they get deleted on all devices.
    iCloud: Photo Stream FAQ
    OT

  • ITunes purchased videos and all DRM movies will not play on iOS 8 devices when streamed from an external drive (or streamed from other wireless devices). Any solution in sight?

    Video streaming of DRM movies, purchased from iTunes and other vendors, to any iOS device is not working.

    I am not sure if you really understand the issue at hand. Possibly that you are just scanning, not reading the whole text, or simply that you just want to close a thread with your last words or derail it for whatever strange reason. So far you have been more destructive than helpful, but again this could be ignorance at best.
    If you would have had the decency to read the entire thread you would have come to the conclusion that every manufacturer, I came across, has posted FAQ's to this issue but Apple. Find a short excerpt below:
    SeaGate  http://knowledge.seagate.com/articles/en_US/FAQ/006135en?language=en_US <http://knowledge.seagate.com/articles/en_US/FAQ/006135en?language=en_US> Playing DRM (Digital Rights Management) protected movies in Seagate Media App Information regarding remote streaming of DRM protected movies. Most forms of DRM (Digital Rights Management) will prevent playing movies on unauthorized devices or from remote storage hosted on wireless drives or NAS drives(Seagate Wireless, Seagate Wireless Plus, Seagate Central or Seagate Personal Cloud). Movies purchased from iTunes can be streamed to iOS 6 and iOS 7 devices which were authorized from remote storage (the video could be selected in Seagate Media App and would be played in a Safari browser), however in iOS 8 this has stopped working. A bug has been filed with Apple, however this functionality has not been restored. Therefore, DRM protected movies purchased on iTunes can no longer be played on devices running iOS 8.
    SanDisk  http://kb.sandisk.com/app/answers/detail/a_id/16668/kw/itunes <http://kb.sandisk.com/app/answers/detail/a_id/16668/kw/itunes> Videos purchased or rented from iTunes will not play in iOS 8 The SanDisk Wireless Media Drive and Wireless Flash Drive support streaming of DRM protected iTunes purchased movie content to authorized devices in iOS 6 and iOS 7 ONLY. The DRM protected content is opened in Safari where the DRM is decrypted and the video is played. iOS 8 issue In iOS 8 Apple device has NOT enabled Safari based DRM decryption. Therefore DRM protected content, i.e. purchased movies or TV shows from iTunes, CANNOT be streamed from the Media Drive/WFD in iOS 8. This issue has been reported to Apple. We do not have any estimated date when Safari will support DRM decryption of iTunes purchased content.
    in contrast: here is the excerpt from the Apple Store http://store.apple.com/us/product/HFSQ2VC/A/sandisk-connect-64gb-wireless-media- drive?fnode=12ea113d2dba9883d5561c573d91…
    Overview
              With the SanDisk Connect Wireless Media Drive and its companion app, you're free to share and stream high-definition content between your iPad, iPhone, iPod touch or Mac devices without a cable connection. Simply connect wirelessly from your iOS device to the media drive and instantly stream your HD movies, browse photos and listen to music from around the house or on the go, while avoiding the common hassles of cables, attachment limits or Internet availability
    AirStash  http://support.airstash.com/entries/55924774-Known-Issues-with-iOS-8-and-or-iPho ne-6-6- <http://support.airstash.com/entries/55924774-Known-Issues-with-iOS-8-and-or-iPho ne-6-6-> (Excerpt) Known Issues with iOS 8 and/or iPhone 6/6+ Apple recently released iOS 8 and the iPhone 6 and iPhone 6+. Here are the remaining issues that we are aware of in the iOS 8 general release: • Video streaming of DRM movies (purchased from iTunes and other vendors): iTunes purchased videos and all DRM movies will not play on iOS 8 devices when streamed from AirStash (or streamed from other wireless devices). These movies are digitally protected and the AirStash app sends them to the Safari browser to play (which works for all prior iOS versions). However, in iOS 8, Safari will no longer allow DRM movies to play. These movies will play when the video is transferred to the iPhone/iPad and played in the Apple's Video App or the corresponding App from the vendor.
    WD - A Western Digital company  http://community.wd.com/t5/My-Passport-Wireless/Streaming-itunes-DRM-movies-to-s afari-on-iPad-not-working-IOS-8/m-p/820913#M387 <http://community.wd.com/t5/My-Passport-Wireless/Streaming-itunes-DRM-movies-to-s afari-on-iPad-not-working-IOS-8/m-p/820913#M387> No official comment here in regards to the issue but a interesting comment by Bill_S, WD Community Manager, who is basically saying that iOS8.x was actually a fix to an issue that DRM protected movies were playing prior to iOS8.x. If this is the case and Apple will not address this issue or fix it since Apple believes that movies should be protected this way, you need to let the community know that movies are restricted this way. Re: Streaming itunes DRM movies to safari on iPad not working - IOS 8 issue? [ Edited ] Options 11-06-2014 03:19 PM - edited 11-06-2014 03:22 PM Actually, this is not something we can NOT fix. It appears that Apple finally fixed an issue they had with their movie DRMs. The files should have never played in the first place. [Edit] If you have an issue with this, you will need to take it up with Apple. Click the Kudos star to say thank you for helpful posts. And be sure to come back to click the 'Accept as Solution' button for the post that solved your issue. This may help someone else.

  • Why don't free pre release streams work on ios devices?

    Why don't free pre release streams work on ios devices?

    The pre-release streaming won't stream unless acessing the iTunes store from a US or other pre-release  country.

Maybe you are looking for

  • Cannot edit DC metadata of a project

    I have checked out DC in writable mode. ie from inactive DCs but in the project, i am not able to edit the DC metadata part. and i am able to edit the web dynpro component part this problem started after i re imported a model which was already added

  • Error getting license: License Server Communication Problem: E_STREAM_ERROR: ???

    This is occuring on DRM ebooks. The vendor where I purchased has reset the licenses and I have authorized my computer. Please help...I need to download these books asap. Thanks!

  • My iPad 2 won't update

    Hi, I have this error of not being able to update my iPad 2 4.3.1 to iOS 5.1.1 After pressing the update button and waiting for it to extract the updated software, a window pops up. It says: "The iPad could not be restored. This device isn't eligible

  • AE CS5: My Illustrator map is totally blurry after applying CC Sphere

    Please see these screen grabs. Please download the images to see them full size. I have a vector map of the world that I created in Adobe Illustrator for a documentary about World War I. But when I wrap my map around the "CC Sphere" to create a globe

  • Monthly Salary slip problem in PE51

    hi all, i made a salary slip for employees using tcode PE51 for EXECUTIVE and WORKER and i m printing balanced leave like PL, CL, RH and SL, but problem is that it is showing correct for executive but in case of worker it is showing wrong leave balan