Kodi Community Forum
Headphones - Music albums & artists auto download program - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+--- Thread: Headphones - Music albums & artists auto download program (/showthread.php?tid=103688)



- rflores2323 - 2012-02-29

Rembo .. What are the new features that you have added to headphones? I havent updated in awhile (probably 3 months) and was wondering what was done etc.. Can you update the first post in this thread with new screenshots and updated information etc..?

Thanks


- HenryFord - 2012-03-01

I'll shut down my server for ~1hr as well.
Trying to build the search servlet and getting mb to run on nginx rather than the built-in developement thingy...


Localhost mod - nordge1 - 2012-03-01

Rembo10
Where can I modify the localhost setting to redirect to a local internal MusicBrainz server on my network. Is there a file I can insert an IP: port?

Thanks for your help


Adding local files - nordge1 - 2012-03-02

Is anyone else having a hell of a time adding local files to the library? When I scan my existing library, it scans till completion but does not find or add any artists.

Help
Thanks


- oneadvent - 2012-03-02

Code:
23         if forcemb or headphones.MIRROR == "musicbrainz.org":
24                 mbhost = "musicbrainz.org"
25                 mbport = 80
26                 sleepytime = 1
27         elif headphones.MIRROR == "localhost":
28                 mbhost = "localhost"
29                 mbport = 7143
30                 sleepytime = 0
31         elif headphones.MIRROR == "headphones":
32                 mbhost = "178.63.142.150"
33                 mbport = 5000
34                 sleepytime = 0
35         else:
36                 mbhost = "tbueter.com"
37                 mbport = 3000
38                 sleepytime = 0

that is in headphones/mb.py

You can see the settings there to change.


- nordge1 - 2012-03-02

oneadvent, that's it!!! Now which file did you find that in?
Thanks


- oneadvent - 2012-03-02

Sorry, I edited the post to include it...I also made it a hair easier to read, but the line numbers are only there for reference.


- nordge1 - 2012-03-02

Perfect!!
Thanks


- nordge1 - 2012-03-02

oneadvent
I don't have a headphones/mb.py. any other suggestions?

BTW still no local artists/albums

Thanks


- HenryFord - 2012-03-02

nordge1 Wrote:oneadvent
I don't have a headphones/mb.py. any other suggestions?

BTW still no local artists/albums

Thanks
It should be in headphones-rootfolder/headphones/mb.py...
Logfile?


- oneadvent - 2012-03-02

nordge1 Wrote:oneadvent
I don't have a headphones/mb.py. any other suggestions?

BTW still no local artists/albums

Thanks

What OS? Maybe you are using the compiled exe for Windows?

Otherwise as HenryFord said: logfile cause that file has to be there.


- nordge1 - 2012-03-02

I have it installed on Ubuntu server 10.04.

If I scan "/media/UserData/storage/music" nothing is added. I let is sit like that for 2 days.

2012-03-01 15:44:40 INFO Scanning music directory: /media/UserData/storage/music

It's weird, If I add "Foo Fighters" manually. It adds all the albums from musicbrainZ no problem, but it shows I don't have any of the music.

If I then scan "/media/UserData/storage/music/Foo Fighters" It finds the artist and album for that single artist.


2012-03-01 15:43:16 INFO Now adding/updating album: Greatest Hits
2012-03-01 15:42:34 INFO Now adding/updating album: Wasting Light
2012-03-01 15:41:21 INFO Now adding/updating album: Echoes, Silence, Patience & Grace
2012-03-01 15:40:04 INFO Now adding/updating album: In Your Honor
2012-03-01 15:38:43 INFO Now adding/updating album: One by One
2012-03-01 15:36:47 INFO Now adding/updating album: There Is Nothing Left to Lose
2012-03-01 15:35:39 INFO Now adding/updating album: The Colour and the Shape
2012-03-01 15:34:09 INFO Now adding/updating album: Foo Fighters
2012-03-01 15:32:59 INFO Now adding/updating: Foo Fighters
2012-03-01 15:25:10 INFO Checking filepaths to see if we can find any matches
2012-03-01 15:25:10 INFO Completed scanning of directory: /media/UserData/storage/music/Foo Fighters
2012-03-01 15:24:32 INFO Scanning music directory: /media/UserData/storage/music/Foo Fighters
2012-03-01 15:23:51 INFO Starting Headphones on port: 8181
2012-03-01 15:23:50 INFO Headphones is already up-to-date.
2012-03-01 15:23:50 INFO Checking to see if the database has all tables....


- nordge1 - 2012-03-02

oneadvent Wrote:What OS? Maybe you are using the compiled exe for Windows?

Otherwise as HenryFord said: logfile cause that file has to be there.

I see, I have a /headphones/headphones/mb.py . Sorry rookie mistake.


- rembo10 - 2012-03-04

nordge1 Wrote:I see, I have a /headphones/headphones/mb.py . Sorry rookie mistake.

I'll try to add a custom server option with ip & port, but hopefully it wont be necessary once the musicbrainz code is fixed up.... I think i can eliminate about 90% of the musicbrainz calls


- nordge1 - 2012-03-04

rembo10 Wrote:I'll try to add a custom server option with ip & port, but hopefully it wont be necessary once the musicbrainz code is fixed up.... I think i can eliminate about 90% of the musicbrainz calls

That is awesome, thanks for adding the custom server selection.
What I'm really struggling with though is a simple scan of my local files and adding the artist from what I have. I let it scan all day and night and nothing was added. When it finished the log said:

2012-03-03 17:44:53 INFO Checking filepaths to see if we can find any matches
2012-03-03 17:44:53 INFO Completed scanning of directory: /media/UserData/storage/music

2012-03-03 09:25:25 INFO Scanning music directory: /media/UserData/storage/music
2012-03-03 09:25:24 INFO Headphones is already up-to-date.
2012-03-03 08:26:18 INFO Checking filepaths to see if we can find any matches
2012-03-03 08:26:18 INFO Completed scanning of directory: /media/UserData/storage/music

2012-03-03 07:11:44 INFO Checking filepaths to see if we can find any matches
2012-03-03 07:11:44 INFO Completed scanning of directory: /media/UserData/storage/music

2012-03-02 19:09:12 INFO Checking filepaths to see if we can find any matches
2012-03-02 19:09:12 INFO Completed scanning of directory: /media/UserData/storage/music
2012-03-02 18:25:25 INFO Scanning music directory: /media/UserData/storage/music

I still have no artists or albums added to the libraryNo

I really need some help
Thanks