Zingabopp / BeatSync

Beat Saber plugin to automatically download beatmaps.
Other
247 stars 22 forks source link

Case senstivity of info.dat file #15

Closed Johni0702 closed 4 years ago

Johni0702 commented 4 years ago

Similar to #13, some songs (but by no means all of them) have a Info.dat file rather than an info.dat one and will fail to generate a hash (and therefore be re-downloaded on each run) because BeatSync is only looking for the latter one: https://github.com/Zingabopp/BeatSync/blob/1cd52aad20b246a579cc277a55386532c0f71104/BeatSyncLib/Utilities/Util.cs#L151-L153

[BeatSyncLib - Info]:   Starting ScoreSaberLatestRanked feed...
[SongFeedReader - Debug]: Getting songs from 'https://scoresaber.com/api.php?function=get-leaderboards&cat=1&limit=100&page=1&ranked=1'
[BeatSyncConsole - Info]:       Job completed successfully: (A544) G4M3-0V3R by shrado & abcbadq
[BeatSyncLib - Warn]: Unable to get hash for '(B972) Harumaki Gohan - Himitsu (Duet Ver.) by Bloodcloak', hasher returned null.
[BeatSyncConsole - Info]:       Job completed successfully: (B972) Harumaki Gohan - Himitsu (Duet Ver.) by Bloodcloak
[BeatSyncLib - Warn]: Unable to get hash for '(B96A) Dr Meaker - Freaks (ft. Cappo D & Sharlene Hector) by pkdan', hasher returned null.
[BeatSyncConsole - Info]:       Job completed successfully: (B96A) Dr Meaker - Freaks (ft. Cappo D & Sharlene Hector) by pkdan
Zingabopp commented 4 years ago

Should be fixed now, you can give it a try with the Linux artifact: https://github.com/Zingabopp/BeatSync/actions/runs/158604831