![]() |
Rhythmbox doesn't find all files
Hi there!
Rhythmbox has been my favourite player application for quite some years. So I want to go on using it. But it finds only 611 of >1000 music files in my music directory. Running Rhythmbox in a terminal gave no hint. Where to look next for a solution? TIA Gregor BTW: 'find -not -type d' finds all files, 'find -not -type d | grep bla' finds < 1000 files. WTF?! |
Quote:
maybe some pattern there? like, certain codecs are not recognized? Quote:
|
Quote:
Quote:
Code:
/home/gszaktilla>locate mp3 | grep gszaktilla | wc -l Thanks! Gregor |
locate mp3 will output any string in the mlocate database that contains the substring mp3 which is not necessarily a mp3 file. Could be a sub directory, library or any program name.
locate mp3 | grep gszaktilla will pipe the output of locate mp3 to grep which will filter the output more i.e. those strings that contain gszaktilla which may not be in the /home/gszaktilla directory. If you want to count the number of files just in the /home/gszaktilla then use the command /home/gszaktilla> ls *.mp3 | wc -l To find just mp3 files use locate .mp3 The contents of the mlocate database are only as good as the last time the updatedb comand was run which is via a cron job. Files recently deleted may still be in the database. find searches the actual contents of directories versus using a database. |
Quote:
Code:
gszaktilla@mimi:~>locate .mp3 | wc -l |
I don't know at the moment without see the actual output. To find all mp3 files in your home directory using the find command.
find /home/gszaktilla -iname "*.mp3" -print | wc -l |
Quote:
Quote:
Life with Linux can be fun. I'm having fun since mid 90's. Gregor PS: The original problem still exists - rhythmbox only shows some 600 of >1000 mp3 files. The locate thing was a step in trying to build a playlist. rhythmbox shows <600 of that playlist :-/. |
troubleshooting oneliners:
you need to remove the pipe and everything after it from these commands and see what they actually output. rhythmbox: - how do you measure "more than 1000"? - how do you measure 611 (i guess rhythmbox told you so) anyhoo, i don't see how we can help you here without additional information. you need to compare the files in rhythmbox database to those actually present in your library (? your home directory?) and try to find a pattern. |
Quote:
Quote:
Quote:
Please let me know what further information you need. Gregor |
All times are GMT -5. The time now is 11:47 PM. |