Git Product home page Git Product logo

Comments (39)

michaelkrtikos avatar michaelkrtikos commented on June 8, 2024

After some reading i see that the %2f and %20 are encoded characters so the link is actually correct. However, i still cannot play or download the song. Is there any possibility that this is a permission issue?

Edit: I have run a chmod -R 777 on my whole drive and this shouldn't be a permissions issue.

The problem is that i do not get as a result a "File not found" from my browser. I get a white screen.

Please help if possible

Thank you very much

OK another Edit... I have installed XBMC and Chorus on my PC and tried the streaming. Guess what? It works like a charm. When Chorus is running on my Raspberry Pi it does not work. Has anyone confirmed streaming while Chorus is installed on the Pi?

from chorus.

wilderkaiser avatar wilderkaiser commented on June 8, 2024

Hi there, Raspi with OE4.0 (from May 5th) .. put some mp3 Files to SD ... streaming to my Notebook works at a glance!

from chorus.

michaelkrtikos avatar michaelkrtikos commented on June 8, 2024

Hello, Thanks!

I will give this a try... Do you think that it could be a problem with the USB drives? Maybe the naming of the drives?

I will try your suggestion as soon as i go home and i will let you all know.

Thanks again, much appreciated

from chorus.

wilderkaiser avatar wilderkaiser commented on June 8, 2024

@michael: Openelec or Raspbmc? With Raspbmc there are (in some constellations) some issues with USB Drive ID`s. In Practice: Disconnecting (unmounting) a USB Drive on Raspbmc while running is leaving a "USB" Drive Shadow ... Access to this is not longer possible? I switched to OpenElec and this was a really good step for me ..

from chorus.

michaelkrtikos avatar michaelkrtikos commented on June 8, 2024

Openelec since day one!

from chorus.

wilderkaiser avatar wilderkaiser commented on June 8, 2024

LOL - streaming still doesnt work?? RB Model A or B?

from chorus.

michaelkrtikos avatar michaelkrtikos commented on June 8, 2024

Model B...I will give a try on your suggestion and see what to do... But I plan to have a big library so I cannot store it in the SD card. I only have 16GB

from chorus.

wilderkaiser avatar wilderkaiser commented on June 8, 2024

ok .. plugged a USB Stick and wondering: streaming to browser is NOT possible :-)

from chorus.

michaelkrtikos avatar michaelkrtikos commented on June 8, 2024

So the streaming via USB devices is not possible... We came to a conclusion! I was thinking that it could be a filesystem issue since i have my drives formated to ext4 but also the XBMC partition on OpenELEC is ext4 and it works from there.

I hope Jez will have a look on this and fix it if possible. Thank you very much for your help i nearly lost my mind!

from chorus.

jez500 avatar jez500 commented on June 8, 2024

I would focus your testing on simply downloading a song, if this works the so should streaming (in theory). I don't have a Pi to test any of this but is working well in on other platforms I have tested (windows, android, ios, linux).

If you can download then this is probably a chorus issue, if you cannot then unfortunately this is out of my hands.

from chorus.

wilderkaiser avatar wilderkaiser commented on June 8, 2024

@ jez: enjoy that paypal beer :-) No - downloading from USB is also NOT possible .. from the SDcard it does!

from chorus.

michaelkrtikos avatar michaelkrtikos commented on June 8, 2024

Unfortunately, also downloading does not work... Normally when you download a song, you press the button and the download starts. To me it opens a blank page and does nothing.

Thanks to wilderkaiser we have found out that this is happening only when the media are stored in USB devices.

from chorus.

wilderkaiser avatar wilderkaiser commented on June 8, 2024

let me check this out on my Intel NUC / OE 4.x :-)

from chorus.

jez500 avatar jez500 commented on June 8, 2024

Thanks @wilderkaiser :) I will!

I'm sorry to say but I don't think I can help with this then.

So you know how it works (if you want to lodge an issue with openelc) is I get given the file path from the xbmc library, I then pass it to this api call http://wiki.xbmc.org/?title=JSON-RPC_API/v6#Files.PrepareDownload which turns it into a downloadable file link, which then simply gets passed to the browser streaming api (soundmanager 2). The problem is most likely with the PrepareDownload call.

I have a little android box (minix x5 mini) which initially didn't work with streaming/downloading, but they eventually released a custom version of xbmc specifically for their devices and then it worked perfectly.

Interested to see how you go with your NUC

from chorus.

wilderkaiser avatar wilderkaiser commented on June 8, 2024

OK same issue. Intel NUC with OE x86 .. Internal SSD - everything is working well . Streaming from USB Drive does not work .. Remote controlling USB Drive stuff works!
Streaming movies: works phantastic (HTML% & Vlan)

from chorus.

jez500 avatar jez500 commented on June 8, 2024

Streaming/Downloading video works off USB? weird, although I don't know how this works internally, maybe audio / video are served in different ways. Last suggestion I could really give is to checkout your xbmc logs and see if that gives any kind of indication why it is failing.

from chorus.

wilderkaiser avatar wilderkaiser commented on June 8, 2024

@jez ... next time 2 beer OK - Having the same issue on a Zotac Box with Windows7 and XBMC 4 for Windows. Streaming from all internal drives does it - but not from s connected USB Drive :-(

Another Q: Are you interested for deeper testing chorus & spotlight (spoitfy) .. found something ..

from chorus.

jez500 avatar jez500 commented on June 8, 2024

Ha thanks @wilderkaiser more beer the better - it helps me code :)

I just tested on my PC with a USB source (Win7 + Gotham) and download + streaming worked first pop. Check your logs

With spotlight, If it gets itself into the official repo then I might have a look.

from chorus.

wilderkaiser avatar wilderkaiser commented on June 8, 2024

..my LOG http://ge.tt/7A3cd6h1/v/0?c line 631/632 ... seems OK ?!

With spotlight. Remote controlling works great - but Track and Artist ist not transmitted (only an ID .wav like 8wqefbn64qwef86wqe.wav ... I send u a PM or Skype - were building a custom XBMC on NUC with DVB/S2 and some other gimmics like spotify (spotlight) and so it would be great to have your Webinterface on it ... shure not for free ;-) maybe payable in keg beer lol

from chorus.

jez500 avatar jez500 commented on June 8, 2024

Yeah logs look fine.
Start another issue re spotlight and we'll go from there

from chorus.

wilderkaiser avatar wilderkaiser commented on June 8, 2024

Ill need some more time to debug this little streaming thing. Busy right now with my website and other stupid making things (need beer tonight). Lets go ahead then .... Tanks for all jez !

from chorus.

michaelkrtikos avatar michaelkrtikos commented on June 8, 2024

@wilderkaiser you mean the USB streaming thing?

from chorus.

wilderkaiser avatar wilderkaiser commented on June 8, 2024

@michaelkrtikos - yes! Maybe i can figure out whats happend .. maybe

from chorus.

michaelkrtikos avatar michaelkrtikos commented on June 8, 2024

@wilderkaiser i have been looking at your logs and saw the path to your USB stick and we have only one thing in common.

We both have capital letters on our drive name. Maybe the api is causing a problem with caps. I will try to format a usb stick and give it a name with small letters to test it.

from chorus.

michaelkrtikos avatar michaelkrtikos commented on June 8, 2024

So i did the test with the small letters and is not that. I confirm also that if i copy mp3s to SD card it works fine but on RPis the storage is limited without usb drives. If @wilderkaiser is able to debug it it would be awesome. I would like to help but i do not know how to code... :(

from chorus.

michaelkrtikos avatar michaelkrtikos commented on June 8, 2024

OK i have found a workaround for this issue. So far we know that if the media need to be located to SD card (for OpenELEC), i made it think that the songs are there.

I created symbolic links in the /storage folder.

So by default in OpenELEC you should place the songs to /storage/music. I have created a shortcut there with the name "music" but it actually leads to my external hard drive. That way, XBMC and eventually Chorus thinks that the songs are in the local partition while they are actually in the hard drive.

How to do it. Login to your OpenELEC via ssh and type the following:

rm -rf /storage/music
(this will actually delete the music folder but we are going to create it again)

ln -s /your/path/to/external_drive/music_folder music
(this will create a link with the name "music" from the path to external drive)

ex: ln -s /var/media/USBHDD2/Shares/Music music

Refresh your library (or clean and scan again with location /storage/music) and everything should be working. You can do the same with your movies!

I hope this helps

from chorus.

wilderkaiser avatar wilderkaiser commented on June 8, 2024

@michaelkrtikos; really magic :-) Cool workaround!!

from chorus.

jez500 avatar jez500 commented on June 8, 2024

@michaelkrtikos Great find! thanks :)

from chorus.

jez500 avatar jez500 commented on June 8, 2024

I'm going to close this as it isn't a Chorus issue. Excellent work on the workaround though guys!

from chorus.

michaelkrtikos avatar michaelkrtikos commented on June 8, 2024

Thank you jez for your comments. I have uploaded a blog post on the following link: http://www.theraspberrypiblog.com/blog/openelec-fix-chorus-streaming-on-raspberry-pi stating the solution and mentioning that this is not a Chorus bug. In case you think that the post is not good please let me know and i will delete it from the blog.

Thank you very much again!

from chorus.

wilderkaiser avatar wilderkaiser commented on June 8, 2024

Great done!!! Sorry for not being here right know due to TO MUCH WORK!

from chorus.

michaelkrtikos avatar michaelkrtikos commented on June 8, 2024

@wilderkaiser, have you managed to find a solution that does not require the workaround?

from chorus.

wilderkaiser avatar wilderkaiser commented on June 8, 2024

@michaelkrtikos ... sorry nope :-( Sitting days & nights in different tasks without really having time. The following 2 or 3 weeks it would be impossible to concentrate on that! Had some discussions with some OE & raspi Woodies (Nerds). Seems to be a OS/Driver problem (from my point of view). Cannot imagine that this is a chorus problem ... Because were working on a commercial XBMC Device were already seeking for a guy who can handle this and that as an employee - Needs to be speak fluent german and able to handle different XBMC possibilities - so if you know someone - ill be open for any suggestion.
@jez500 - warm regards Jeremy - wish you were in the neighborhood to drink some energizing beer and work on this and that. Hoply you find a way to work together with this AWXi guy?

from chorus.

michaelkrtikos avatar michaelkrtikos commented on June 8, 2024

@wilderkaiser don't worry, since we have found this workaround everything is ok. Unfortunately i do not know of anyone who can can help. Never mind, the work around how to is here for everyone to see. I have updated to OE 4.0.2 just now and i can confirm that the contents of the /storage directory are untouched so the links remain there even after the update. So this work around is one time job and quite easy (2 easy linux commands). I believe it is sufficient! Unfortunately i do not have a lot of time also, Job, kid, wife etc etc

P.S. What is with you guys and beer? :P (i am kidding of course)!

from chorus.

gitjose32 avatar gitjose32 commented on June 8, 2024

The symlink workaround does not work in my case. I use the latest version of OE and cannot hear at all files which apparently are being played in browser (chrome, tested on Ubuntu and on Windows 7).
Before doing this, I put a file directly in the /storage/music folder and the same happened, not browser playing...
I have no idea about what I am doing wrong.
Thank you!

from chorus.

michaelkrtikos avatar michaelkrtikos commented on June 8, 2024

@gitjose32 could you please let us know if you get song duration in chorus?

from chorus.

gitjose32 avatar gitjose32 commented on June 8, 2024

Hi, thank you for the answer.
No, it is not displayed. I can see the title of the song and, for the first
one selected, I see 0:00. When I change to another one, the new title
appears and the duration shows NaN.
In all the cases the amplitude bars oscillate as in the case of a "real"
play of the song (I guess...)

2014-06-18 9:32 GMT+02:00 michaelkrtikos [email protected]:

@gitjose32 https://github.com/gitjose32 could you please let us know if
you get song duration in chorus?


Reply to this email directly or view it on GitHub
#36 (comment).

from chorus.

michaelkrtikos avatar michaelkrtikos commented on June 8, 2024

That was exactly my problem with the song duration! It worked for me with adding the songs to the local "music" folder or doing what I suggested before!

I suppose you try with mp3s correct?

If you are running openelec to a raspberry pi try to prepare another ad card with version 4.0.2 (this is what works for me) and try it in this version!

from chorus.

gitjose32 avatar gitjose32 commented on June 8, 2024

No way. I have verified that the sound files are normal mp3, that they are inside the "music" folder and that I have the latest OpenELEC 4.0.5 version, but the same thing happened with old
versions 4.0.4, 4.0.3, 4.0.2 and 4.0.1 (I think the 0.1 was the first in
which I tried chorus).
It is a pity, because the interface is fantastic...

2014-06-19 9:31 GMT+02:00 michaelkrtikos [email protected]:

That was exactly my problem with the song duration! It worked for me with
adding the songs to the local "music" folder or doing what I suggested
before!

I suppose you try with mp3s correct?

If you are running openelec to a raspberry pi try to prepare another ad
card with version 4.0.2 (this is what works for me) and try it in this
version!


Reply to this email directly or view it on GitHub
#36 (comment).

from chorus.

Related Issues (20)

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.