[DOCKER CONTAINER] Headphones


Recommended Posts

  • 3 months later...

I made a template for this.  As soon as I test and it looks OK I'll post it.

 

EDIT:  I have only installed this and have not yet really played with it.  It looks to install ok but can you guys look it over and let me know if I fudged anything?  If you want to try it, create a /boot/config/plugins/dockerMan/templates/sacretagent/Headphones.xml file and copy the contents below into it.  You should have it available as a template in Docker.

 

<?xml version="1.0" encoding="utf-8"?>
<Container>
  <Name>Headphones</Name>
  <Description>
    Headphones is an automated music downloader for NZB and Torrent, written in Python. It supports SABnzbd, NZBget, Transmission, µTorrent and Blackhole.[br][br]
    [b][span style='color: #E80000;']Directions:[/span][/b][br]
    [b]/config[/b] : Headphones will store it's configuration files here.[br]
    [b]/music[/b] : the path yo your music library.[br]
    [b]/downloads[/b] : Headphones will store the downloaded files here.[br]
[br]
[b]TIP[/b]:  If you would like to run the latest updates from the master branch as well as enable in-app updates run, set EDGE = 1.
   </Description>
  <Registry>https://registry.hub.docker.com/u/sacretagent/needo-headphones/</Registry>
  <GitHub>https://github.com/sacretagent/needo-headphones/</GitHub>
  <Repository>sacretagent/needo-headphones</Repository>
  <BindTime>true</BindTime>
  <Privileged>false</Privileged>
  <Networking>
    <Mode>bridge</Mode>
    <Publish>
      <Port>
        <HostPort>8181</HostPort>
        <ContainerPort>8181</ContainerPort>
        <Protocol>tcp</Protocol>
      </Port>
    </Publish>
  </Networking>
  <Environment/>
  <Data>
    <Volume>
      <HostDir>/path/to/docker/headphones</HostDir>
      <ContainerDir>/config</ContainerDir>
      <Mode>rw</Mode>
    </Volume>
    <Volume>
      <HostDir>/path/to/Downloads</HostDir>
      <ContainerDir>/downloads</ContainerDir>
      <Mode>rw</Mode>
    </Volume>
<Volume>
      <HostDir>/path/to/Music</HostDir>
      <ContainerDir>/music</ContainerDir>
      <Mode>rw</Mode>
    </Volume>
  </Data>
  <WebUI>http://[iP]:[PORT:8181]/</WebUI>
  <Banner>http://i.imgur.com/5vSV3Gk.png</Banner>
  <Icon>http://i.imgur.com/5vSV3Gkl.png</Icon>
</Container>

Link to comment
  • 4 weeks later...

that xml file wasn't working for me... so I made this from the file you had

 

Works like a charm

 

<?xml version="1.0" encoding="utf-8"?>
<Container>
  <Name>Headphones</Name>
  <Description>Headphones downloads music</Description>
  <Registry>https://registry.hub.docker.com/u/sacretagent/needo-headphones/</Re$
  <Repository>sacretagent/needo-headphones</Repository>
  <Environment>
    <Variable>
      <Name>EDGE</Name>
      <Value>1</Value>
    </Variable>
  </Environment>
  <Networking>
    <Mode>bridge</Mode>
    <Publish>
      <Port>
        <HostPort>8181</HostPort>
        <ContainerPort>8181</ContainerPort>
        <Protocol>tcp</Protocol>
</Port>
    </Publish>
  </Networking>
  <Data>
    <Volume>
      <HostDir>/mnt/user/appdata/headphones</HostDir>
      <ContainerDir>/config</ContainerDir>
      <Mode>rw</Mode>
    </Volume>
    <Volume>
  <HostDir>/</HostDir>
      <ContainerDir>/downloads</ContainerDir>
      <Mode>rw</Mode>
    </Volume>
    <Volume>
      <HostDir>/</HostDir>
      <ContainerDir>/music</ContainerDir>
      <Mode>rw</Mode>
    </Volume>
  </Data>
  <Version></Version>
  <WebUI>http://localhost:8181</WebUI>
  <Banner>//i.imgur.com/5vSV3Gk.png</Banner>
  <Icon>http://i.imgur.com/5vSV3Gkl.png</Icon>
</Container>

Link to comment

This is the version I use.  The only issues are that it doesn't use the "update" feature in dockerman.

 

Also, the docker container itself seems to keep a copy of the CP log file.  Either idiocy on my part, or a limitation of CP, I con't switch off debug mode so everything CP does goes into the log file.  I found the CP Cointer Log file to be a few Gb in size the other days which brought down my entire docker installation as it ran out of space.

Link to comment

I hope needo and/or sacretagent don't mind.  I have forked this over into my repository so that users can have the "update" button in DockerMan.  Moved the base image up to match what we are all using now and the base install now installs 0.5.2 instead of 0.3.4.

Link to comment

I hope needo and/or sacretagent don't mind.  I have forked this over into my repository so that users can have the "update" button in DockerMan.  Moved the base image up to match what we are all using now and the base install now installs 0.5.2 instead of 0.3.4.

 

Yes, thank you

 

Now if I can get binhex's flexget over to your image as well I'll be a very happy man

Link to comment

I hope needo and/or sacretagent don't mind.  I have forked this over into my repository so that users can have the "update" button in DockerMan.  Moved the base image up to match what we are all using now and the base install now installs 0.5.2 instead of 0.3.4.

 

Yes, thank you

 

Now if I can get binhex's flexget over to your image as well I'll be a very happy man

 

hmmm all of his are in ArchLinux and the install procedure is very different.. I'll take a look later for ya.

Link to comment

I hope needo and/or sacretagent don't mind.  I have forked this over into my repository so that users can have the "update" button in DockerMan.  Moved the base image up to match what we are all using now and the base install now installs 0.5.2 instead of 0.3.4.

 

Yes, thank you

 

Now if I can get binhex's flexget over to your image as well I'll be a very happy man

 

hmmm all of his are in ArchLinux and the install procedure is very different.. I'll take a look later for ya.

 

Thanks.  Before you go too far down that path, gfadrm created one on his git.  As I had no idea on what it would take to go from GIT to Docker I went with Binhex's arch base.

 

here's the post

 

http://lime-technology.com/forum/index.php?topic=34220.msg318555#msg318555

Link to comment

I hope needo and/or sacretagent don't mind.  I have forked this over into my repository so that users can have the "update" button in DockerMan.  Moved the base image up to match what we are all using now and the base install now installs 0.5.2 instead of 0.3.4.

 

Yes, thank you

 

Now if I can get binhex's flexget over to your image as well I'll be a very happy man

 

hmmm all of his are in ArchLinux and the install procedure is very different.. I'll take a look later for ya.

 

Thanks.  Before you go too far down that path, gfadrm created one on his git.  As I had no idea on what it would take to go from GIT to Docker I went with Binhex's arch base.

 

here's the post

 

http://lime-technology.com/forum/index.php?topic=34220.msg318555#msg318555

 

I have a few questions that I put in that thread.. as to not confuse the Headphones users.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.