Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 7 of 7
  1. #1
    Senior Member
    Join Date
    Jun 2009
    Posts
    332

    Bugs in "Look for new and changed"

    In this thread I'll try to describe some of the bugs in "Look for new and changed" files - I think this is more useful than creating many single bugs - for I think, there is ONE BIG bug ;-)
    And to say it clearly - it is NOT limited to the known "Cover art bugs".


    I've made the experience that it ONLY works good for NEW files - it doesn't recognize CHANGED files (properly) and it doesn't always delete DELETED tags.


    Three examples:

    a)

    I've had some miss-spellings in my library like

    "Maroon5" and "Maroon 5"
    or
    "Amy Macdonald" and "Amy MacDonald"

    both of them shown as 2 separate artists (or at least 4 ;-))

    So
    - I corrected and harmonised spelling
    - did a "new and changed" scan

    ...

    But nothing has changed!

    There are still TWO different artists for each name - and if I click the "miss-spelled" one (that actually isn't in my database anymore) it lists ALL the albums he WAS on BEFORE the rescan.

    If I click the single albums,
    - some are shown as "empty"
    - some show the files with the "new" (correct) spelling

    If I now click the files and get BACK to the album
    - the album NOW is empty...

    This leads me to the conclusion, that "new and changed" hasn't read the tags from this files at all.

    BUT:
    By changing the artists name, it got a new timestamp - and it has been listed in the "new music" section.

    So it leads me to another conclusion:
    - The "new and changed scan" sees the file
    - it recognizes the file as "changed"
    - in SOME cases it reads the new tags and deletes the old
    - in SOME cases it doesn't read the new tags
    - in EVERY case it doesn't remove the "old spelling" from database


    b)

    I bought a single from itunes - later on itunes informed me, the whole album is available and I downloaded the "missing" tracks only.
    I put them in a new folder - but forgot to change the "ALBUM" tag.

    So it's been like

    Track 01 .... album tag = ALBUM
    Track 02 .... album tag = ALBUM
    Track 03 .... album tag = ALBUM
    ...
    Track 11 .... album tag = SINGLE

    After I saw this, I corrected "track 11" so it was

    Track 11 .... album tag = ALBUM

    ... and did the rescan ...

    The result has been, there were still
    ALBUM
    and
    SINGLE
    in my database - BOTH listed under "new music" but with the "old" album tag.

    So it leads me to once again conclusion:
    - The "new and changed scan" sees the file
    - it recognizes the file as "changed"
    - it DIDN'T read the changed tags and didn't do any changes to my database...

    and once again:
    By "clicking" the file, it reads the new tags and shows it.


    BIG conclusion:
    "new and changed" doesn't do what it should do - it doesn't read changed files and changes the database.

    The only way to really change files in the database is to add EVERY file manually (by "folder browsing") and/or clicking EVERY new/changed file.

    This isn't usuable at all - I think - it's not usuable for "the freaks" for they have to many new files and changes
    and it's not usuable for the "everyday" user who expects some comfort...

    I think the usual user will have his library, scan it once - add some new albums, do a rescan and expects "everything to be fine".


    There of course is

    c)

    The third thing, I described before, that if you add new tracks to an existing album, they are shown as SEPERATE album with the same name ...

    http://forums.slimdevices.com/showth...l=1#post704334

    I think, "new and changed" needs a big re-work... :-((

  2. #2
    Senior Member
    Join Date
    Jun 2009
    Posts
    332
    Filed a bug for this - maybe You want to vote ;-)

    http://bugs.slimdevices.com/show_bug.cgi?id=17963

  3. #3
    Senior Member Mnyb's Avatar
    Join Date
    Feb 2006
    Location
    Vństerňs Sweden
    Posts
    13,300
    I've seen similar things over the years ( extra albums etc ).

    I think some of it are pure bugs and some of it are down to the mechanism used to detect changes .
    And I think some cleaning up inmthe dB does not work properly either ?

    I think LMS mainly uses the timestamp, but some of us including me try to not change timestamps while tagging to nut bungle the new music list .

    Then I *think* LMS tries to determine if the file size have changed, but some files have padding in the tags areas so that if you change the tag the file size do not change at all .

    A large enough change may be detected ?

    Some have written scripts that move the date a couple of seconds to get this to work better .

    I think I'll vote on the bug , you can surely find even more cases then you have described .
    So a catch all bug for better detection of changes is good .

    But how to improve if neither date or file size have changed ?

    I have one idea to go forward if LMS can detect that at least one file in an album have changed, discard all data on that album and rescan all the files in the album including cover art file .

    If the user have a reasonable organisation of the music LMS could even detect if anything in the folder with the album have
    changed size or something else ?

    Can the host OS provide info on file activity ? I'll bet Linux or osx can , so at least a simple mechanism for these OS can be designed ?
    --------------------------------------------------------------------
    Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3 sub.
    Bedroom/Office: Boom
    Kitchen: Touch + powered Fostex PM0.4
    Misc use: Radio (with battery)
    iPad1 with iPengHD & SqueezePad
    (in storage SB3, reciever ,controller )
    server HP proliant micro server N36L with ClearOS Linux

    http://people.xiph.org/~xiphmont/demo/neil-young.html

  4. #4
    Senior Member
    Join Date
    Apr 2005
    Location
    Colorado
    Posts
    10,893
    Are you using iTunes integration?

  5. #5
    Senior Member Mnyb's Avatar
    Join Date
    Feb 2006
    Location
    Vństerňs Sweden
    Posts
    13,300
    Quote Originally Posted by JJZolx View Post
    Are you using iTunes integration?
    Not me not using iTunes for music, but is not iTunes integration completely broken re changed files at the moment ?
    --------------------------------------------------------------------
    Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3 sub.
    Bedroom/Office: Boom
    Kitchen: Touch + powered Fostex PM0.4
    Misc use: Radio (with battery)
    iPad1 with iPengHD & SqueezePad
    (in storage SB3, reciever ,controller )
    server HP proliant micro server N36L with ClearOS Linux

    http://people.xiph.org/~xiphmont/demo/neil-young.html

  6. #6
    Senior Member
    Join Date
    Jun 2009
    Posts
    332
    Quote Originally Posted by Mnyb View Post
    So a catch all bug for better detection of changes is good .
    (...)
    I have one idea to go forward if LMS can detect that at least one file in an album have changed, discard all data on that album and rescan all the files in the album including cover art file .
    Good idea,
    but In my case, ALL files got new timestamps, so it would be "enough" if LMS would scan every tag of a file, where the time change has changed.
    IMHO it's fine if it's listed in "new music" then - so You can easily see, that it has been catched up by scanner...

    And I AIN'T using iTunes integration either

  7. #7
    Senior Member erland's Avatar
    Join Date
    Dec 2005
    Location
    Sweden
    Posts
    10,875
    Quote Originally Posted by Mnyb View Post
    Can the host OS provide info on file activity ? I'll bet Linux or osx can , so at least a simple mechanism for these OS can be designed ?
    Yes it can and it was used in 7.6 if you had enabled the "Automatically detect changes" option in SBS Settings/Advanced/Performance.
    - Didn't work reliably on Windows at all
    - It did work on some Linux configurations but not all
    - Worked on SqueezeOS

    In 7.6 it was deactivated on Windows but available on Linux, in 7.7 it's only available on SqueezeOS (the built-in server in the Touch) probably because Logitech thought there were too many issues also on some Linux boxes.
    Erland Isaksson (My homepage)
    (Developer of many plugins/applets (both free and commercial).
    If you like to encourage future presence on this forum and/or third party plugin/applet development, consider purchasing some plugins)

    Interested in the future of music streaming ? ickStream - A world of music at your fingertips.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •