New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Mediatomb does not show all files, Firefly does

Got problems with Bubba? Then this forum is for you.
Locked
HerrJanzon
Posts: 9
Joined: 13 Dec 2007, 06:21

Mediatomb does not show all files, Firefly does

Post by HerrJanzon »

Mostly I use a Upnp client accessing Mediatomb. I have noticed that for instance when browsing Audio/Artists/Queen less than half of the Queen albums on disk show up. I verified that also through the Mediatomb web pages, the FileSystem view shows all albums while the Database view shows less than half. Clicked around here and there and suddenly I had removed the Queen directory from the dB... :-)

Anyway, I added the top directory Queen again and waited. After a (long) while all albums show up in the PC Directory tree??? (Why has PC Directory been empty until now? What's its purpose?) And, again, less than half of them show up in in Audio/Artists/Queen.

Then I started ITunes which accesses Firefly, it shows all Queen albums. Also, before this experiment, the music directory on bubba has been used as the source dir for AmaroK which organizes its view based on the ID3-tags and that worked fine (showing all Queen albums). So the files should be alright I assume.

The music directory size is about 40Gb. Queen directory size is about 1Gb. /var/db/sqlite3.db is about 26Mb.

File rights are "-rwxrwxrwx" for all directories and files under top dir Queen, i.e. the same for those that show up and those that don't.

There might be more of these "hick-ups" but this is the one I focus on now.

Any ideas?
Eek
Posts: 372
Joined: 23 Dec 2007, 03:03
Location: the Netherlands

Post by Eek »

Hi

Sounds like problems with the file names.
characters like ë for example.
Check the /var/log/mediatomb and look for messages
saying that it can not see or use a file.
HerrJanzon
Posts: 9
Joined: 13 Dec 2007, 06:21

Post by HerrJanzon »

Yes, I have seen error messages in the log, mostly something like:

2008-07-04 06:47:10 ERROR: iconv: Ebba Grön 1978-82 could not be converted to new encoding: invalid character sequence!
2008-07-04 06:47:10 ERROR: iconv: Invalid or incomplete multibyte or wide character

I have not seen any complaints about the Queen files though.

But still, I'll play around with the file names and see what happens.
Eek
Posts: 372
Joined: 23 Dec 2007, 03:03
Location: the Netherlands

Post by Eek »

Hi
To import all files, you have to change the configuration file: /etc/mediatomn/config.xml
Look for
<import hidden-files="no">
<scripting script-charset="UTF-8">
And change this to
<import hidden-files="no">
<filesystem-charset>ISO-8859-1</filesystem-charset>
<metadata-charset>ISO-8859-1</metadata-charset>
<scripting script-charset="UTF-8">
Then

Code: Select all

/etc/init.d/mediatomb stop
rm /var/db/sqlite3.db
/etc/init.d/mediatomb start
Now all files should be imported.

cheers
Eek
ian
Posts: 128
Joined: 30 Jul 2007, 09:07

Post by ian »

I have had similar problems with mediatomb (see http://forum.excito.net/viewtopic.php?t=1020). For some reason, not all artist names or categories are indexed correctly, even though all files are available via firefly. In my case, "The Smashing Pumpkins" appeared nowhere under Artist (ie. not under T, S or P), but all of their albums DO appear under Albums.

I shall try the configuration tip, to see if that solves my problem...
HerrJanzon
Posts: 9
Joined: 13 Dec 2007, 06:21

Post by HerrJanzon »

Well, better in the sense that everything that is in the dB now looks fine, like Ebba Grön. Thanks!

But, still there are many albums that do not show up in the Database Artists view. I simpler example than Queen (since there are only two albums) is show below.

Example:
- Both albums show up in Database/PC Directory/var/samba/public/music/...
- No errors or warnings in the log.
- Both albums show up in "dB-creating"-media players like AmaroK
- Both albums show up in ITunes through Firefly.

BUT, only "The Beatiful Game" shows up in Database/Audio/Artists/...

The file listing is shown below:

X@bubba:/home/storage/music/Acoustic Alchemy$ ls -l *
Acoustic Alchemy -1998- Positive Thinking:
total 98740
-rwxrwxrwx 1 nobody users 9049780 Dec 8 2007 01-Passionelle.mp3
-rwxrwxrwx 1 nobody users 9072350 Dec 8 2007 02-Rain Watching WI.mp3
-rwxrwxrwx 1 nobody users 11255768 Dec 8 2007 03-Cadaques.mp3
-rwxrwxrwx 1 nobody users 10003563 Dec 8 2007 04-The Five Card Trick.mp3
-rwxrwxrwx 1 nobody users 8373522 Dec 8 2007 05-Positive Thinking.mp3
-rwxrwxrwx 1 nobody users 10551925 Dec 8 2007 06-The Better Shoes.mp3
-rwxrwxrwx 1 nobody users 8717084 Dec 8 2007 07-Vapour Trails.mp3
-rwxrwxrwx 1 nobody users 13053829 Dec 8 2007 08-Augustrasse.mp3
-rwxrwxrwx 1 nobody users 8967860 Dec 8 2007 09-Time Gentlemen Please.mp3
-rwxrwxrwx 1 nobody users 11879363 Dec 8 2007 10-Limited Excess.mp3

Acoustic Alchemy -2000- The Beatiful Game:
total 82048
-rwxrwxrwx 1 nobody users 9631047 Dec 8 2007 01-Angel Of The South.mp3
-rwxrwxrwx 1 nobody users 7316389 Dec 8 2007 02-The Panama Cat.mp3
-rwxrwxrwx 1 nobody users 7206674 Dec 8 2007 03-Trail Blazer.mp3
-rwxrwxrwx 1 nobody users 7594122 Dec 8 2007 04-The Beautiful Game.mp3
-rwxrwxrwx 1 nobody users 7276891 Dec 8 2007 05-Hats Of Magic.mp3
-rwxrwxrwx 1 nobody users 6807314 Dec 8 2007 06-Tete A Tete.mp3
-rwxrwxrwx 1 nobody users 6241483 Dec 8 2007 07-The Last Flamenco.mp3
-rwxrwxrwx 1 nobody users 6237427 Dec 8 2007 08-Kidstuff.mp3
-rwxrwxrwx 1 nobody users 6581616 Dec 8 2007 09-Big Sky Country.mp3
-rwxrwxrwx 1 nobody users 6046838 Dec 8 2007 10-Hold On to Your Heart.mp3
-rwxrwxrwx 1 nobody users 6717662 Dec 8 2007 11-Jubilation.mp3
-rwxrwxrwx 1 nobody users 6184137 Dec 8 2007 12-Big Sky Country (Nashv. Vers.).mp3
X@bubba:/home/storage/music/Acoustic Alchemy$

Strange...
Locked