Summary: | Amarok doesn't add all tracks to the collection | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | giggi1999 |
Component: | Collections/Local | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | dmastboys, mitchell, ralf-engels, tiposchi |
Priority: | NOR | ||
Version: | 2.4.1 | ||
Target Milestone: | 2.4.2 | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
giggi1999
2011-06-11 20:08:24 UTC
Please run amarokcollectionscanner in a konsole and check for failures there. The log you point above shows you have duplicates that are already in the collection, those will not show unless you change the id3 tags to separately identify them. For me it seems to be unlikely that you have 7000 duplicate tracks. There might be another problem there. Could you search for an album that is not imported and then execute the amarok collection scanner on this directory only? (it's a seperate programm called amarok_collectionscanner) Also you might try to "touch" the missing directory and select "update collection" from the menu. Look at the debug output. Any news on this? Without your feedback we can't do much and will have to close this report. I am experiencing a similar problem.Only one of the tracks(track 9) from this album show up in amarok. Here is the output from amarokcollectionscanner: <?xml version="1.0" encoding="UTF-8"?> <scanner count="1"> <!--Created by amarokcollectionscanner 2.4.0onTue Aug 16 08:37:13 2011--> <directory> <path>/home/school/Music/Altar Of Praise Chorale/Praise to the Lord/</path> <rpath></rpath> <mtime>1313497747</mtime> <track> <uniqueid>amarok-sqltrackuid://</uniqueid> <path>/home/school/Music/Altar Of Praise Chorale/Praise to the Lord/Track 1.ogg</path> <rpath>Track 1.ogg</rpath> <filetype>2</filetype> <artist>Altar Of Praise Chorale</artist> <album>Praise to the Lord</album> <noCompilation/> <genre>Gospel & Religious</genre> <year>1</year> <track>1</track> <bitrate>128</bitrate> <length>167000</length> <samplerate>44100</samplerate> <filesize>2404095</filesize> <mtime>1312498738</mtime> <trackGain>-1</trackGain> <trackPeakGain>-1</trackPeakGain> <albumGain>-1</albumGain> <albumPeakGain>-1</albumPeakGain> </track> <track> <uniqueid>amarok-sqltrackuid://</uniqueid> <path>/home/school/Music/Altar Of Praise Chorale/Praise to the Lord/Track 10.ogg</path> <rpath>Track 10.ogg</rpath> <filetype>2</filetype> <artist>Altar Of Praise Chorale</artist> <album>Praise to the Lord</album> <noCompilation/> <genre>Gospel & Religious</genre> <year>1</year> <track>10</track> <bitrate>128</bitrate> <length>174000</length> <samplerate>44100</samplerate> <filesize>2456386</filesize> <mtime>1312498738</mtime> <trackGain>-1</trackGain> <trackPeakGain>-1</trackPeakGain> <albumGain>-1</albumGain> <albumPeakGain>-1</albumPeakGain> </track> <track> <uniqueid>amarok-sqltrackuid://</uniqueid> <path>/home/school/Music/Altar Of Praise Chorale/Praise to the Lord/Track 11.ogg</path> <rpath>Track 11.ogg</rpath> <filetype>2</filetype> <artist>Altar Of Praise Chorale</artist> <album>Praise to the Lord</album> <noCompilation/> <genre>Gospel & Religious</genre> <year>1</year> <track>11</track> <bitrate>128</bitrate> <length>144000</length> <samplerate>44100</samplerate> <filesize>2037452</filesize> <mtime>1312498738</mtime> <trackGain>-1</trackGain> <trackPeakGain>-1</trackPeakGain> <albumGain>-1</albumGain> <albumPeakGain>-1</albumPeakGain> </track> <track> <uniqueid>amarok-sqltrackuid://</uniqueid> <path>/home/school/Music/Altar Of Praise Chorale/Praise to the Lord/Track 12.ogg</path> <rpath>Track 12.ogg</rpath> <filetype>2</filetype> <artist>Altar Of Praise Chorale</artist> <album>Praise to the Lord</album> <noCompilation/> <genre>Gospel & Religious</genre> <year>1</year> <track>12</track> <bitrate>128</bitrate> <length>133000</length> <samplerate>44100</samplerate> <filesize>1889108</filesize> <mtime>1312498738</mtime> <trackGain>-1</trackGain> <trackPeakGain>-1</trackPeakGain> <albumGain>-1</albumGain> <albumPeakGain>-1</albumPeakGain> </track> <track> <uniqueid>amarok-sqltrackuid://</uniqueid> <path>/home/school/Music/Altar Of Praise Chorale/Praise to the Lord/Track 13.ogg</path> <rpath>Track 13.ogg</rpath> <filetype>2</filetype> <artist>Altar Of Praise Chorale</artist> <album>Praise to the Lord</album> <noCompilation/> <genre>Gospel & Religious</genre> <year>1</year> <track>13</track> <bitrate>128</bitrate> <length>201000</length> <samplerate>44100</samplerate> <filesize>2890691</filesize> <mtime>1312498738</mtime> <trackGain>-1</trackGain> <trackPeakGain>-1</trackPeakGain> <albumGain>-1</albumGain> <albumPeakGain>-1</albumPeakGain> </track> <track> <uniqueid>amarok-sqltrackuid://</uniqueid> <path>/home/school/Music/Altar Of Praise Chorale/Praise to the Lord/Track 14.ogg</path> <rpath>Track 14.ogg</rpath> <filetype>2</filetype> <artist>Altar Of Praise Chorale</artist> <album>Praise to the Lord</album> <noCompilation/> <genre>Gospel & Religious</genre> <year>1</year> <track>14</track> <bitrate>128</bitrate> <length>145000</length> <samplerate>44100</samplerate> <filesize>2072088</filesize> <mtime>1312498738</mtime> <trackGain>-1</trackGain> <trackPeakGain>-1</trackPeakGain> <albumGain>-1</albumGain> <albumPeakGain>-1</albumPeakGain> </track> <track> <uniqueid>amarok-sqltrackuid://</uniqueid> <path>/home/school/Music/Altar Of Praise Chorale/Praise to the Lord/Track 2.ogg</path> <rpath>Track 2.ogg</rpath> <filetype>2</filetype> <artist>Altar Of Praise Chorale</artist> <album>Praise to the Lord</album> <noCompilation/> <genre>Gospel & Religious</genre> <year>1</year> <track>2</track> <bitrate>128</bitrate> <length>212000</length> <samplerate>44100</samplerate> <filesize>2986082</filesize> <mtime>1312498738</mtime> <trackGain>-1</trackGain> <trackPeakGain>-1</trackPeakGain> <albumGain>-1</albumGain> <albumPeakGain>-1</albumPeakGain> </track> <track> <uniqueid>amarok-sqltrackuid://</uniqueid> <path>/home/school/Music/Altar Of Praise Chorale/Praise to the Lord/Track 3.ogg</path> <rpath>Track 3.ogg</rpath> <filetype>2</filetype> <artist>Altar Of Praise Chorale</artist> <album>Praise to the Lord</album> <noCompilation/> <genre>Gospel & Religious</genre> <year>1</year> <track>3</track> <bitrate>128</bitrate> <length>200000</length> <samplerate>44100</samplerate> <filesize>2839577</filesize> <mtime>1312498738</mtime> <trackGain>-1</trackGain> <trackPeakGain>-1</trackPeakGain> <albumGain>-1</albumGain> <albumPeakGain>-1</albumPeakGain> </track> <track> <uniqueid>amarok-sqltrackuid://</uniqueid> <path>/home/school/Music/Altar Of Praise Chorale/Praise to the Lord/Track 4.ogg</path> <rpath>Track 4.ogg</rpath> <filetype>2</filetype> <artist>Altar Of Praise Chorale</artist> <album>Praise to the Lord</album> <noCompilation/> <genre>Gospel & Religious</genre> <year>1</year> <track>4</track> <bitrate>128</bitrate> <length>155000</length> <samplerate>44100</samplerate> <filesize>2199290</filesize> <mtime>1312498738</mtime> <trackGain>-1</trackGain> <trackPeakGain>-1</trackPeakGain> <albumGain>-1</albumGain> <albumPeakGain>-1</albumPeakGain> </track> <track> <uniqueid>amarok-sqltrackuid://</uniqueid> <path>/home/school/Music/Altar Of Praise Chorale/Praise to the Lord/Track 5.ogg</path> <rpath>Track 5.ogg</rpath> <filetype>2</filetype> <artist>Altar Of Praise Chorale</artist> <album>Praise to the Lord</album> <noCompilation/> <genre>Gospel & Religious</genre> <year>1</year> <track>5</track> <bitrate>128</bitrate> <length>179000</length> <samplerate>44100</samplerate> <filesize>2571410</filesize> <mtime>1312498738</mtime> <trackGain>-1</trackGain> <trackPeakGain>-1</trackPeakGain> <albumGain>-1</albumGain> <albumPeakGain>-1</albumPeakGain> </track> <track> <uniqueid>amarok-sqltrackuid://</uniqueid> <path>/home/school/Music/Altar Of Praise Chorale/Praise to the Lord/Track 6.ogg</path> <rpath>Track 6.ogg</rpath> <filetype>2</filetype> <artist>Altar Of Praise Chorale</artist> <album>Praise to the Lord</album> <noCompilation/> <genre>Gospel & Religious</genre> <year>1</year> <track>6</track> <bitrate>128</bitrate> <length>198000</length> <samplerate>44100</samplerate> <filesize>2901554</filesize> <mtime>1312498738</mtime> <trackGain>-1</trackGain> <trackPeakGain>-1</trackPeakGain> <albumGain>-1</albumGain> <albumPeakGain>-1</albumPeakGain> </track> <track> <uniqueid>amarok-sqltrackuid://</uniqueid> <path>/home/school/Music/Altar Of Praise Chorale/Praise to the Lord/Track 7.ogg</path> <rpath>Track 7.ogg</rpath> <filetype>2</filetype> <artist>Altar Of Praise Chorale</artist> <album>Praise to the Lord</album> <noCompilation/> <genre>Gospel & Religious</genre> <year>1</year> <track>7</track> <bitrate>128</bitrate> <length>162000</length> <samplerate>44100</samplerate> <filesize>2310408</filesize> <mtime>1312498738</mtime> <trackGain>-1</trackGain> <trackPeakGain>-1</trackPeakGain> <albumGain>-1</albumGain> <albumPeakGain>-1</albumPeakGain> </track> <track> <uniqueid>amarok-sqltrackuid://</uniqueid> <path>/home/school/Music/Altar Of Praise Chorale/Praise to the Lord/Track 8.ogg</path> <rpath>Track 8.ogg</rpath> <filetype>2</filetype> <artist>Altar Of Praise Chorale</artist> <album>Praise to the Lord</album> <noCompilation/> <genre>Gospel & Religious</genre> <year>1</year> <track>8</track> <bitrate>128</bitrate> <length>131000</length> <samplerate>44100</samplerate> <filesize>1872898</filesize> <mtime>1312498738</mtime> <trackGain>-1</trackGain> <trackPeakGain>-1</trackPeakGain> <albumGain>-1</albumGain> <albumPeakGain>-1</albumPeakGain> </track> <track> <uniqueid>amarok-sqltrackuid://</uniqueid> <path>/home/school/Music/Altar Of Praise Chorale/Praise to the Lord/Track 9.ogg</path> <rpath>Track 9.ogg</rpath> <filetype>2</filetype> <artist>Altar Of Praise Chorale</artist> <album>Praise to the Lord</album> <noCompilation/> <genre>Gospel & Religious</genre> <year>1</year> <track>9</track> <bitrate>128</bitrate> <length>169000</length> <samplerate>44100</samplerate> <filesize>2376870</filesize> <mtime>1312498738</mtime> <trackGain>-1</trackGain> <trackPeakGain>-1</trackPeakGain> <albumGain>-1</albumGain> <albumPeakGain>-1</albumPeakGain> </track> </directory> </scanner> Seen the problem before. Look at the unique ids of your tracks. They are all the same, so only one gets imported. In your case run the amarok_afttagger on the directory. This will re-set the track ids and that should solve the problem (which we wouldn't have had in the first place if we would just import everything). THANKS! That did it! But the amarok unique id should like to a random alphanumeric string. in the case of dmastboys amarok has not generated an unique id. In my case I've observed that amarok in some case generate some identical unique_id, for the same file name or title. amarok_aftertagger is too slow for a big collection; like the mine. The amarok unique ids are created from the track title/artist/album. In the case where those informations are not available the algorithm will fall back to a hash of a couple of hundred bytes from the start of the file. That means that tracks with the same tags will get the same unique ids which leads back to the original problem. I am just explaining the details here. I didn't invent them. It's just the way Amarok is currently working. Two songs could have the same singer/title but for example one could be live and the other not. IMHO it would make much more sense to prompt the user about possible duplicates and let them decide if they want to delete those or not. Hi Salvo, completely agree. You might want to vote for the bug: 258555 *** This bug has been marked as a duplicate of bug 258555 *** |