rembo10 / headphones

Automatic music downloader for SABnzbd
GNU General Public License v3.0
3.37k stars 601 forks source link

multiple artist not correct in overview #2047

Open malinwa001 opened 9 years ago

malinwa001 commented 9 years ago

In the overview some artists are marked with no tracks on the server. When i select the artist, i can see the albums correctly.

Updating the database, deleting artist, deleting album,... didn't work.

Is this a known bug?

Server is a Syno Nas with about 30k tracks. Database bilding up is about 7-10 days. Did it twice with same result.

malinwa001 commented 9 years ago

forgot to include my screens

http://puu.sh/dtkX9/1e268dd94a.png http://puu.sh/dtkYE/69a3c50df9.png

AdeHub commented 9 years ago

Have you tried scanning just that artist folder? Anything in the logs?

malinwa001 commented 9 years ago

I changed the musicbrainz mirror server and refreshed the artist page. This is helping me to get correct information in the overview. Is there a way i can scan all data again? Manualy it will take ages. Updating one artist is about 1-5 minutes.

malinwa001 commented 9 years ago

I ran into a new problem, some artists have no tracks according to Headphones. In the directory there are several tracks.

Example Artist Adele : Headphones : http://puu.sh/duaLv/79f879d97c.jpg Directory structure : http://puu.sh/duaMA/cbc82d779d.png

All tags are available. Scanning artist again didn't help.

basilfx commented 9 years ago

Debug logs please.

malinwa001 commented 9 years ago

I did copy a part of the logs

http://pastebin.com/zGdRGwkE

As it is still scanning and updating the errors are gone already. I can not found the line where it search for the folder.

14-Dec-2014 12:48:08 - INFO    :: Thread-83 : Now adding/updating: Adele
14-Dec-2014 12:48:08 - INFO    :: Thread-83 : [Adele] Now adding/updating: 19 (Comprehensive Force)
14-Dec-2014 12:48:13 - INFO    :: Thread-75 : Seeing if we need album art for: I'm Not a Gun
14-Dec-2014 12:48:14 - INFO    :: Thread-75 : Updating complete for: I'm Not a Gun
14-Dec-2014 12:48:38 - INFO    :: Thread-83 : [Adele] Existing release 19 (1007498c-9856-4351-88fb-78a4d678a545) updated
14-Dec-2014 12:48:39 - INFO    :: Thread-83 : [Adele] Existing release 19 (2f39c479-c379-4999-9f5a-825ee701e341) updated
14-Dec-2014 12:48:40 - INFO    :: Thread-83 : [Adele] Existing release 19 (62a80ba6-d417-3df4-9535-f8a26a3ee5eb) updated
14-Dec-2014 12:48:42 - INFO    :: Thread-83 : [Adele] Existing release 19 (646c2e9c-99a5-4236-a2d1-7be5b143937b) updated
14-Dec-2014 12:48:42 - INFO    :: Thread-75 : Now adding/updating: Tactical Sekt
14-Dec-2014 12:48:42 - INFO    :: Thread-75 : [Tactical Sekt] Now updating: Geneticide (Release Date <9999 Days)
14-Dec-2014 12:48:44 - INFO    :: Thread-83 : [Adele] Existing release 19 (663a475d-af1a-44de-8afe-619a94733e27) updated
14-Dec-2014 12:48:45 - INFO    :: Thread-83 : [Adele] Existing release 19 (6d4e6692-5ecd-457b-bcd5-85baf51c5e10) updated
14-Dec-2014 12:48:46 - INFO    :: Thread-83 : [Adele] Existing release 19 (7869617c-a60a-40b7-ad29-01a0a2803fc0) updated
14-Dec-2014 12:48:48 - INFO    :: Thread-83 : [Adele] Existing release 19 (9105a5b3-eb68-3a03-9aa8-f3495e602a4f) updated
14-Dec-2014 12:48:49 - INFO    :: Thread-75 : [Tactical Sekt] Existing release Geneticide (8173cfb1-8b2a-476c-ad3e-85bd3c2de759) updated
14-Dec-2014 12:48:49 - INFO    :: Thread-75 : [Tactical Sekt] Existing release Geneticide (9c5e78aa-f00f-3ba3-ae98-01144c61a0f2) updated
14-Dec-2014 12:48:50 - INFO    :: Thread-75 : [Tactical Sekt] Packaging Geneticide releases into hybrid title
14-Dec-2014 12:48:50 - INFO    :: Thread-75 : [Tactical Sekt] Seeing if we need album art for Geneticide
14-Dec-2014 12:48:51 - INFO    :: Thread-83 : [Adele] Existing release 19 (968271f2-6500-32f1-bb14-9896fd81ac57) updated
14-Dec-2014 12:48:51 - INFO    :: Thread-75 : [Tactical Sekt] Now updating: Syncope (Release Date <9999 Days)
14-Dec-2014 12:48:52 - INFO    :: Thread-83 : [Adele] Existing release 19 (a200b8d8-2efd-4ec2-8356-c370ace9d795) updated
14-Dec-2014 12:48:53 - INFO    :: Thread-83 : [Adele] Existing release 19 (aea26ecc-887a-47a6-8b35-069ae727a6ed) updated
14-Dec-2014 12:48:54 - INFO    :: Thread-83 : [Adele] Existing release 19 (b422a456-40a6-3b91-a84e-4435d209bbe1) updated
14-Dec-2014 12:48:56 - INFO    :: Thread-83 : [Adele] Existing release 19 (b9c3cc97-a8b8-327b-9876-b76e7053449f) updated
14-Dec-2014 12:48:57 - INFO    :: Thread-83 : [Adele] Existing release 19 (ccdf3505-fcdc-4d3e-af0e-fa8570ca9530) updated
14-Dec-2014 12:48:59 - INFO    :: Thread-83 : [Adele] Packaging 19 releases into hybrid title
14-Dec-2014 12:49:00 - INFO    :: Thread-83 : [Adele] Seeing if we need album art for 19
14-Dec-2014 12:49:00 - INFO    :: Thread-83 : [Adele] Now adding/updating: 21 (Comprehensive Force)

This is the part where i scan the Adele artist again.

malinwa001 commented 9 years ago

Next error :(

2014-12-15 10:18:06 ERROR   Uncaught exception: Traceback (most recent call last):
File "/volume1/@appstore/headphones-custom/var/Headphones/headphones/logger.py", line 209, in new_run
old_run(*args, **kwargs)
File "/usr/local/python/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "/volume1/@appstore/headphones-custom/var/Headphones/headphones/updater.py", line 29, in dbUpdate
importer.addArtisttoDB(artistid=artistid, extrasonly=False, forcefull=forcefull)
File "/volume1/@appstore/headphones-custom/var/Headphones/headphones/importer.py", line 261, in addArtisttoDB
new_releases = mb.get_new_releases(rgid, includeExtras, True)
File "/volume1/@appstore/headphones-custom/var/Headphones/headphones/mb.py", line 570, in get_new_releases
logger.info('[%s] Forcing repackage of %s, since dB releases have been removed' % (release['ArtistName'], release_title))
UnboundLocalError: local variable 'release' referenced before assignment
basilfx commented 9 years ago

Last message is a bug. I will take a look later.

Regarding your logs, they don't contain debug information. See the troubleshooting wiki.

Further more, try to make a minimal setup: just copy one artist to some directory, configure Headphones to scan from there, and see what happens. Please post that complete log with debug info.

If all goes well, you should have something in your log that start with

Scanning music directory: /path/to/root/of/music
...
...

and

...
...
Library scan complete
malinwa001 commented 9 years ago

Can't find out how to start the logs in debug mode with a synology setup. I'll try to scan a small folder and see the results, but no debug info

basilfx commented 9 years ago

See the troubleshooting wiki.

Op zondag 21 december 2014 heeft malinwa001 notifications@github.com het volgende geschreven:

Can't find out how to start the logs in debug mode with a synology setup. I'll try to scan a small folder and see the results, but no debug info

— Reply to this email directly or view it on GitHub https://github.com/rembo10/headphones/issues/2047#issuecomment-67776491.

Met vriendelijke groet,

Bas Stottelaar

I: http://basilfx.net E: basstottelaar@gmail.com

malinwa001 commented 9 years ago

Did a restart and then did a debug log on. How do I add extra maps to the scanned folders? A full new rescan would take a week to 10 days... This is for me a strange thing, as a somethimes add extra tracks to my database, i cant scan just that folder for new tracks. I should do a full scan. So for now i'm still trying without the download option, just getting my music correct in the database