Headphones - Music albums & artists auto download program - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for XBMC (/forumdisplay.php?fid=116)
+--- Thread: Headphones - Music albums & artists auto download program (/showthread.php?tid=103688)
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130
- steve1977 - 2011-07-16 04:15
Thanks for your quick reply and your fantastic coding. Please find reactions below:
rembo10 Wrote:I originally coded it as just showing "1/7" or whatever, but I think this looks a lot nicer.
Agree. Maybe a combination of both would be best. For me, the way SB does it scale and "1/7" inside looks fantastic and is very handy.
Also, for the actual albums, a simple "yes/no" would in my view be much better. Given you pull the release with largest number of tracks, it will give the impression that my album is incomplete only because I bought the official US release rather than the special Australian edition with 3 bonus tracks.
*edited* Also, would be great if status "skipped/wanted" could show "have". Either based on the "yes/no" info above or even manually set by me for albums that headphone did not find, but I actually have it (similar to how SB does it).
rembo10 Wrote:I'm picking the release that has an ASIN (Amazon ID) with the most number of tracks. I use the ASIN to get album art (although the whole album art process will improve). If no release has an ASIN, it'll take the album with the highest # of tracks.
I love that, this is great. Not sure whether it fully works yet. Two examples:
a) "3 Doors Down - The Better Life" has an ASIN code (and headphone point to the right release in its link that has ASIN), but for some weird reason, neither headphone nor MB display album art. Any thoughts?
b) "Avril Lavigne - Let Go" shows a Japanese album art. The "linked" release has an ASIN, but shows a different album art (both in MB and ASIN). No idea where headphone pulls this different album art from.
rembo10 Wrote:Some people like the full date, and I'd rather give more info than less.
Ok, fair. Would still be great to pull release date from the release group rather than the release. This way, we would have a proper time when the album got released (rather than when the release with the largest number of tracks got released.
rembo10 Wrote:Are you running the latest version? There were some update kinks that I think I have worked out (on OS X at least). Did you install via git clone or zip/tarball?
Yes, the latest via zip. Will post a bug report on github.
rembo10 Wrote:Yeah I've been having a lot of issues with unicode stuff, I may have fixed it in the latest version but I haven't gotten enough feedback to test.
Let me look into it again. After you fixed the issue with " (e.g., "Weird Al" Yancovic), albums still did not got identified. Same holds true for any artist with non-latin characters.
*edited* While all non-latin letter release do not identify albums, also have problems with some other albums:
a) Dave Matthews - unclear why, but none of my DMB albums is identified properly. Any info I can provide on GIT-bug report that would be helpful. The tags are perfect (actually with MB Picard) and no idea why headphone does not pick them up.
b) Avril Lavigne - doesnt realize that I have "Goodbye Lullaby", most likely because I own the "deluxe edition", which includes "deluxe edition" in the album title. Any idea how to make headphone less sensitive about this?
rembo10 Wrote:Type 'python headphones.py --help' or 'python headphones.py -h' to get a list of all the arguments.
Thanks. Actually, I am not runing .py manually, but in Win7 with activepython basically like an .exe. Is this still possible?
rembo10 Wrote:No problem! Post any issues on GitHub: rembo10 - headphones... it's a lot easier for me to track
Will do as long as they are for sure bugs. Of all my questions above, it appears that only update/unicode are bugs and the others more or less the way you envisioned it to be best.
- HenryFord - 2011-07-16 07:37
steve1977 Wrote:Thanks. Actually, I am not runing .py manually, but in Win7 with activepython basically like an .exe. Is this still possible?I do not understand this... Why do you need activepython for this? If you install Python, you can just double-click *.py-files without the need of any extra application. I honestly do think that ActivePython breaks some functionality as it implements python in a different way (check this site out:
I suggest to just install Python 2.7 - if you double-click the py-file, it will start fine. In order to get python run quietly, you can just use pythonw.exe instead (i.e.: run the following command from the cmd-line:
"C:\Program Files\python27\pythonw.exe" $Path_To_Headphone.py
If you want this simpler, just create a *.bat-file with that statement - double-clicking the bat-file will run headphones without the console...
- Adeiko - 2011-07-16 13:40
Tried to install on my NAS Server with this guide:
But on when i try to start it, it comes with an ImportError: Cannot import name itunesimport
anyone can help me?
- N3MIS15 - 2011-07-16 14:46
Adeiko Wrote:But on when i try to start it, it comes with an ImportError: Cannot import name itunesimport
I just got the same error updating from git master. reverted to my backup until its fixed.. (assuming its a bug)
- RuudBurger - 2011-07-16 16:45
Just wanted to test this out, got the same error
- rembo10 - 2011-07-16 20:26
Sorry about that.... it's fixed now!
P.S. Thanks for being awesomely patient and putting up with all the error messages. Hopefully there are less of them now :-)
- joelones - 2011-07-16 22:30
I'm just using nzbs.org as a source and I think think there's something wrong.
I added the album "Foo Fighters - In Your Honor". Below is from the log.
Quote:16-Jul-2011 16:20:59 - INFO :: CP Server Thread-6 : Marking album: ca53cf4f-5c18-48c1-b5ac-ab333e6189d1as wanted...
Yet if you follow the result link above (keep it mind I removed my details so the link will not work) it produces a valid XML which has the correct link to the NZB in question but does not add it to Sabnzbd. Log says "list index out of range"
Using linux (unraid) python 2.6.5.
Also, I noticed that the "Music Download Directory:" text box in "Download Settings" has a size limit, my absolute directory is above that limit. Can this be fixed.
Great work BTW.
- joelones - 2011-07-16 23:28
Just a question concerning the renaming and moving portion of the program. I am not using iTunes to sort my music rather a single directory.
It it possible to rename downloadeds nzbs to the following structure (or have that customized) "Artist/Album/01 Title.mp3"... and then move the files in question from "Music Download Directory" in "Download Settings" to the "Music Library" path? Is such thing already implemented? As I see an option to rename in "Renaming & Metadata".
Does the Renaming take place in Sabnzbd's "Music Download Directory" or the "Music Library" path?
- N3MIS15 - 2011-07-17 02:35
updated to newest and all is working well, except when i restart headphones i get "Illegal end of headers." screen. A quick refresh takes me back to home..
Also are there any plans to store the album art images localy?
And it would be nice to be able to add album art from a local source if headphones cant scrape it. Maybe if u have the album in your library scrape it from there?
- rembo10 - 2011-07-17 07:20
joelones Wrote:Just a question concerning the renaming and moving portion of the program. I am not using iTunes to sort my music rather a single directory.
That's a feature that's coming. Post-processing doesn't work yet, but if you check the config.ini you'll see there are two lines for folder format and file format. I'll make it a config option as soon as I get post-processing working right.
As for nzbs.org - I don't have an account and I never really heard back from anyone about it whether it was working or not. I can use what you posted to parse it right.
Btw, I removed the arbitrary limit on the music download dir. Will be in the next push.
N3MIS15 - What browser are you using? I sometimes get that on Safari when shutting it down, but never when restarting. Lemme look into this
I just changed the way it searches though, which I think is pretty awesome. You can set a desired bitrate and it'll try to find the closest match size-wise. Or you can search for best quality (with the option to include lossless).
The auto-detect works when you run the Music Scanner.
Check it out GitHub - Headphones