LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-07-2010, 12:21 PM   #1
brucem9999
LQ Newbie
 
Registered: Nov 2010
Posts: 2

Rep: Reputation: 0
File Browser, Banshee and Rhythmbox file counts do not sync


I loaded Banshee and Rhythmbox libraries from the same directory and I have 3 different file counts.

The file browser says I have 1,745 files, the Banshee library says there are 1,740 and the Rhythmbox says there are 1,742.

Without going through all 1,700+ files manually, how can I find out what the differences are?

BTW, all three use different sort sequences. What ever happened to the ascii sort sequence as a standard?

The first several files in the lists are (in sequence)

File Browser---------------------------Banshee-------------------------------Rhythmbox

18 wheels and a dozen roses--100 years---------------------------18 wheels and a dozen roses
19th Nervous breakdown-------18 wheels and a dozen roses--19th Nervous Breakdown
30,000 Pounds of Bananas-----19th Nervous Breakdown-------50 ways to leave your lover
50 ways to leave your lover----30,000 pounds of bananas-----100 years
100 years------------------------------50 ways to leave your lover-----30,000 pounds of bananas

so it would very difficult to go through them one-by-one.

I had the titles above in a nice columnar format, but the posting software removed all of the spaces and it won't accept tabs, so I'm sure it's not too easy to read.

Last edited by brucem9999; 11-07-2010 at 12:40 PM. Reason: To add info on different sort sequences
 
Old 11-07-2010, 12:53 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
I found that that Rhythmbox showed fewer files than were actually on the disk because it had experienced problems adding some of the music files to its internal library. Evidently it analyzed each music file as it was building its library. Files that it couldn't decode were not added to its library. I accidentally found a Rhythmbox log file where it listed each of the files that were not added to its library.

Pretty stupid programming. It should just list files in the directory, then if it has a problem playing a file it should report that when you try to play the file.

At the time I was also using Amarok. It did the same thing. The interesting thing is that the list of files that it could not decode was different than the list of files that Rhythmbox could not decode. And, they were both running on the same machine, and the files had been ripped from CD using the same machine, so all of the applications involved were using the same system libraries.

As far as how files are listed in these applications you have to understand that the applications are trying to create collections that are sorted by various criteria. They list files by date or genre or artist or whatever.

Last edited by stress_junkie; 11-07-2010 at 12:59 PM.
 
Old 11-09-2010, 11:05 AM   #3
brucem9999
LQ Newbie
 
Registered: Nov 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Yeah, I found the same

Thanks for your reply.

Last night I decided to do a file-by-file compare to see what was going on not knowing if someone was going to respond to my rant.

I found some dup files that rhythmbox ignored that banshee went ahead and added. But I also found several songs on which I had screwed up the extension (changed from mp3 to blank or some other non-existent ext) while renaming to standardize the file names and song titles. Rhytmbox DID add these, but Banshee did not. Ultimately, the file count in the file browser was correct, even though some of the file names were dups or had bad extensions.

I found the sort problem gets into a whole Unicode "thing", but the file browser does not seem to use the "standard" Unicode collating sequence (I couldn't figure out exactly what they were doing), while Banshee uses a "strict" Unicode standard and Rhytmbox a "Looser" standard (Rymthmbox allows capital letters to be sorted before lower case letters, which is O.K. according to standards, but not a "strict" compliance.)

Here's a reference to the Unicode table"

http://www.unicode.org/Public/UNIDATA/UnicodeData.txt

Case closed!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Banshee and Android Rock Together . . . Or Why Ubuntu Should Drop Rhythmbox LXer Syndicated Linux News 0 01-24-2010 01:42 AM
Can't create folder in file system using file browser aarav2306 Linux - Newbie 5 03-03-2009 02:36 AM
LXer: Another update on ODF vs. OOXML file counts LXer Syndicated Linux News 0 08-15-2007 04:30 PM
how file browser detects file type without .3 sufix? Leon_Amirreza Fedora 2 03-18-2007 11:20 PM
CIFS Mount not showing large directories (file counts). damber Linux - Networking 3 11-24-2006 11:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration