@mherger:

So, here are my results and logs and "what obviously could have
happened".

In both cases it were misspelled artsist. 
Both were the only entries from those artists a) "ATB: Topic" b) "Deejay
Ötzi"

a) with renaming: changed "ATB: Topic" => "ATB; Topic" (as album artist
and track artist) AND renamed the file
b) without renaming: I changed "Deejay Ötzi => DJ Ötzi" (it's an album
by "Various Artists" with comp=1 ) and DIDN't rename the file

Important:
I did it this weekend AFTER my initial re-scan using the (at that point)
last nightly (should have been r1643836091 or 1644040271). From this
"1st run" I don't have the logs (resp. only the "short log" with no
details).

Result:
a) Track was in db with artists "ATB" and "Topic" - but the "ATB: Topic"
artist stayed in with an "empty" entry,
b) Track was in db with "Deejay Ötzi" AND "DJ Ötzi"

After changing my logging options, I "touched" them (so that scanner
sees them as new) and scanned again (with r1644170574.exe) 
(the first track results from another thing I did, changing the artist
"Voxxclub" => "voxxclub" - THIS one worked and it sais "Removing unused
contributor".

My examples a) and b) he also found as "changed" - but didn't obviously
do anything with them.

(...)
[22-02-07 17:17:44.8926] Slim::Utils::Scanner::Local::changed (969)
Handling changed audio track file:///M:/V/voXXclub/Donnawedda
Volksmusik/18 - voxxclub - Haeddi dadi wari.mp3
[22-02-07 17:17:45.1879] Slim::Schema::Contributor::rescan (244)
Removing unused contributor: 18303
[22-02-07 17:17:45.9323] Slim::Utils::SQLiteHelper::updateProgress (442)
Notify to server: [

"progress:1644250658.81424||importer||M:|directory_changed||23||24||",
]
[22-02-07 17:17:45.9353] Slim::Utils::SQLiteHelper::updateProgress (466)
Notify to server OK
[22-02-07 17:17:45.9357] Slim::Utils::Scanner::Local::changed (969)
Handling changed audio track
file:///M:/_Various/B/Bravo%20Hits%20030%20-%20CD%202/18%20-%20Deejay%20Oetzi%20-%20Hey%20Baby%20-%20Deejay%20Oetzi%20-%20Hey%20Baby.mp3
[22-02-07 17:17:48.4268] Slim::Utils::Scanner::Local::changed (969)
Handling changed audio track
file:///M:/A/ATB/2021%20-%20Your%20Love%20(Single)/01%20-%20ATB%3B%20Topic%3B%20A7S%20-%20Your%20Love%20(9PM).mp3
[22-02-07 17:17:54.2329] Slim::Utils::SQLiteHelper::updateProgress (442)
Notify to server: [

"progress:1644250658||importer||M:|directory_changed||24||24||1644250674.23192",
]

So I looked in my library.db:

in "contributors":
both misspelled artists are still "in" 
a) ATB: Topic = 101413 
b) Deejay Ötzi = 68185

in "contributor_album":
a) 10143 is linked with "role 5" and "role 6" (NOT role 1) to one album
(41226)
b) 68185 is linked with "role 1" to one album (30954)

in "contributor_track":
a + b) both contributors DOESN'T exist.

in "albums": 
a) album 41226 shows as contributor 10143
b) album 30954 shows as contributor 3 ("Various Artists")

in "tracks":
a) album 41226 shows no result
b) album 30954 shows track 439161 with primary_artist 5883 (which IS "DJ
Ötzi", the correct contributor!)

once again looking in "contributor_track"
a) - (for there is no track)
b) track 43961 has contributor 5883 (the correct "DJ Ötzi") with role 1
and contributor 3 ("Various Artists") with role 5

So IMHO I guess (!) this is what happens:
a) scanner recognized the RENAMED file, 
- added the new file to teh db "tracks" (which is there, track #1160846
with correct album and correct artists)
- deleted the old file from "tracks" (I also CAN'T find it searching for
the old URL), 
but did - not see, it was the only track from the album and did not
delete the "unused album".
        - not see, the contributor has no more entries than this "unused
album" and so did not delete the "unused contributor"

b) scanner recognized the CHANGED file,
- added the new (corrected) contributor to "contributor_track" and
deleted the "wrong" contributor from "contributor_track"
- added the new (corrected) contributor to "tracks" as "primary_artist"
- did not add the new (corrected) contribuotr to "contributor_album" and
did not remove the "old" contributor from "contributor_album"
- did not see that the "old" contributor is "unused" (which scanner
couldn't see, for it is still in use in "contributor_album")

Would any more information be helpful I could look up for You?

Maybe this gives You a hint - otherwise I will start another test with a
similar case - and this time log "everything" again...


------------------------------------------------------------------------
frank1969's Profile: http://forums.slimdevices.com/member.php?userid=31156
View this thread: http://forums.slimdevices.com/showthread.php?t=115919

_______________________________________________
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/beta

Reply via email to