Your Digital Media Has Never Looked So Good

 
les saunders
Topic Author
Posts: 4
Joined: Tue Sep 30, 2008 11:10 am

incompatible servers found

Thu Oct 02, 2008 10:39 am

The error msg on the soundbridge states that the sounbridge found DAAP servers like ITUNES but could not connect to them. The firefly server is pointing to my ITunes MUsic folder

the log from the firefly server is below
Log file: firefly.log

2008-10-02 16:42:03 (8cccab31): Starting with debuglevel 0
2008-10-02 16:42:06 (8cccab31): Starting rendezvous daemon
2008-10-02 16:42:06 (8cccab31): Initializing database
2008-10-02 16:42:06 (8cccab31): Full reload...
2008-10-02 16:42:10 (8cccab31): Starting mp3 scan
2008-10-02 16:46:38 (8cccab31): Short read: E:\les music\les iTunes Music\Elvis Costello & Allen Toussaint\The River In Reverse\02 Nearer To You.mp3

any suggestions on what to do to fix this problem :(
 
andyg
Posts: 407
Joined: Sun Oct 02, 2005 4:11 am
Location: London, UK

Thu Oct 02, 2008 2:37 pm

first up, bump up the debug to level 5 so we can see some decent output.

hard to begin to diagnose otherwise. also can you specify your setup in detail - wired/wireless, version of firefly & Roku software - v. important, what SB model you're using & what OS you're on. Do you get a DHCP address, have you got internet radio & accurate time setting in standby? The more info the better - it's tough mind reading :cry:
G5, OS X 10.5.8, 3 x M1000, iTunes 10.4, slimserver 6.2.1/alienbbc (now redundant), firefly svn 1586, uNSLUng 6.8
 
les saunders
Topic Author
Posts: 4
Joined: Tue Sep 30, 2008 11:10 am

Mon Oct 06, 2008 5:32 am

Andy,

I am running the soundbridge home music system on windows xp, my software is version 2.0

Iget a DHCP address , I get internet radio and accurate time setting in standby. I am on wireless





below is the advaned cofig file
# This is the Firefly Media Server config file.
#
# Note that any changes made to this file will require the server to be
# shut down and restarted
#
#


[general]
#
# web_root (required)
#
# Location of the admin web pages.
#
# If you installed from .RPM, .deb, or tarball with --prefix=/usr, then
# this is correct.
#
# If you installed from tarball without --prefix=/usr, then the correct
# path is probably /usr/local/share/mt-daapd/admin-root.
#

web_root=admin-root

#
# port (required)
#
# What port to listen on. It is possible to use a different
# port, but this is the default iTunes port
#

port=9999

#
# admin_pw (required)
#
# This is the password to the administrative pages
#

admin_pw=firefly


#
# db_type (required)
#
# This is what kind of backend database to store the song
# info in. Valid choices are "sqlite" and "sqlite3".
#
# sqlite seems to be more stable.

db_type=sqlite

#
# db_parms
#
# This is any extra information the db needs to connect.
# in the case of sqlite and sqlite3, this is the name
# of the directory to store the database in
#
# If you installed from RPM or .deb, this path likely already
# exists. If not, then you must create it. The directory itself
# must be writable by the "runas" user.
#

db_parms=.

#
# mp3_dir (required)
#
# Location of the mp3 files to share. Note that because the
# files are stored in the database by inode, these must be
# in the same physical filesystem.
#

mp3_dir=E:\les music\les iTunes Music

#
# servername (required)
#
# This is both the name of the server as advertised
# via rendezvous, and the name of the database
# exported via DAAP. Also know as "What shows up in iTunes".
#

servername=Firefly Media Server

#
# runas (required)
#
# This is the user to drop privs to if running as
# root. If mt-daapd is not started as root, this
# configuration option is ignored. Notice that this
# must be specified whether the server is running
# as root or not.
#
# This is a leftover from the port from unix -- it's
# not used on windows, but still hanging around, like
# an appendix.
#

runas=nobody

#
# password (optional)
#
# This is the password required to listen to MP3 files
# i.e. the password that iTunes prompts for
#

#password=mp3

#
# extensions (optional)
#
# These are the file extensions that the daap server will
# try to index and serve. By default, it only indexes and
# serves .mp3 files. It can also server .m4a and .m4p files,
# and just about any other files, really. Unfortunately, while
# it can *attempt* to serve other files (.ogg?), iTunes won't
# play them. Perhaps this would be useful on Linux with
# Rhythmbox, once it understands daap. (hurry up!)
#
# Failing that, one can use server-side conversion to transcode
# non-standard (.ogg, .flac) music to wav on the server side.
# See the ssc_* options below.
#

extensions=.mp3,.m4a,.m4p,.wma

#
# ssc_codectypes (optional)
#
# List of codectypes for files that the daap server should
# perform internal format conversion and present to clients
# as WAV files. The file extensions that these codectypes correspond
# to must also be present in 'extensions'
# configuration value, or files are not probed in the first
# place.
#
# Valid codectypes:
#
# mp4a - for AAC (.aac, .mp4, .m4a, .m4p)
# mpeg - for mp3
# wav - for wav
# wma - for wma
# ogg - for ogg
# flac - for flac (.flac, .fla)
# mpc for musepack (.mpc, .mpp, .mp+)
# alac for alac (.m4a)
#

#ssc_codectypes ogg,flac,alac

#
# ssc_prog (optional)
#
# Program that is used in server side format conversion.
# Program must accept following command line syntax:
# ssc_prog filename offset length ...
# Parameter filename is the real name of the file that is
# to be converted and streamed, offset is number of bytes
# that are skipped from the beginning of the _output_ file
# before streaming is started, length is length of the song
# in seconds (or zero). All other possible arguments must
# be ignored. The resulting wav file (or the rest of
# the file after initial seek) is written to the standard
# output by the ssc_prog program. This is typically
# a script that is a front end for different conversion tools
# handling different formats.
#

#ssc_prog /etc/mt-daapd-ssc-script

#
# logfile (optional)
#
# This is the file to log to. If this is not configured,
# then it will log to the syslog.
#
# Not that the -d <level> switch will control the log verbosity.
# By default, it runs at log level 1. Log level 9 will churn
# out scads of useless debugging information. Values in between
# will vary the amount of logging you get.
#

#logfile /var/log/mt-daapd.log

#
# art_filename (optional)
#
# There is experimental support thanks to Hiren Joshi
# (hirenj@mooh.org) for dynamically adding art to the id3v2
# header as it is streamed (!!). If you were using a music system
# like zina or andromeda, for example, with cover art called
# "_folderOpenImage.jpg", you could use the parameter
# art_file _folderOpenImage.jpg and if the file _folderOpenImage.jpg
# was located in the same folder as the .mp3 file, it would appear
# in iTunes. Cool, eh?
#

#art_filename _folderOpenImage.jpg

#
# rescan_interval
#
# How often to check the file system (in sec) to see if any mp3 files
# have been added or removed.
#
# if not specified, the default is 0, which disables background scanning.
#
# If background rescanning is disabled, a scan can still be forced from the
# "status" page of the administrative web interface
#
# Setting a rescan_interval lower than the time it takes to rescan
# won't hurt anything, it will just waste CPU, and make connect times
# to the daap server longer.
#
#

rescan_interval = 600

# always_scan
#
# The default behavior is not not do background rescans of the
# filesystem unless there are clients connected. The thought is to
# allow the drives to spin down unless they are in use. This might be
# of more importance in IDE drives that aren't designed to be run
# 24x7. Forcing a scan through the web interface will always work
# though, even if no users are connected.

always_scan = 1

#
# process_m3u
#
# By default m3u processing is turned off, since most m3u files
# sitting around in peoples mp3 directories have bad paths, and
# I hear about it. :)
#
# If you are sure your m3u files have good paths (i.e. unixly pathed,
# with relative paths relative to the directory the m3u is in), then
# you can turn on m3u processing by setting this directive to 1.
#
# I'm not sure "unixly" is a word, but you get the idea.
#

process_m3u = 1

#
# scan_type
#
#
# This sets how aggressively mp3 files should be scanned to determine
# file length. There are three values:
#
# 0 (Normal)
# Just scan the first mp3 frame to try and calculate size. This will
# be accurate for most files, but VBR files without an Xing tag will
# probably have wildly inaccurate file times. This is the default.
#
# 1 (Aggressive)
# This checks the bitrates of 10 frames in the middle of the song.
# This will still be inaccurate for VBR files without an Xing tag,
# but they probably won't be quite as inaccurate as 0. This takes
# more time, obviously, although the time hit will only happen the
# first time you scan a particular file.
#
# 2 (Painfully aggressive)
# This walks through the entire song, counting the number of frames.
# This should result in accurate song times, but will take the most
# time. Again, this will only have to be incurred the first time
# the file is indexed.
#

scan_type=2


# compress 0

#
# Truncate
#
# should the server truncate the log files on startup.
# Defaults to zero
truncate = 1
logfile=firefly.log

[plugins]
plugin_dir =plugins
plugins =rsp.dll,w32-event.dll,ssc-ffmpeg.dll,ssc-wma.dll

















please find below the log run with debug
Log file: firefly.log

2008-10-05 19:36:32 (2334659f): Starting with debuglevel 9
2008-10-05 19:36:32 (2334659f): Attempting to load plugin C:\Program Files\Firefly Media Server\plugins/rsp.dll
2008-10-05 19:36:32 (2334659f): Loaded plugin C:\Program Files\Firefly Media Server\plugins/rsp.dll (rsp/svn-1359)
2008-10-05 19:36:32 (2334659f): New transcode codec list:
2008-10-05 19:36:32 (2334659f): Attempting to load plugin C:\Program Files\Firefly Media Server\plugins/w32-event.dll
2008-10-05 19:36:32 (2334659f): Loaded plugin C:\Program Files\Firefly Media Server\plugins/w32-event.dll (w32-event/svn-1359)
2008-10-05 19:36:32 (2334659f): New transcode codec list:
2008-10-05 19:36:32 (2334659f): Attempting to load plugin C:\Program Files\Firefly Media Server\plugins/ssc-ffmpeg.dll
2008-10-05 19:36:32 (2334659f): Loaded plugin C:\Program Files\Firefly Media Server\plugins/ssc-ffmpeg.dll (ssc-ffmpeg/svn-1359)
2008-10-05 19:36:32 (2334659f): New transcode codec list: flac,alac,ogg,wma
2008-10-05 19:36:32 (2334659f): Attempting to load plugin C:\Program Files\Firefly Media Server\plugins/ssc-wma.dll
2008-10-05 19:36:32 (2334659f): Loaded plugin C:\Program Files\Firefly Media Server\plugins/ssc-wma.dll (ssc-wma/svn-1359)
2008-10-05 19:36:32 (2334659f): New transcode codec list: wma,wmal,wmap,wmav,flac,alac,ogg,wma
2008-10-05 19:36:32 (2334659f): Starting rendezvous daemon
2008-10-05 19:36:32 (2334659f): Opening database
2008-10-05 19:36:32 (2334659f): Executing: select value from config where term='version'
2008-10-05 19:37:03 (2334659f): Error: enum_begin failed (error 1): Misc SQL Error: database is locked
2008-10-05 19:37:03 (2334659f): Can't get db version. New database?
2008-10-05 19:37:03 (2334659f): Results: 0
2008-10-05 19:37:03 (2334659f): Initializing database
2008-10-05 19:37:03 (2334659f): Executing: select count(*) FROM songs
2008-10-05 19:37:33 (2334659f): Error: enum_begin failed (error 1): ?
2008-10-05 19:37:33 (2334659f): Executing: select value from config where term='rescan'
2008-10-05 19:38:03 (2334659f): Error: enum_begin failed (error 1): ?
2008-10-05 19:38:03 (2334659f): Full reload...
2008-10-05 19:38:03 (2334659f): Executing: drop index idx_path
2008-10-05 19:38:34 (2334659f): Query: drop index idx_path
2008-10-05 19:38:34 (2334659f): Error: database is locked
2008-10-05 19:38:34 (2334659f): Executing: drop index idx_songid
2008-10-05 19:39:04 (2334659f): Query: drop index idx_songid
2008-10-05 19:39:04 (2334659f): Error: database is locked
2008-10-05 19:39:04 (2334659f): Executing: drop index idx_playlistid
2008-10-05 19:39:34 (2334659f): Query: drop index idx_playlistid
2008-10-05 19:39:45 (2334659f): Error: database is locked
2008-10-05 19:39:45 (2334659f): Executing: drop table songs
2008-10-05 19:40:15 (2334659f): Query: drop table songs
2008-10-05 19:40:15 (2334659f): Error: database is locked
2008-10-05 19:40:15 (2334659f): Executing: delete from playlists where not type=1
2008-10-05 19:40:45 (2334659f): Query: delete from playlists where not type=1
2008-10-05 19:40:45 (2334659f): Error: database is locked
2008-10-05 19:40:45 (2334659f): Executing: drop table playlistitems
2008-10-05 19:41:16 (2334659f): Query: drop table playlistitems
2008-10-05 19:41:16 (2334659f): Error: database is locked
2008-10-05 19:41:16 (2334659f): Executing: drop table config
2008-10-05 19:41:46 (2334659f): Query: drop table config
2008-10-05 19:41:46 (2334659f): Error: database is locked
2008-10-05 19:41:46 (2334659f): Executing: vacuum
2008-10-05 19:42:16 (2334659f): Query: vacuum
2008-10-05 19:42:16 (2334659f): Error: database is locked
2008-10-05 19:42:16 (2334659f): Executing: create table songs (
id INTEGER PRIMARY KEY NOT NULL,
path VARCHAR(4096) NOT NULL,
fname VARCHAR(255) NOT NULL,
title VARCHAR(1024) DEFAULT NULL,
artist VARCHAR(1024) DEFAULT NULL,
album VARCHAR(1024) DEFAULT NULL,
genre VARCHAR(255) DEFAULT NULL,
comment VARCHAR(4096) DEFAULT NULL,
type VARCHAR(255) DEFAULT NULL,
composer VARCHAR(1024) DEFAULT NULL,
orchestra VARCHAR(1024) DEFAULT NULL,
conductor VARCHAR(1024) DEFAULT NULL,
grouping VARCHAR(1024) DEFAULT NULL,
url VARCHAR(1024) DEFAULT NULL,
bitrate INTEGER DEFAULT 0,
samplerate INTEGER DEFAULT 0,
song_length INTEGER DEFAULT 0,
file_size INTEGER DEFAULT 0,
year INTEGER DEFAULT 0,
track INTEGER DEFAULT 0,
total_tracks INTEGER DEFAULT 0,
disc INTEGER DEFAULT 0,
total_discs INTEGER DEFAULT 0,
bpm INTEGER DEFAULT 0,
compilation INTEGER DEFAULT 0,
rating INTEGER DEFAULT 0,
play_count INTEGER DEFAULT 0,
data_kind INTEGER DEFAULT 0,
item_kind INTEGER DEFAULT 0,
description INTEGER DEFAULT 0,
time_added INTEGER DEFAULT 0,
time_modified INTEGER DEFAULT 0,
time_played INTEGER DEFAULT 0,
db_timestamp INTEGER DEFAULT 0,
disabled INTEGER DEFAULT 0,
sample_count INTEGER DEFAULT 0,
force_update INTEGER DEFAULT 0,
codectype VARCHAR(5) DEFAULT NULL,
idx INTEGER NOT NULL,
has_video INTEGER DEFAULT 0,
contentrating INTEGER DEFAULT 0
);
create table playlistitems (
id INTEGER PRIMARY KEY NOT NULL,
playlistid INTEGER NOT NULL,
songid INTEGER NOT NULL
);
create table config (
term VARCHAR(255) NOT NULL,
subterm VARCHAR(255) DEFAULT NULL,
value VARCHAR(1024) NOT NULL
);
insert into config values ('version','','12');

2008-10-05 19:42:47 (2334659f): Query: create table songs (
id INTEGER PRIMARY KEY NOT NULL,
path VARCHAR(4096) NOT NULL,
fname VARCHAR(255) NOT NULL,
title VARCHAR(1024) DEFAULT NULL,
artist VARCHAR(1024) DEFAULT NULL,
album VARCHAR(1024) DEFAULT NULL,
genre VARCHAR(255) DEFAULT NULL,
comment VARCHAR(4096) DEFAULT NULL,
type VARCHAR(255) DEFAULT NULL,
composer VARCHAR(1024) DEFAULT NULL,
orchestra VARCHAR(1024) DEFAULT NULL,
conductor VARCHAR(1024) DEFAULT NULL,
grouping VARCHAR(1024) DEFAULT NULL,
url VARCHAR(1024) DEFAULT NULL,
bitrate INTEGER DEFAULT 0,
samplerate INTEGER DEFAULT 0,
song_length INTEGER DEFAULT 0,
file_size INTEGER DEFAULT 0,
year INTEGER DEFAULT 0,
track INTEGER DEFAULT 0,
total_tracks INTEGER DEFAULT 0,
disc INTEGER DEFAULT 0,
total_discs INTEGER DEFAULT 0,
bpm INTEGER DEFAULT 0,
compilation INTEGER DEFAULT 0,
 
les saunders
Topic Author
Posts: 4
Joined: Tue Sep 30, 2008 11:10 am

Mon Oct 06, 2008 5:35 am

does it matter where the firefly software is installed?

I have it installed on my c drive, it access my itunes folder on the e drive.
 
andyg
Posts: 407
Joined: Sun Oct 02, 2005 4:11 am
Location: London, UK

Mon Oct 06, 2008 8:31 am

Hi Les,

can you install this version of the 'nightly' builds and see whether it solves your woes:

http://nightlies.fireflymediaserver.org/version.php?version=svn-1586

It may be necessary to delete your database file as well and let firefly rebuild it through a full scan. Not being a Windows person I can't say offhand where that lives but it should be called songs.db

does it matter where the firefly software is installed?

I have it installed on my c drive, it access my itunes folder on the e drive.


So long as firefly has the correct path to the iTunes folder on the E drive you should be fine. Make sure to point only as far as the iTunes container folder.
G5, OS X 10.5.8, 3 x M1000, iTunes 10.4, slimserver 6.2.1/alienbbc (now redundant), firefly svn 1586, uNSLUng 6.8
 
les saunders
Topic Author
Posts: 4
Joined: Tue Sep 30, 2008 11:10 am

Mon Oct 06, 2008 2:45 pm

andy G and apache

as per your advice I have loaded the nightly builds I ran firefly in debug mode see below? In the log it appears a database is locked? is that a clue to something? Still no joy


Log file: firefly.log

2008-10-06 22:39:13 (41c9ad7e): Firefly Version svn-1586: Starting with debuglevel 9
2008-10-06 22:39:13 (41c9ad7e): Attempting to load plugin C:\Program Files\Firefly Media Server\plugins\out-daap.dll
2008-10-06 22:39:13 (41c9ad7e): Loaded plugin C:\Program Files\Firefly Media Server\plugins\out-daap.dll (daap/svn-1586)
2008-10-06 22:39:13 (41c9ad7e): New transcode codec list:
2008-10-06 22:39:13 (41c9ad7e): Attempting to load plugin C:\Program Files\Firefly Media Server\plugins\rsp.dll
2008-10-06 22:39:13 (41c9ad7e): Loaded plugin C:\Program Files\Firefly Media Server\plugins\rsp.dll (rsp/svn-1586)
2008-10-06 22:39:13 (41c9ad7e): New transcode codec list:
2008-10-06 22:39:13 (41c9ad7e): Attempting to load plugin C:\Program Files\Firefly Media Server\plugins\ssc-ffmpeg.dll
2008-10-06 22:39:13 (41c9ad7e): Loaded plugin C:\Program Files\Firefly Media Server\plugins\ssc-ffmpeg.dll (ssc-ffmpeg/svn-1586)
2008-10-06 22:39:13 (41c9ad7e): New transcode codec list: flac,alac,ogg,wma
2008-10-06 22:39:13 (41c9ad7e): Attempting to load plugin C:\Program Files\Firefly Media Server\plugins\ssc-wma.dll
2008-10-06 22:39:13 (41c9ad7e): Loaded plugin C:\Program Files\Firefly Media Server\plugins\ssc-wma.dll (ssc-wma/svn-1586)
2008-10-06 22:39:13 (41c9ad7e): New transcode codec list: wma,wmal,wmap,wmav,flac,alac,ogg,wma
2008-10-06 22:39:13 (41c9ad7e): Attempting to load plugin C:\Program Files\Firefly Media Server\plugins\w32-event.dll
2008-10-06 22:39:13 (41c9ad7e): Loaded plugin C:\Program Files\Firefly Media Server\plugins\w32-event.dll (w32-event/svn-1586)
2008-10-06 22:39:13 (41c9ad7e): New transcode codec list: wma,wmal,wmap,wmav,flac,alac,ogg,wma
2008-10-06 22:39:13 (41c9ad7e): Plugin loaded: w32-event/svn-1586
2008-10-06 22:39:13 (41c9ad7e): Plugin loaded: ssc-wma/svn-1586
2008-10-06 22:39:13 (41c9ad7e): Plugin loaded: ssc-ffmpeg/svn-1586
2008-10-06 22:39:13 (41c9ad7e): Plugin loaded: rsp/svn-1586
2008-10-06 22:39:13 (41c9ad7e): Plugin loaded: daap/svn-1586
2008-10-06 22:39:13 (41c9ad7e): Starting rendezvous daemon
2008-10-06 22:39:13 (41c9ad7e): Building drive mapping table from C:\Program Files\Firefly Media Server\mapping.ini
2008-10-06 22:39:13 (41c9ad7e): Opening database
2008-10-06 22:39:13 (41c9ad7e): Executing: select value from config where term='version'
2008-10-06 22:39:13 (41c9ad7e): Results: 0
2008-10-06 22:39:13 (41c9ad7e): Initializing database
2008-10-06 22:39:13 (41c9ad7e): Executing: select count(*) FROM songs
2008-10-06 22:39:13 (41c9ad7e): Executing: select value from config where term='rescan'
2008-10-06 22:39:13 (41c9ad7e): Full reload...
2008-10-06 22:39:13 (41c9ad7e): Executing: drop index idx_path
2008-10-06 22:39:13 (41c9ad7e): Query: drop index idx_path
2008-10-06 22:39:13 (41c9ad7e): Error: no such index: idx_path
2008-10-06 22:39:13 (41c9ad7e): Executing: drop index idx_songid
2008-10-06 22:39:13 (41c9ad7e): Query: drop index idx_songid
2008-10-06 22:39:13 (41c9ad7e): Error: no such index: idx_songid
2008-10-06 22:39:13 (41c9ad7e): Executing: drop index idx_playlistid
2008-10-06 22:39:13 (41c9ad7e): Query: drop index idx_playlistid
2008-10-06 22:39:13 (41c9ad7e): Error: no such index: idx_playlistid
2008-10-06 22:39:13 (41c9ad7e): Executing: drop table songs
2008-10-06 22:39:46 (41c9ad7e): Query: drop table songs
2008-10-06 22:39:46 (41c9ad7e): Error: database is locked
2008-10-06 22:39:46 (41c9ad7e): Executing: delete from playlists where not type=1 and not type=0
 
andyg
Posts: 407
Joined: Sun Oct 02, 2005 4:11 am
Location: London, UK

Mon Oct 06, 2008 3:00 pm

yeah, which was was why I hoped svn 1586 would sort you out. but as you can see from the logfile, you're a way further along than before.

a thought - do you have bonjour installed and running? and do you have these ports open through the firewall?

TCP port 3689
UDP port 5353

If your firewall requires that you associate the port with the app that's actually using it, assign 3689 to itunes, and 5353 to bonjour (mdnsreponder)

and did you trash (backup/copy first!) the db file and do a full rescan?
G5, OS X 10.5.8, 3 x M1000, iTunes 10.4, slimserver 6.2.1/alienbbc (now redundant), firefly svn 1586, uNSLUng 6.8
 
stretch
Posts: 623
Joined: Fri Dec 16, 2005 12:29 am
Location: Australia

Tue Oct 07, 2008 3:25 am

andyg wrote:
and did you trash (backup/copy first!) the db file and do a full rescan?
At a guess, I'd say he forgot to delete the old database file.

Les,

The database locked message is caused by two things. It's either corrupted or its being accessed by something.
Before you try anything else, find and delete the database file.

The file will be named songs.db or songs3.db

The db is ignored when you uninstall / reinstall Firefly so if it's corrupted you have to manually delete it
2 x M2000's
Infrant ReadyNAS NV+ with Firefly svn-1676
NSLU2, 500GB Maxtor One Touch III, uNSLUng 6.8, Firefly svn-1696
music library in FLAC format

Who is online

Users browsing this forum: No registered users and 1 guest