musicbrainz database | PlexGuide.com

musicbrainz database

  • Stop using Chrome! Download the Brave Browser via >>> [Brave.com]
    It's a forked version of Chrome with native ad-blockers and Google's spyware stripped out! Download for Mac, Windows, Android, and Linux!
Welcome to the PlexGuide.com
Serving the Community since 2016!
Register Now

altoyda

Active
Original poster
Patron
Jul 18, 2020
44
12
After some playing around was able to get it up and going. Make this short, I been using MB from the start of headphones beta. I still use it till this day both of them. I hope this help some ppl out.

Musicbrainz is an open music encyclopedia that collects music metadata and makes it available to the public.

YAML:
#!/bin/bash
#
# Title:      Netdata (Cloud update)
# Author(s):  Admin9705/netdata
# URL:        https://pgblitz.com - http://github.pgblitz.com
# GNU:        General Public License v3.0
################################################################################
---
- hosts: localhost
  gather_facts: false
  tasks:
    # FACTS #######################################################################
    - name: 'Set Known Facts'
      set_fact:
        pgrole: 'musicbrainz'
        intport: '5000'
        extport: '5000'
        image: 'linuxserver/musicbrainz:latest'

    # CORE (MANDATORY) ############################################################
    - name: 'Including cron job'
      include_tasks: '/opt/coreapps/apps/_core.yml'

    # LABELS ######################################################################
    - name: 'Adding Traefik'
      set_fact:
        pg_labels:
          traefik.frontend.auth.forward.address: '{{gauth}}'
          traefik.enable: 'true'
          traefik.port: '{{intport}}'
          traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}}{{tldset}}{{cname}}'
          traefik.frontend.headers.SSLHost: '{{domain.stdout}}'
          traefik.frontend.headers.SSLRedirect: 'true'
          traefik.frontend.headers.STSIncludeSubdomains: 'true'
          traefik.frontend.headers.STSPreload: 'true'
          traefik.frontend.headers.STSSeconds: '315360000'
          traefik.frontend.headers.browserXSSFilter: 'true'
          traefik.frontend.headers.contentTypeNosniff: 'true'
          traefik.frontend.headers.customResponseHeaders: 'X-Robots-Tag:noindex,nofollow,nosnippet,noarchive,notranslate,noimageindex'
          traefik.frontend.headers.forceSTSHeader: 'true'

    - name: 'Setting PG Volumes'
      set_fact:
        pg_volumes:
          - '/opt/appdata/musicbrainz:/config'
          - '/opt/appdata/musicbrainz/data:/data'
          - '/etc/localtime:/etc/localtime:ro'


    - name: 'Setting PG ENV'
      set_fact:
        pg_env:
          PUID: '1000'
          PGID: '1000'
          BRAINZCODE: 'To enter musicbrainz code https://metabrainz.org/supporters/account-type'
          NPROC: 'NPROC=parameter     To set number of proceses, defaults to 5 if unset.'


    # MAIN DEPLOYMENT #############################################################
    - name: 'Deploying {{pgrole}}'
      docker_container:
        name: '{{pgrole}}'
        image: '{{image}}'
        pull: yes
        hostname: '{{domain.stdout}}'
        capabilities:
          - SYS_PTRACE
        published_ports:
          - '{{ports.stdout}}{{extport}}:{{intport}}'
        volumes: '{{pg_volumes}}'
        env: '{{pg_env}}'
        restart_policy: unless-stopped
        networks:
          - name: plexguide
            aliases:
              - '{{pgrole}}'
        security_opts:
          - apparmor:unconfined
        state: started
        labels: '{{pg_labels}}'

##PG-Core

##PG-Core

##PG-Core

##PG-Core
Application Setup: linuxserver/musicbrainz

  • For all updates you should pull the latest image, clear all files and folders in /config and /data and reinitiate the database import by (re)starting the docker. We do not officially support upgrading this container in place with existing data sets.
  • If you did not set WEBADDRESS env variable, then AFTER iniatilisation is complete you will need to edit the line sub WEB_SERVER { "localhost:5000" } in file /config/DBDefs.pm changing localhost to the ip of your host, this is to allow css to display properly
  • You must register here to recieve a musicbrainz code to allow you to recieve database updates, it is free. Get Code here.
  • The initial import and setup of the database can take quite a long time, dependant on your download speed etc, be patient and don't restart the container before it's complete.
  • It appears there are issues with unraid and using /mnt/user/cache/appdata instead of /mnt/cache/appdata, use /mnt/cache/appdata.


to make it better will take all info I can.
But still need help to find out where to put
-e WEBADDRESS=ip of host​
To set ip for host to allow css to render properly, DO NOT ENTER PORT NUMBER.

If I can get some feed back on this would love it cause this my noob set up.
 

TerryTrain

Citizen+
Apr 26, 2020
24
8
After some playing around was able to get it up and going. Make this short, I been using MB from the start of headphones beta. I still use it till this day both of them. I hope this help some ppl out.

Musicbrainz is an open music encyclopedia that collects music metadata and makes it available to the public.

YAML:
#!/bin/bash
#
# Title:      Netdata (Cloud update)
# Author(s):  Admin9705/netdata
# URL:        https://pgblitz.com - http://github.pgblitz.com
# GNU:        General Public License v3.0
################################################################################
---
- hosts: localhost
  gather_facts: false
  tasks:
    # FACTS #######################################################################
    - name: 'Set Known Facts'
      set_fact:
        pgrole: 'musicbrainz'
        intport: '5000'
        extport: '5000'
        image: 'linuxserver/musicbrainz:latest'

    # CORE (MANDATORY) ############################################################
    - name: 'Including cron job'
      include_tasks: '/opt/coreapps/apps/_core.yml'

    # LABELS ######################################################################
    - name: 'Adding Traefik'
      set_fact:
        pg_labels:
          traefik.frontend.auth.forward.address: '{{gauth}}'
          traefik.enable: 'true'
          traefik.port: '{{intport}}'
          traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}}{{tldset}}{{cname}}'
          traefik.frontend.headers.SSLHost: '{{domain.stdout}}'
          traefik.frontend.headers.SSLRedirect: 'true'
          traefik.frontend.headers.STSIncludeSubdomains: 'true'
          traefik.frontend.headers.STSPreload: 'true'
          traefik.frontend.headers.STSSeconds: '315360000'
          traefik.frontend.headers.browserXSSFilter: 'true'
          traefik.frontend.headers.contentTypeNosniff: 'true'
          traefik.frontend.headers.customResponseHeaders: 'X-Robots-Tag:noindex,nofollow,nosnippet,noarchive,notranslate,noimageindex'
          traefik.frontend.headers.forceSTSHeader: 'true'

    - name: 'Setting PG Volumes'
      set_fact:
        pg_volumes:
          - '/opt/appdata/musicbrainz:/config'
          - '/opt/appdata/musicbrainz/data:/data'
          - '/etc/localtime:/etc/localtime:ro'


    - name: 'Setting PG ENV'
      set_fact:
        pg_env:
          PUID: '1000'
          PGID: '1000'
          BRAINZCODE: 'To enter musicbrainz code https://metabrainz.org/supporters/account-type'
          NPROC: 'NPROC=parameter     To set number of proceses, defaults to 5 if unset.'


    # MAIN DEPLOYMENT #############################################################
    - name: 'Deploying {{pgrole}}'
      docker_container:
        name: '{{pgrole}}'
        image: '{{image}}'
        pull: yes
        hostname: '{{domain.stdout}}'
        capabilities:
          - SYS_PTRACE
        published_ports:
          - '{{ports.stdout}}{{extport}}:{{intport}}'
        volumes: '{{pg_volumes}}'
        env: '{{pg_env}}'
        restart_policy: unless-stopped
        networks:
          - name: plexguide
            aliases:
              - '{{pgrole}}'
        security_opts:
          - apparmor:unconfined
        state: started
        labels: '{{pg_labels}}'

##PG-Core

##PG-Core

##PG-Core

##PG-Core
Application Setup: linuxserver/musicbrainz

  • For all updates you should pull the latest image, clear all files and folders in /config and /data and reinitiate the database import by (re)starting the docker. We do not officially support upgrading this container in place with existing data sets.
  • If you did not set WEBADDRESS env variable, then AFTER iniatilisation is complete you will need to edit the line sub WEB_SERVER { "localhost:5000" } in file /config/DBDefs.pm changing localhost to the ip of your host, this is to allow css to display properly
  • You must register here to recieve a musicbrainz code to allow you to recieve database updates, it is free. Get Code here.
  • The initial import and setup of the database can take quite a long time, dependant on your download speed etc, be patient and don't restart the container before it's complete.
  • It appears there are issues with unraid and using /mnt/user/cache/appdata instead of /mnt/cache/appdata, use /mnt/cache/appdata.


to make it better will take all info I can.
But still need help to find out where to put
-e WEBADDRESS=ip of host​
To set ip for host to allow css to render properly, DO NOT ENTER PORT NUMBER.

If I can get some feed back on this would love it cause this my noob set up.

Hi, Just wondering if you got this going in the end? I'm trying to set this up to avoid running everything manually through Picard on the server through union
 

altoyda

Active
Original poster
Patron
Jul 18, 2020
44
12
Yes Got it running but still have to manually have to work with picard. Picard is a manually tools if you want less of one look at beets. I use database for headphones.
 
  • Like
Reactions: 1 user

Recommend NewsGroups

      Up To a 58% Discount!

Trending