skecher
Posts: 48
Joined: Sat Dec 19, 2015 9:59 pm

Re: Improved forked-daapd (iTunes server)

Sun Aug 27, 2017 6:26 pm

Does forked-daapd support airplay speakers?
Linux and Raspberry Pi resources: http://caesarsamsi.wordpress.com

ejurgensen
Posts: 501
Joined: Thu Jul 04, 2013 8:11 pm
Location: Denmark

Re: Improved forked-daapd (iTunes server)

Sun Aug 27, 2017 6:34 pm

Well that is pretty much the most important thing it does :-)

skecher
Posts: 48
Joined: Sat Dec 19, 2015 9:59 pm

Re: Improved forked-daapd (iTunes server)

Mon Aug 28, 2017 4:57 pm

Hi,

Immediately after paring, I go to Hyperfine and try clicking on the tabs left to right, then wait.

After about 30 seconds or so, Hyperfine shows "Connecting" (I'm assuming it lost connection to forked-daapd).

Thank you, Caesar.
Linux and Raspberry Pi resources: http://caesarsamsi.wordpress.com

johnstok
Posts: 2
Joined: Thu Jun 01, 2017 10:42 pm

Re: Improved forked-daapd (iTunes server)

Thu Aug 31, 2017 9:47 am

Hi,

Can I expect the Spotify integration to support gapless playback?

It doesn’t seem to be the case based on my observations.

Thanks

ejurgensen
Posts: 501
Joined: Thu Jul 04, 2013 8:11 pm
Location: Denmark

Re: Improved forked-daapd (iTunes server)

Fri Sep 01, 2017 5:00 pm

Not sure how much that would require. If you add as an issue on https://github.com/ejurgensen/forked-daapd it would be great. It increases the chance of me remembering to look into it.

o-alx-o
Posts: 2
Joined: Sun Sep 10, 2017 6:55 pm

Re: Improved forked-daapd (iTunes server)

Sun Sep 10, 2017 6:57 pm

Thanks for the great work. Forked-daapd runs without problems on my debian-system. I use it with shairport sync and would like to know if there is a way to hide airplay devices?

ejurgensen
Posts: 501
Joined: Thu Jul 04, 2013 8:11 pm
Location: Denmark

Re: Improved forked-daapd (iTunes server)

Sun Sep 10, 2017 7:43 pm

Yes, you can use this option:
https://github.com/ejurgensen/forked-da ... nf.in#L210

The option is not available in 24.2, which is in Stretch. You will need 25.0, which is in Buster/Sid.

o-alx-o
Posts: 2
Joined: Sun Sep 10, 2017 6:55 pm

Re: Improved forked-daapd (iTunes server)

Tue Sep 12, 2017 6:21 pm

Dear Mr. Ejurgensen, thank you for your quick answer, it works perfectly! :-)

ejurgensen
Posts: 501
Joined: Thu Jul 04, 2013 8:11 pm
Location: Denmark

Re: Improved forked-daapd (iTunes server)

Sun Sep 17, 2017 9:32 pm

I'd like to announce that a new release is now out. It is forked-daapd 25.0.63, available for Raspbian Jessie and Stretch.

Some important notes about the release:
  1. Thanks to @chme there is now a web interface - something forked-daapd has been sorely missing for many years. Check it out by going to http://forked-daapd.local:3689/, it's really great. Makes things like pairing a lot easier. It's brand new, so note that the documentation hasn't caught up, and not all forked-daapd's features are in the interface yet.
  2. There is now a Stretch version. See first post in this thread on how to install. Stretch comes with a pretty new ffmpeg version, which is great. That means that the Stretch version of forked-daapd uses a completely refactored interface towards ffmpeg. So there might be some new bugs there.
  3. I have now made a more proper Debian repository, it was sort of required to support Stretch. Again see first post on how to use it. Note that the source in /etc/apt/sources.list is changed, so if you want to keep automatic updates, you must update your sources.list! (see top post - note: also applies for Jessie)
Last edited by ejurgensen on Sat Sep 23, 2017 7:01 pm, edited 2 times in total.

MikaelHald
Posts: 1
Joined: Mon Sep 18, 2017 10:42 am

Google drive ?

Mon Sep 18, 2017 10:45 am

Can you access music stored on cloudservices, preferably google drive ?

marioscube
Posts: 47
Joined: Mon Dec 09, 2013 8:26 pm

Re: Improved forked-daapd (iTunes server)

Mon Sep 18, 2017 12:39 pm

Am I correct that the "new web interface" can only be added (I use the git source and "./configure and make" it myself) to forked-daapd if I use Debian Stretch and NOT Debian Jessie (wrong version of libwebsockets: configure: error: --with-libwebsockets was given, but test for libwebsockets >= 2.0.2 failed)?

ejurgensen
Posts: 501
Joined: Thu Jul 04, 2013 8:11 pm
Location: Denmark

Re: Improved forked-daapd (iTunes server)

Mon Sep 18, 2017 1:04 pm

The web interface works on Jessie too. Just run ./configure, but don't set --with-libwebsockets. It is not required.

ejurgensen
Posts: 501
Joined: Thu Jul 04, 2013 8:11 pm
Location: Denmark

Re: Google drive ?

Mon Sep 18, 2017 1:32 pm

MikaelHald wrote:
Mon Sep 18, 2017 10:45 am
Can you access music stored on cloudservices, preferably google drive ?
If you can mount your google drive I suppose it should work. Updating of the library will require manually triggering a rescan, however.

marioscube
Posts: 47
Joined: Mon Dec 09, 2013 8:26 pm

Re: Improved forked-daapd (iTunes server)

Mon Sep 18, 2017 1:39 pm

Thanks!

......... however, when I type in a browser http://<>internal_IP_forked-daapd_PC>:3689/ I get a "authorization required popup"!

Is that just me (Too much security) or am I missing something?

[edit] on an older version of forked-daapd on another server I get the same "authorization required" popup. [end edit]
[edit2] found a new line in forked-daadp.conf and added a password. Still the popup witch ask for "username/password".
When i do http://localhost:3689 from the server running forked-daapd I also get the popup [end edit]

I did not do "make install", I just copied the new forked-daapd file from source to /usr/sbin and stopped and started forked-daapd of course. It seems to work fine for playing music! :-)

ejurgensen
Posts: 501
Joined: Thu Jul 04, 2013 8:11 pm
Location: Denmark

Re: Improved forked-daapd (iTunes server)

Mon Sep 18, 2017 2:59 pm

The username is "admin" and the password is what you set in /etc/forked-daapd.conf (previous versions had "unused" as default)

davesteele
Posts: 33
Joined: Wed Nov 30, 2016 4:16 pm

Re: Google Drive

Mon Sep 18, 2017 3:03 pm

Based on what you are trying to do, I'd start with google-dirve-ocamlfuse.

marioscube
Posts: 47
Joined: Mon Dec 09, 2013 8:26 pm

Re: Improved forked-daapd (iTunes server)

Mon Sep 18, 2017 4:39 pm

ejurgensen wrote:
Mon Sep 18, 2017 2:59 pm
The username is "admin" and the password is what you set in /etc/forked-daapd.conf (previous versions had "unused" as default)
Thank you!

I had to restart not only forked-daapd but the server as well, but now it works. :D

cdlenfert
Posts: 25
Joined: Mon May 01, 2017 8:30 pm

Re: Improved forked-daapd (iTunes server)

Sat Sep 23, 2017 6:38 pm

ejurgensen wrote:
Sun Sep 17, 2017 9:32 pm
I'd like to announce that a new release is now out. It is forked-daapd 25.0.63, available for Raspbian Jessie and Stretch.
when I try to run an update with

Code: Select all

apt-get install forked-daapd
it says I'm on the latest version.

Code: Select all

dpkg-query -l | grep forked-daapd
ii  forked-daapd                          25.0.62.gitb71b324-1      armhf        DAAP/DACP (iTunes) and MPD server, supporting Ast
I'm assuming it's because I've installed from your repo using the quick instructions. Looking at the instructions for building from source on git, it was a little above my level. What's the best way for me to get updated to 25.0.63 so I can try out this new web interface. Very exciting.

I'm on a Pi Zero W running Raspbian Jessie 8

ejurgensen
Posts: 501
Joined: Thu Jul 04, 2013 8:11 pm
Location: Denmark

Re: Improved forked-daapd (iTunes server)

Sat Sep 23, 2017 6:59 pm

Note the bold part of my announcement :-) You've got to update your sources.list - see the first post. Maybe I should have said more clearly that it applies for Jessie too - will edit that.

cdlenfert
Posts: 25
Joined: Mon May 01, 2017 8:30 pm

Re: Improved forked-daapd (iTunes server)

Sat Sep 23, 2017 8:18 pm

ejurgensen wrote:
Sat Sep 23, 2017 6:59 pm
Note the bold part of my announcement :-)
Noted (thanks!) and updated. I selected "N" when given the option to load the new .conf file but I went in and compared against the new file from github and added the missing lines/options (including the ones that mention the web interface). When I go to the url ( http://forked-daapd.local:3689/) to access the interface (after updating the conf file and restarting forked-daapd) I get an error in the browser that the name didn't resolve.

I've also tried http://raspberrypi.local:3689 (thinking I had to use my own hostname) but that also didn't work.

ejurgensen
Posts: 501
Joined: Thu Jul 04, 2013 8:11 pm
Location: Denmark

Re: Improved forked-daapd (iTunes server)

Sat Sep 23, 2017 8:30 pm

Using own hostname should also work (except if you want to authorize with Spotify). Did you set a password in the config? Otherwise the interface will only be accessible from localhost.

cdlenfert
Posts: 25
Joined: Mon May 01, 2017 8:30 pm

Re: Improved forked-daapd (iTunes server)

Sat Sep 23, 2017 8:47 pm

I believe I commented out the password. I'll only be accessing it locally so the interface should still load up without a password right?

I tried from the static IP also but got a "forbidden" message.

edit: I think I was misunderstanding localhost vs. local network access. I'm guessing Localhost means I can only access the web interface from the machine (Pi Zero) that Forked-daapd is running on. I've added a password and restarted the service, but still so far no luck getting even the login prompt to load.

edit 2: I have managed to reach the login prompt after uncommenting the password line in .conf but after entering my password, the interface remains blank. No error, just nothing displayed in the browser.

skecher
Posts: 48
Joined: Sat Dec 19, 2015 9:59 pm

Re: Improved forked-daapd (iTunes server)

Sun Sep 24, 2017 8:43 pm

OK, I just created a new raspberry pi install (stretch). Then did
apt-get install forked-daapd

and I see the new version 24.2 installed.

During pairing I see the following:

[2017-09-24 13:50:12] [ LOG] remote: Discovered remote 'Remote for iTunes' (id 9799414544631554444315121738915964153932) at 192.168.1.64:62811, paircode 8734863924287445

[2017-09-24 13:33:52] [ LOG] remote: Invalid Remote pairing file /srv/music/pair.remote: device name too long or missing pin

What's wrong? How can I fix?

Note that running Raspbian Jessie with an older version of forked-daapd ran just fine.
Linux and Raspberry Pi resources: http://caesarsamsi.wordpress.com

ejurgensen
Posts: 501
Joined: Thu Jul 04, 2013 8:11 pm
Location: Denmark

Re: Improved forked-daapd (iTunes server)

Sun Sep 24, 2017 9:11 pm

What's wrong is probably what the log says: The pairing file is invalid.

You are using 24.2, which is not the newest, and the requirements for the pairing file in that version were: First line = device name, second line = PIN. For 25.0, the device name is no longer required. In the instructions there are two notes about this ;)

skecher
Posts: 48
Joined: Sat Dec 19, 2015 9:59 pm

Re: Improved forked-daapd (iTunes server)

Mon Sep 25, 2017 12:36 am

Thanks! That makes sense.

I compiled my own binary just now. Version 25.0

It works now with Raspbian stretch

Thank you, Caesar.
Linux and Raspberry Pi resources: http://caesarsamsi.wordpress.com

Return to “Raspbian”

Who is online

Users browsing this forum: No registered users and 29 guests