Koozali.org: home of the SME Server

[Annonce] firefly RPMs for SME

gerald001

[Annonce] firefly RPMs for SME
« on: August 12, 2006, 12:02:42 AM »
to the community,
if you intend to share your music with your family members you might want to implement firefly on your SME Server. The prepared rpm packages for ease of installation and a short instruction can be found here  http://schwarzecker.homelinux.net/index.php?option=com_content&task=view&id=123&Itemid=2.
A typical sceanario can be seen here .http://schwarzecker.homelinux.net/swf/firefly-withsound.html

enjoy every day of life . . .
Gerald ;-)

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
[Annonce] firefly RPMs for SME
« Reply #1 on: August 14, 2006, 01:51:17 AM »
Thanks for the contrib!
I know you want to keep track of the downloads but it's really painfull having to download each rpm separate and have to click at least 3 times before getting to the download and then agree to the license.
Here's a problem:
Quote
yum install sqlite
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Setting up Install Process
Setting up repositories
smeaddons                 100% |=========================|  951 B    00:00    
smeos                     100% |=========================|  951 B    00:00    
smeupdates                100% |=========================|  951 B    00:00    
Reading repository metadata in from local files
Parsing package install arguments
Nothing to do
================================================================
No new rpms were installed. No additional commands are required.
================================================================

gerald001

[Annonce] firefly RPMs for SME
« Reply #2 on: August 14, 2006, 06:18:28 PM »
Quote from: "stuntshell"
Thanks for the contrib!
I know you want to keep track of the downloads but it's really painfull having to download each rpm separate and have to click at least 3 times before getting to the download and then agree to the license.
Here's a problem:
Quote
yum install sqlite
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Setting up Install Process
Setting up repositories
smeaddons                 100% |=========================|  951 B    00:00    
smeos                     100% |=========================|  951 B    00:00    
smeupdates                100% |=========================|  951 B    00:00    
Reading repository metadata in from local files
Parsing package install arguments
Nothing to do
================================================================
No new rpms were installed. No additional commands are required.
================================================================


High stuntshell,
sorry for the inconveniance. Here and for all the others who want to  have all in one is the link to the big tarball.
http://schwarzecker.homelinux.net/index.php?option=com_remository&Itemid=28&func=selectfolder&filecatid=51.
For installing sqlite you either need to adjust your /etc/yum.conf file or you may download the rpm package from one of the CentOS mirrors. Here is one link.
http://mirrors.bevc.net/CentOS/4.3/apt/i386/RPMS.os/
best regards from Vienna
Gerald

Offline MSmith

  • *
  • 675
  • +0/-0
Contribs installs OK but server disappears from iTunes
« Reply #3 on: March 22, 2007, 04:30:28 AM »
After some fiddling I got the files installed from the big tarball ... was I wrong, or were there two versions of some files as well as the src rpms?  I used yum localinstall and it reported fixing some dependency issues.

Anyway, I got everything installed OK, configured, got on the web interface and changed the Firefly server name to suit, etc.  It scanned for files OK.  

However, in both Mac OS X 1.4.9 and XP w/iTunes 7.1.1, the shared server shows up *twice*.  I can start playback of a file but then the server vanishes, only to reappear when iTunes is restarted.

I don't have the nerve or knowhow to get the "nightlies" from Firefly; might that help?

Anybody have any other ideas?  This will work a treat with a very high Wife Acceptance Factor once it's running properly on her iBook streaming to Airport Express hooked to the home stereo ...

P.S. With reference to the preceding post:  an appropriate sqlite already exists in 7.1.2, or seems to; rpm -q sqlite reports the same version already installed that I was trying to put in from a CentOS RPM.
...

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Regards,
William

IF I give advise.. It's only if it was me....

Offline MSmith

  • *
  • 675
  • +0/-0
[Annonce] firefly RPMs for SME
« Reply #5 on: March 22, 2007, 03:36:58 PM »
Thanks much for the reply!  I did find that page whilst googling but am going to try putting eth0 in promiscuous mode first as suggested elsewhere to cure multicast issues.  I'm waiting for the rest of the 60 gigabytes of music to rsync from my old 6.01 SME to my new 7.1.2 SME before I do anything with ifconfig or firewalling.  I do have concerns about fiddling with the firewall, as I'm no Linux master and the SME 7.1.2 is my home gateway/firewall/router.
...

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
[Annonce] firefly RPMs for SME
« Reply #6 on: March 22, 2007, 03:46:21 PM »
What version SQlite do you have installed ?
Regards,
William

IF I give advise.. It's only if it was me....

Offline MSmith

  • *
  • 675
  • +0/-0
[Annonce] firefly RPMs for SME
« Reply #7 on: March 22, 2007, 04:54:36 PM »
"rpm -q sqlite" returns:
sqlite-3.3.3-1.2
...

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
[Annonce] firefly RPMs for SME
« Reply #8 on: March 22, 2007, 11:22:12 PM »
I thought the FAQ site said SQlite 2 was required and 3 would not work.
Regards,
William

IF I give advise.. It's only if it was me....

Offline MSmith

  • *
  • 675
  • +0/-0
[Annonce] firefly RPMs for SME
« Reply #9 on: March 23, 2007, 06:19:21 PM »
Right you are.  I was concentrating on the Firefly repackaging and didn't note that.  Wonder if sqlite2 and sqlite3 can coexist?  Might tinker a bit and find out.
...

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
[Annonce] firefly RPMs for SME
« Reply #10 on: March 24, 2007, 12:23:37 AM »
Quote from: "MSmith"
Right you are.  I was concentrating on the Firefly repackaging and didn't note that.  Wonder if sqlite2 and sqlite3 can coexist?  Might tinker a bit and find out.


I didn't recheck the FAQ but I think they said by design, sqlite2 and sqlite3 can coexist. You just have to find a rpm for sqlite2.

I finally installed Gerald's files (with sqlite3) and have the "two" SME's showing up in iTunes.

My regular setup is SME on 192.168.2.XX and my local lan on 192.168.1.XX. I need to find what ports to forward to get it working in this config.
Regards,
William

IF I give advise.. It's only if it was me....

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
[Annonce] firefly RPMs for SME
« Reply #11 on: March 24, 2007, 03:10:48 AM »
I decide to redo the starting of the service to be a little more SMEish to see if it would resolve the two server issue.

Code: [Select]
ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S96nifd
Code: [Select]
ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S97mDNSResponder
Code: [Select]
ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S98mt-daapd

Code: [Select]
db configuration set nifd service status disabled
Code: [Select]
db configuration set mDNSResponder service status disabled
Code: [Select]
db configuration set mt-daapd service status enabled

Code: [Select]
rm -f /etc/rc.d/rc2.d/S85mt-daapd; \
rm -f /etc/rc.d/rc3.d/S33nifd; \
rm -f /etc/rc.d/rc3.d/S34mDNSResponder; \
rm -f /etc/rc.d/rc3.d/S85mt-daapd; \
rm -f /etc/rc.d/rc4.d/S33nifd; \
rm -f /etc/rc.d/rc4.d/S34mDNSResponder; \
rm -f /etc/rc.d/rc4.d/S85mt-daapd; \
rm -f /etc/rc.d/rc5.d/S33nifd; \
rm -f /etc/rc.d/rc5.d/S34mDNSResponder; \
rm -f /etc/rc.d/rc5.d/S85mt-daapd; \
rm -f /etc/rc.d/rc7.d/S92nifd; \
rm -f /etc/rc.d/rc7.d/S93mDNSResponder


Code: [Select]
/etc/rc.d/init.d/mt-daapd stop
Code: [Select]
/etc/rc.d/init.d/nifd stop
Code: [Select]
/etc/rc.d/init.d/mDNSResponder stop

Code: [Select]
/sbin/e-smith/signal-event console-save
Code: [Select]
/sbin/e-smith/signal-event post-upgrade
Code: [Select]
/sbin/e-smith/signal-event reboot


Unfortunately it did not.

I did find stopping either mDNSResponder or mt-daapd would remove one of the servers listed. With mDNSResponder stopped itunes appeared to contine working OK. Not so with mt-daapd stopped.

I'm going to check the config files for both to see if there is any interaction between them.

With the above changes stopping and starting service is like so...
Code: [Select]
/etc/rc7.d/SXXservice stop
Code: [Select]
/etc/rc7.d/SXXservice start

EDIT: Set two services to disabled by default.
Regards,
William

IF I give advise.. It's only if it was me....

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
[Annonce] firefly RPMs for SME
« Reply #12 on: March 24, 2007, 12:19:50 PM »
Still to confirm, but it looks like mt-daapd has a built in mDNS. Possible reason for two servers showing up. Two mDNS may clobber each other. No details on how to stop the builtin one.

iTunes and daap server have to be on the same subnet (RIAA/Industry requirement)
Workaround is ssh tunnel and Rendezvous Proxy.

http://www.delight.ch/delight.ch/index.php?s=48
http://ileech.sourceforge.net/index.php?content=RendezvousProxy-News


Reference: http://wiki.mt-daapd.org/wiki/SSH_Tunnel
Regards,
William

IF I give advise.. It's only if it was me....

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
[Annonce] firefly RPMs for SME
« Reply #13 on: March 25, 2007, 05:16:17 AM »
Just discovered the -m option for mt-daapt.

Append it after mt-daapt in the start section of /etc/rc.d/init.d/mt-daapd .

This will disable the built-in mDNS.
Regards,
William

IF I give advise.. It's only if it was me....

Offline MSmith

  • *
  • 675
  • +0/-0
[Annonce] firefly RPMs for SME
« Reply #14 on: March 25, 2007, 06:30:19 AM »
First, thanks much for working on this; I have three very small children and little "tinker time".

Your finding the "-m" switch did indeed kill one of the instances of the shared library.  In my setup, it still shows up as the default "FireFly@SME 7.0" (minor note:  the other instance now unseen showed up as "firefly@SME 7.0", note capitalization), then changes once the songs are loaded to the name I gave it when customizing through the web interface.

Sadly, however, it still disappears after a few seconds.  I did not make the iptables change permanent, nor did I put eth0 permanently in promiscuous mode and I have rebooted the server since.

Thanks again for continuing to look into this.  How would one go about updating the installed mt-daapd  to the latest from the Firefly project?  Would that even be a sensible approach?
...

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
[Annonce] firefly RPMs for SME
« Reply #15 on: March 25, 2007, 07:45:19 AM »
I had to ask in another forum about disabling the inbuilt mDNS. I just did something and now feel silly..
Code: [Select]
[root@vme70update71 ~]# mt-daapd -h
mt-daapd: invalid option -- h
Usage: mt-daapd [options]

Options:
  -d <number>    Debuglevel (0-9)
  -D <mod,mod..> Debug modules
  -m             Disable mDNS
  -c <file>      Use configfile specified
  -p             Parse playlist file
  -f             Run in foreground
  -y             Yes, go ahead and run as non-root user


We must have installed differently as I cannot change options from within the web interface, only directly via the config files..
Code: [Select]
/etc/mt-daapd.conf
/etc/howl/mDNSResponder.conf

Howl as a project is now dead.

Avahi looks like the future replacement. Just need a CentOS 4 RPM.

I haven't played too much with it (only one MP3) but no drop outs or dissappearing servers while playing that one song. This is with the builtin mDNS. The other services are disabled.

What did you mean by iptables ?(ahh..just found it in the mt-daapd wiki) I run in server-only mode and have the masq service stopped and disabled. Assuming you mean opening up port 3689, then using the way I now start and stop the services the following should do it for you...
Code: [Select]
db configuration set mt-daapd service status enabled TCPPort 3689 access private UDPPort 5353
Code: [Select]
signal-event remoteaccess-update
Code: [Select]
iptables -L |grep 3689 should show the port in play.
Regards,
William

IF I give advise.. It's only if it was me....

Offline MSmith

  • *
  • 675
  • +0/-0
[Annonce] firefly RPMs for SME
« Reply #16 on: March 26, 2007, 04:09:59 PM »
Tried the db configuration command; didn't change the behavior.  Poking around in mt-daapd.conf, I see that "sqlite3" is a valid database type.

I also see that mt-daapd is set to run as "nobody" and that /var/cache/mt-daapd is owned by nobody with drwxr-xr-x permssions.

Servername is set to "Galactunes" which is what I set in the web interface BUT it still shows up in iTunes as "FireFly@SME 7.0".  Haven't grepped through the files to see where FireFly@SME shows up, if anywhere.

I installed by extracting the files, deleting the src rpms and hand-deleting the older versions of the rpms that were duplicated.  I did a yum localinstall and let yum work out the dependencies.

Here's the yum log from the install.

Mar 20 22:37:43 Installed: libogg.i386 1.1.3-1.sme7.0
Mar 20 22:37:43 Installed: libvorbis.i386 1.1.2-1.sme7.0
Mar 20 22:37:47 Installed: flac.i386 1.1.2-1.sme7.0
Mar 20 22:37:48 Installed: alsa-lib.i386 1.0.6-5.RHEL4
Mar 20 22:37:49 Installed: audiofile.i386 1:0.2.6-1.el4.1
Mar 20 22:37:50 Installed: esound.i386 1:0.2.35-2
Mar 20 22:37:50 Installed: libid3tag.i386 0.15.1b-1.sme7.0
Mar 20 22:37:52 Installed: fontconfig.i386 2.2.3-7.centos4
Mar 20 22:37:52 Installed: taglib.i386 1.4-1.sme7.0
Mar 20 22:37:53 Installed: howl.i386 1.0.0-2.sme7.0
Mar 20 22:37:54 Installed: libogg-devel.i386 1.1.3-1.sme7.0
Mar 20 22:37:54 Installed: speex.i386 1.0.4-4
Mar 20 22:37:54 Installed: musepack.i386 1.15v-1.sme7.0
Mar 20 22:37:54 Installed: zlib-devel.i386 1.2.1.2-1.2
Mar 20 22:37:55 Installed: libmng.i386 1.0.8-1
Mar 20 22:37:55 Installed: pkgconfig.i386 1:0.15.0-3
Mar 20 22:37:55 Installed: libmpcdec.i386 1.2.2-1.sme7.0
Mar 20 22:37:56 Installed: libmpcdec-devel.i386 1.2.2-1.sme7.0
Mar 20 22:37:56 Installed: libid3tag-devel.i386 0.15.1b-1.sme7.0
Mar 20 22:37:58 Installed: mt-daapd.i386 svn.1333-2.sme7.0
Mar 20 22:37:59 Installed: libvorbis-devel.i386 1.1.2-1.sme7.0
Mar 20 22:38:00 Installed: howl-devel.i386 1.0.0-2.sme7.0
Mar 20 22:38:03 Installed: taglib-devel.i386 1.4-1.sme7.0
Mar 20 22:38:04 Installed: flac-devel.i386 1.1.2-1.sme7.0
Mar 20 22:38:05 Installed: libvorbis-debuginfo.i386 1.1.2-1.sme7.0
Mar 20 22:38:05 Installed: libmpcdec-debuginfo.i386 1.2.2-1.sme7.0
Mar 20 22:38:08 Installed: flac-debuginfo.i386 1.1.2-1.sme7.0
Mar 20 22:38:09 Installed: mt-daapd-debuginfo.i386 svn.1333-2.sme7.0
Mar 20 22:38:09 Installed: libao-debuginfo.i386 0.8.6-1.sme7.0
Mar 20 22:38:10 Installed: libid3tag-debuginfo.i386 0.15.1b-1.sme7.0
Mar 20 22:38:11 Installed: howl-debuginfo.i386 1.0.0-2.sme7.0
Mar 20 22:38:11 Installed: libogg-debuginfo.i386 1.1.3-1.sme7.0
Mar 20 22:38:13 Installed: taglib-debuginfo.i386 1.4-1.sme7.0
Mar 20 22:38:13 Installed: vorbis-tools-debuginfo.i386 1.1.1-1.sme7.0
Mar 20 22:38:13 Installed: musepack-debuginfo.i386 1.15v-1.sme7.0
Mar 20 22:38:17 Installed: xorg-x11-libs.i386 6.8.2-1.EL.13.37.5
Mar 20 22:38:19 Installed: qt.i386 1:3.3.3-10.RHEL4
Mar 20 22:38:21 Installed: arts.i386 8:1.3.1-2
Mar 20 22:38:21 Installed: libao.i386 0.8.6-1.sme7.0
Mar 20 22:38:22 Installed: libao-devel.i386 0.8.6-1.sme7.0
Mar 20 22:38:22 Installed: xorg-x11-Mesa-libGL.i386 6.8.2-1.EL.13.37.5
Mar 20 22:38:23 Installed: vorbis-tools.i386 1.1.1-1.sme7.0
...

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
[Annonce] firefly RPMs for SME
« Reply #17 on: March 26, 2007, 05:05:19 PM »
I took out the devel and debuginfo stuff.

Quote
Mar 22 23:29:25 Installed: libogg.i386 2:1.1.3-7.el4.at
Mar 22 23:29:28 Installed: libvorbis.i386 1:1.1.0-1
Mar 22 23:29:29 Installed: libid3tag.i386 0.15.1b-3.2.el4.rf
Mar 22 23:29:29 Installed: libFLAC7.i386 1.1.2-25_11.el4.at
Mar 22 23:29:29 Installed: howl.i386 1.0.0-1.sme7.0
Mar 22 23:29:30 Installed: taglib.i386 1.4-1.2.el4.rf
Mar 22 23:29:31 Installed: mt-daapd.i386 svn.1417-1.sme7.0
Mar 22 23:55:08 Updated: libgcc.i386 3.4.6-3.1
Mar 22 23:55:10 Installed: fontconfig.i386 2.2.3-7.centos4
Mar 22 23:55:10 Installed: libvorbis0.i386 1:1.1.2-5.el4.at
Mar 22 23:55:11 Installed: alsa-lib.i386 1.0.6-5.RHEL4
Mar 22 23:55:12 Installed: audiofile.i386 1:0.2.6-1.el4.1
Mar 22 23:55:12 Installed: esound.i386 1:0.2.35-2
Mar 22 23:55:12 Installed: libOggFLAC3.i386 1.1.2-25_11.el4.at
Mar 22 23:55:13 Installed: atk.i386 1.8.0-2
Mar 22 23:55:13 Installed: libOggFLAC++2.i386 1.1.2-25_11.el4.at
Mar 22 23:55:13 Installed: libvorbisenc2.i386 1:1.1.2-5.el4.at
Mar 22 23:55:13 Installed: libvorbisfile3.i386 1:1.1.2-5.el4.at
Mar 22 23:55:14 Installed: libFLAC++5.i386 1.1.2-25_11.el4.at
Mar 22 23:55:14 Installed: libmng.i386 1.0.8-1
Mar 22 23:55:59 Installed: kernel-devel.i686 2.6.9-42.0.10.EL
Mar 22 23:55:59 Installed: dkms.noarch 2.0.13-1.el4.rf
Mar 22 23:56:00 Installed: cpp.i386 3.4.6-3.1
Mar 22 23:56:02 Installed: glibc-kernheaders.i386 2.4-9.1.98.EL
Mar 22 23:56:04 Installed: glibc-headers.i386 2.3.4-2.25
Mar 22 23:56:04 Installed: glibc-devel.i386 2.3.4-2.25
Mar 22 23:56:07 Installed: gcc.i386 3.4.6-3.1
Mar 22 23:56:08 Installed: flac.i386 1.1.2-25_11.el4.at
Mar 22 23:56:08 Updated: libvorbis.i386 1:1.1.2-5.el4.at
Mar 22 23:56:09 Installed: libmusepack.i386 1.1.1-1.2.el4.rf
Mar 22 23:56:10 Installed: libmpcdec.i386 1.2.2-2.el4.rf
Mar 22 23:56:13 Installed: xorg-x11-libs.i386 6.8.2-1.EL.13.37.5
Mar 22 23:56:13 Installed: pango.i386 1.6.0-9
Mar 22 23:56:16 Installed: gtk2.i386 2.4.13-22
Mar 22 23:56:21 Installed: nvidia-x11-drv.i386 1.0.9755-1.nodist.rf
Mar 22 23:56:21 Installed: qt.i386 1:3.3.3-10.RHEL4
Mar 22 23:56:22 Installed: arts.i386 8:1.3.1-2
Mar 22 23:56:22 Installed: libao.i386 0.8.6-0_3.el4.at
Mar 23 11:22:03 Installed: howl.i386 0.9.6-6
Mar 23 11:29:09 Installed: howl-libs.i386 0.9.6-6
Mar 23 11:38:12 Erased: howl
Mar 23 11:38:13 Erased: howl-libs
Mar 23 11:39:49 Installed: howl.i386 1.0.0-1.sme7.0
Mar 23 11:41:43 Erased: howl
Mar 23 11:42:21 Installed: howl.i386 0.9.6-6
Mar 23 11:42:56 Updated: howl.i386 1.0.0-1.sme7.0
Mar 23 12:11:11 Updated: howl.i386 1.0.0-2.sme7.0
Mar 23 12:11:12 Installed: qt.i386 1:3.3.3-10.RHEL4
Mar 23 12:11:14 Installed: arts.i386 8:1.3.1-2
Mar 23 12:11:14 Updated: libao.i386 0.8.6-1.sme7.0
Mar 23 12:11:14 Installed: speex.i386 1.2-0.2.beta1
Mar 23 12:11:15 Installed: mt-daapd.i386 0.2.4-1.sme7.0
Mar 23 12:11:17 Installed: vorbis-tools.i386 1.1.1-1.sme7.0
Mar 23 12:11:17 Installed: musepack.i386 1.15v-1.sme7.0


Quote from: "MSmith"
Haven't grepped through the files to see where FireFly@SME shows up, if anywhere.

Look in /etc/howl/mDNSResponder.conf

I had the standard repos enabled plus dag, dries and atrpms.
Regards,
William

IF I give advise.. It's only if it was me....

Offline davidsnot

  • 3
  • +0/-0
attaboy
« Reply #18 on: April 14, 2007, 07:39:43 PM »
I just set this up internally, and following everyones thoughts, its working flawlessly.  Only thing I had to do was downgrade my iTunes to 6.5, which isn't a problem.

Thanks for the Great Work!!

david

Offline tec

  • **
  • 48
  • +0/-0
[Annonce] firefly RPMs for SME
« Reply #19 on: June 08, 2007, 11:19:50 PM »
Hi I run Sme in Server Only Mode with the MASQ Service enabled.
In the Firefly Wiki they tell that I should do this:
iptables -A OUTPUT -p udp --dport 5353 -d 224.0.0.251 -j ACCEPT
iptables -A INPUT -p udp --dport 5353 -d 224.0.0.251 -j ACCEPT

when I do an iptables -L i see
Code: [Select]

Chain INPUT (policy DROP)
target     prot opt source               destination
denylog    all  --  BASE-ADDRESS.MCAST.NET/4  anywhere
denylog    all  --  anywhere             BASE-ADDRESS.MCAST.NET/4
ACCEPT     udp  --  anywhere             224.0.0.251         udp dpt:5353

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
PPPconn    all  --  anywhere             anywhere
denylog    all  --  BASE-ADDRESS.MCAST.NET/4  anywhere
denylog    all  --  anywhere             BASE-ADDRESS.MCAST.NET/4
ACCEPT     all  --  anywhere             anywhere
ACCEPT     udp  --  anywhere             224.0.0.251         udp dpt:5353

Isnt this multicast Blocking a Problem? Because right now Firefly still drops after 20 Seconds out of Itunes
Code: [Select]

VeryVito

[Annonce] firefly RPMs for SME
« Reply #20 on: June 10, 2007, 07:07:08 PM »
So... has anybody ACTUALLY managed to get this working on SME 7.1? I see a lot of suggestions as to how to get it to work, but nobody so far stating that they've successfully done so.

I, too, get the "20 seconds and gone" effect, and so far no amount of port fiddling has seemed to help. Anybody got a full Howto on how to get it going?

I just set up a new SME server after being gone from the fold for a few years, and I have to say... it's a lot more frustrating than I remember it. Setting up a standard Linux box to do this would probably have been a lot easier.

Offline davidsnot

  • 3
  • +0/-0
I got it working
« Reply #21 on: June 10, 2007, 08:34:27 PM »
I followed the howto, got it working.  My problem had to do with having a newer version of Itunes, had to downgrade to 6.5.

No issues at all, been using it for months now.

VeryVito

[Annonce] firefly RPMs for SME
« Reply #22 on: June 10, 2007, 09:57:12 PM »
Thanks.

Just to test a theory, I set Firefly up on a Ubuntu box, and got it working in a few minutes. Returning to the SME server after convincing myself it WAS possible, I figured out the magic missing ingredient, thanks to this post in another thread here.

The issue is indeed with the multicasting settings on the SME server, and commenting out the lines in the masq configuration file (see the link above) made everything work (where the other port enabling tricks had failed). Whew!

(BTW, and it's working in iTunes 7.2 for me now!)

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
[Annonce] firefly RPMs for SME
« Reply #23 on: June 11, 2007, 06:14:45 AM »
Quote from: "VeryVito"
T and commenting out the lines in the masq configuration file


If your commenting out all the lines you just need to make a empty file of the same name under the "templates-custom" tree.

Code: [Select]
mkdir -p /etc/e-smith/templates-custom/etc/rc.d/init.d/masq
Code: [Select]
touch /etc/e-smith/templates-custom/etc/rc.d/init.d/masq/40DenyMulticast
Code: [Select]
signal-event remoteaccess-update


Did you update the mt-daapd version ? The one above is very old and the one you installed with Ubuntu may of been a lot newer. The web interface looks better in the newer versions.
Regards,
William

IF I give advise.. It's only if it was me....

Offline MSmith

  • *
  • 675
  • +0/-0
YES! IT WORKS!
« Reply #24 on: June 11, 2007, 04:18:12 PM »
After an unsuccessful attempt earlier, my SME 7.1.3 box, fully patched, is serving up all my carefully-ripped MP3s as a shared iTunes library, usable in the latest iTunes 7.2.

I followed, more or less, this howto:

http://schwarzecker.homelinux.net/index.php?option=com_content&task=view&id=150&Itemid=2

MANY THANKS to Gerald Schwarzecker for pulling this together.

I didn't follow it exactly; I wasn't able to find a couple of the RPMs.  Here's what I was able to find, mostly from the Dag repository:

a52dec-0.7.4-8.rf.i386.rpm
alsa-lib-1.0.6-5.RHEL4.i386.rpm
faac-1.24-1.2.el4.rf.i386.rpm
faad2-2.5-2.el4.rf.i386.rpm
ffmpeg-0.4.9-0.8.20070109.el4.rf.i386.rpm
fontconfig-2.2.3-7.centos4.i386.rpm
gsm-1.0.10-6.el4.rf.i386.rpm
howl-1.0.0-1.sme7.1.i386.rpm
imlib2-1.2.0-1.2.el4.rf.i386.rpm
lame-3.96.1-5.el4.rf.i386.rpm
libid3tag-0.15.1b-3.2.el4.rf.i386.rpm
libmpcdec-1.2.5-1.sme7.1.i386.rpm
mt-daapd-svn-1498-1.sme7.1.i386.rpm
SDL-1.2.7-8.i386.rpm
taglib-1.4-1.2.el4.rf.i386.rpm
x264-0.0.0-0.3.20061214.el4.rf.i386.rpm
xorg-x11-libs-6.8.2-1.EL.13.37.i386.rpm
xorg-x11-Mesa-libGL-6.8.2-1.EL.13.37.i386.rpm
xvidcore-1.1.2-1.el4.rf.i386.rpm

Per accepted SME practice I downloaded the files and used "yum localinstall" to sort out the dependencies.  I ran into trouble with the a52dec rpm which failed on "rtld(GNU_HASH)", apparently only available in a newer version of glibc than is installed or available for CentOS 4.4.  So I installed that one manually with rpm --nodeps and then the rest installed cleanly with yum.  

I also implemented the custom template allowing multicasting as above, though I did that before installing all the RPMs so I don't know if it was strictly necessary.

Regardless, it now *works* and the WAF ("Wife Acceptance Factor") is very high.  The shared library does appear twice but I'm not inclined to fool with it right now, as both entries do work correctly.

Many, many thanks to everyone who took the time to look into this and work on it.
...

sekt

[Annonce] firefly RPMs for SME
« Reply #25 on: July 19, 2007, 11:59:45 PM »
I install FireFly d. 18 july 2007 00:53, and it work perfect.

I did :
Code: [Select]

mkdir /root/FireFly
cd /root/FireFly

wget http://apt.sw.be/redhat/el4/en/i386/dag/RPMS/faac-1.24-1.2.el4.rf.i386.rpm
wget http://apt.sw.be/redhat/el4/en/i386/dag/RPMS/faad2-2.5-2.el4.rf.i386.rpm
wget http://apt.sw.be/redhat/el4/en/i386/dag/RPMS/ffmpeg-0.4.9-0.8.20070109.el4.rf.i386.rpm
wget http://apt.sw.be/redhat/el4/en/i386/dag/RPMS/gsm-1.0.10-6.el4.rf.i386.rpm
wget http://apt.sw.be/redhat/el4/en/i386/dag/RPMS/imlib2-1.2.0-1.2.el4.rf.i386.rpm
wget http://apt.sw.be/redhat/el4/en/i386/dag/RPMS/lame-3.96.1-5.el4.rf.i386.rpm
wget http://apt.sw.be/redhat/el4/en/i386/dag/RPMS/libid3tag-0.15.1b-3.2.el4.rf.i386.rpm
wget http://apt.sw.be/redhat/el4/en/i386/dag/RPMS/taglib-1.4-1.2.el4.rf.i386.rpm
wget http://apt.sw.be/redhat/el4/en/i386/dag/RPMS/x264-0.0.0-0.3.20061214.el4.rf.i386.rpm
wget http://apt.sw.be/redhat/el4/en/i386/dag/RPMS/xorg-x11-libs-6.8.2-1.EL.13.37.i386.rpm
wget http://apt.sw.be/redhat/el4/en/i386/dag/RPMS/xvidcore-1.1.2-1.el4.rf.i386.rpm
wget ftp://ftp.nluug.nl/pub/os/Linux/distr/CentOS/4.5/os/x86_64/CentOS/RPMS/alsa-lib-1.0.6-5.RHEL4.i386.rpm
wget ftp://ftp.pbone.net/mirror/ftp.centos.org/4.5/os/x86_64/CentOS/RPMS/fontconfig-2.2.3-7.centos4.i386.rpm
wget ftp://ftp.nluug.nl/pub/os/Linux/distr/CentOS/4.5/os/x86_64/CentOS/RPMS/SDL-1.2.7-8.i386.rpm
wget ftp://ftp.is.co.za/mirror/centos/4.4/os/i386/CentOS/RPMS/xorg-x11-Mesa-libGL-6.8.2-1.EL.13.37.i386.rpm


and found a other version af a52dec

Code: [Select]

wget http://dag.wieers.com/rpm/packages/a52dec/a52dec-0.7.4-8.el4.rf.i386.rpm


and got from Schwarzecker's Home download the files
howl-1.0.0-1.sme7.1.i386.rpm
libmpcdec-1.2.5-1.sme7.1.i386.rpm
mt-daapd-svn-1498-1.sme7.1.i386.rpm

run YUM in Local mode

Code: [Select]

yum localinstall *.rpm


and got this output from My SMEServer 7.1.3:

Code: [Select]


Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 SDL                     i386       1.2.7-8          SDL-1.2.7-8.i386.rpm  424 k
 a52dec                  i386       0.7.4-8.el4.rf   a52dec-0.7.4-8.el4.rf.i386.rpm  114 k
 alsa-lib                i386       1.0.6-5.RHEL4    alsa-lib-1.0.6-5.RHEL4.i386.rpm  809 k
 faac                    i386       1.24-1.2.el4.rf  faac-1.24-1.2.el4.rf.i386.rpm  193 k
 faad2                   i386       2.5-2.el4.rf     faad2-2.5-2.el4.rf.i386.rpm  710 k
 ffmpeg                  i386       0.4.9-0.8.20070109.el4.rf  ffmpeg-0.4.9-0.8.20070109.el4.rf.i386.rpm   13 M
 fontconfig              i386       2.2.3-7.centos4  fontconfig-2.2.3-7.centos4.i386.rpm  239 k
 gsm                     i386       1.0.10-6.el4.rf  gsm-1.0.10-6.el4.rf.i386.rpm   94 k
 howl                    i386       1.0.0-1.sme7.1   howl-1[1].0.0-1.sme7.1.i386.rpm  904 k
 imlib2                  i386       1.2.0-1.2.el4.rf  imlib2-1.2.0-1.2.el4.rf.i386.rpm  1.3 M
 lame                    i386       3.96.1-5.el4.rf  lame-3.96.1-5.el4.rf.i386.rpm  1.1 M
 libid3tag               i386       0.15.1b-3.2.el4.rf  libid3tag-0.15.1b-3.2.el4.rf.i386.rpm  108 k
 libmpcdec               i386       1.2.5-1.sme7.1   libmpcdec-1[1].2.5-1.sme7.1.i386.rpm  115 k
 mt-daapd-svn            i386       1498-1.sme7.1    mt-daapd-svn-1498-1[1].sme7.1.i386.rpm  1.2 M
 taglib                  i386       1.4-1.2.el4.rf   taglib-1.4-1.2.el4.rf.i386.rpm  411 k
 x264                    i386       0.0.0-0.3.20061214.el4.rf  x264-0.0.0-0.3.20061214.el4.rf.i386.rpm  1.8 M
 xorg-x11-Mesa-libGL     i386       6.8.2-1.EL.13.37  xorg-x11-Mesa-libGL-6.8.2-1.EL.13.37.i386.rpm  403 k
 xvidcore                i386       1.1.2-1.el4.rf   xvidcore-1.1.2-1.el4.rf.i386.rpm  1.5 M
Installing for dependencies:
 flac                    i386       1.1.0-7          base              265 k
 libogg                  i386       2:1.1.2-1        base               16 k
 libungif                i386       4.1.3-1.el4.2    base               39 k
 libvorbis               i386       1:1.1.0-1        base              185 k
 xorg-x11-libs           i386       6.8.2-1.EL.19    updates           2.7 M

Transaction Summary
=============================================================================
Install     23 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 27 M
Is this ok [y/N]:


I answer [Y] and got

Code: [Select]

Installed: SDL.i386 0:1.2.7-8 a52dec.i386 0:0.7.4-8.el4.rf alsa-lib.i386 0:1.0.6-5.RHEL4 faac.i386 0:1.24-1.2.el4.rf faad2.i386 0:2.5-2.el4.rf ffmpeg.i386 0:0.4.9-0.8.20070109.el4.rf fontconfig.i386 0:2.2.3-7.centos4 gsm.i386 0:1.0.10-6.el4.rf howl.i386 0:1.0.0-1.sme7.1 imlib2.i386 0:1.2.0-1.2.el4.rf lame.i386 0:3.96.1-5.el4.rf libid3tag.i386 0:0.15.1b-3.2.el4.rf libmpcdec.i386 0:1.2.5-1.sme7.1 mt-daapd-svn.i386 0:1498-1.sme7.1 taglib.i386 0:1.4-1.2.el4.rf x264.i386 0:0.0.0-0.3.20061214.el4.rf xorg-x11-Mesa-libGL.i386 0:6.8.2-1.EL.13.37 xvidcore.i386 0:1.1.2-1.el4.rf
Dependency Installed: flac.i386 0:1.1.0-7 libogg.i386 2:1.1.2-1 libungif.i386 0:4.1.3-1.el4.2 libvorbis.i386 1:1.1.0-1 xorg-x11-libs.i386 0:6.8.2-1.EL.19
Complete!
==============================================================
WARNING: You now need to run BOTH of the following commands
to ensure consistent system state:

signal-event post-upgrade; signal-event reboot

You should run these commands unless you are certain that
yum made no changes to your system.
==============================================================



and I send

Code: [Select]
signal-event post-upgrade; signal-event reboot


Did the Commenting out all the lines needed to make a empty file of the same name under the "templates-custom" tree.

Code: [Select]

mkdir -p /etc/e-smith/templates-custom/etc/rc.d/init.d/masq
touch /etc/e-smith/templates-custom/etc/rc.d/init.d/masq/40DenyMulticast
signal-event remoteaccess-update


and started the server with:

Code: [Select]

[root@k7s5a ~]# /etc/rc.d/init.d/nifd start
Starting nifd:                                             [  OK  ]
[root@k7s5a ~]# /etc/rc.d/init.d/mDNSResponder start
Starting mDNSResponder:                                    [  OK  ]
[root@k7s5a ~]# /etc/rc.d/init.d/mt-daapd start
Starting DAAP server:
[root@k7s5a ~]#


Hope it can help other:

Svenn-Erik
Skype Me at 'svenn-erik'

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
[Annonce] firefly RPMs for SME
« Reply #26 on: July 20, 2007, 02:47:58 AM »
How many "Sme Servers" do you see in iTunes?
Regards,
William

IF I give advise.. It's only if it was me....

sekt

[Annonce] firefly RPMs for SME
« Reply #27 on: July 20, 2007, 02:35:04 PM »
only one

when i restart or update my SMEServer, the PC running iTunes lost the the iTuneserver but when the SMEServer where back up , the iTunes server pop up again without doing somthing.

i theck the software installer and it opgrade the rpm:
xorg-x11-Mesa-libGL to version 6.8.2-1.EL19

I have other contribs on my server , so i will perform a new instalation only with all update and FireFly.
 :lol:

Skype me at 'svenn-erik'

sekt

iTunes and NetJuke
« Reply #28 on: July 23, 2007, 06:46:04 PM »
Just to tell

My Instalation of Firefly for iTunes work well after upgrade to SMEServer 7.2
The same with my Netjuke Instalation

Svenn-Erik K. Thomsen