Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracks missing #26

Closed
Kabsky opened this issue Dec 16, 2019 · 8 comments
Closed

Tracks missing #26

Kabsky opened this issue Dec 16, 2019 · 8 comments
Labels

Comments

@Kabsky
Copy link

Kabsky commented Dec 16, 2019

Using the latest docker version (0.4.3), scanner report:
2019/12/16 14:25:28 finished scan in 379.254659ms, +226/435 tracks (0 err)

But only 209 track are added to the database.
The folder structure is: Artist/Album/Tracks

What seem to not work correctly are the 2 folders were i put various mp3.
For those 2 folders, sometimes 2 songs are added to the database, sometimes more, never all.

Thanks for gonic !

@sentriz
Copy link
Owner

sentriz commented Jan 21, 2020

hi. did you see an errors in the logs while scanning?

@sentriz sentriz added the bug label Jan 21, 2020
@Kabsky
Copy link
Author

Kabsky commented Jan 24, 2020

Hi,

I hope those are the log you want:

gonic | 2020/01/24 10:56:59 response 303 for /admin/start_scan_do
gonic | 2020/01/24 10:57:00 finished scan in 320.935929ms, +226/435 tracks (0 err)
gonic | 2020/01/24 10:57:00 response 200 for /admin/home
gonic | 2020/01/24 10:57:00 finished clean in 13.153914ms, -0 tracks

On front page in the stats section:
artists: | 9
albums: | 18
tracks: | 209

@sentriz
Copy link
Owner

sentriz commented Jan 27, 2020

can you show me what sort of file types you have in your music collection? maybe there are files types that gonic doesn't know about get

find /path/to/my/music -type f | awk -F. '!a[$NF]++{print $NF}'

@Kabsky
Copy link
Author

Kabsky commented Jan 28, 2020

find /data/music/ -type f | awk -F. '!a[$NF]++{print $NF}'
mp3
png
jpg

Reading issue #14 , i have the same behavior (in seconds not minutes):

Originally posted by @MichaelBechHansen in #14 (comment)

When starting a new scan, the album, artist and track counts go up for a few minutes, but the stops and reverts to the pre-scan count.

I have no problem with:
Jellyfin (crappy android apps for music)
AirSonic (good, but slow and java footprint...)
Supysonic: the best for me with gonic ;)

@sentriz
Copy link
Owner

sentriz commented Apr 20, 2020

hi! i think this may be fixed now. stupidly i was doing a join instead instead of left join to get track counts a while ago, hiding results from some queries

@Kabsky
Copy link
Author

Kabsky commented May 15, 2020

hello, i have updated to 0.8.8.
Delete the whole config to try, but always the same behavior: "scan full" = 209 tracks.
Another scan and bam it display 377 tracks until i refresh the page and came back to 209 tracks :(

@sentriz
Copy link
Owner

sentriz commented May 15, 2020

interesting. sounds the exact same as #63 gonna close in favour of that. btw if anyone is willing to help debug this more. an idea might be to email me link to a portion of tracks (say with firefox send or something) some that scan correctly, and some that dont. i can try to reproduce this then. thanks!

@sentriz sentriz closed this as completed May 15, 2020
sentriz added a commit that referenced this issue Sep 9, 2021
@sentriz
Copy link
Owner

sentriz commented Sep 9, 2021

should be fixed now! thanks for all your help

sentriz added a commit that referenced this issue Sep 9, 2021
sentriz added a commit that referenced this issue Sep 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants