Giter VIP home page Giter VIP logo

docker-picard's People

Contributors

ferringb avatar mikeage avatar mikenye avatar techie2000 avatar wuyue92tree avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

docker-picard's Issues

Server Disconnected Code 1006

OS: Unraid

I've been having issues with this for the last couple months. Even through updates, I haven't been able to connect for some time now. When I initially went troubleshooting, I thought it could be a problem with another application using vnc at the time, but I shut down all my other containers, and still had the issue connecting. Settings are all set to default.

I did notice this error in the logs, but everything else looks to be running as expected in them:

25/08/2021 18:36:55 rfbProcessClientProtocolVersion: read: Input/output error

Not sure what other info is helpful, but Im happy to help with whatever info you need.

How can I set the timezone?

Dear Developer

I want to use Korean language.
So I try to set TZ by docker enviornment
However docker says invalid type. How can I set the timezone?

I tried
environment:
- TZ:
Etc/KST, ETC/KST, UTC9, KST, UTC+9 , Asia/Seoul

not works at all ใ… .ใ… 

Picard Docker for arm chips

Currently Picard's docker only supports amd64 chips and was wondering if it was possible for it to support arm chips? This is so that the docker can then run on a raspberry pi.

How can I use Korean language?

Dear Developer

How can I use Korean language?
In Windows ver. picard works korean language but docker image doesnt work.
Also I tried to set TZ=Asia/Seoul, picard ui setting in app (Korean) but it seems that it doesn't work.
How can I add it? ใ… .ใ… 

fpcalc missing?

I don't recall having to install this manually previously?

/usr/bin/fpclacis the path that is in my setup for the AcousticID fingerprint calculator, but its now not found "Please select a valid fpcalc executable" is displayed, with the offer to download it.

Set VNC resolution?

Hi, appreciate you putting together this!

I was wondering if it's an easy way to change the resolution of VNC? I would like to set a higher resolution.

I did try to set -geometry ####x#### and -scale 0.9x0.75, but it did not achieve what I wanted.

Network request error

Hello,

i just installed "muicbrainz-picard docker" on my docker-host.

version: '3'
services:
  picard:
    image: mikenye/picard:latest
    container_name: musikbrainz
    ports:
      - "5801:5800"
    volumes:
      - "./config:/config:rw"
      - "/mnt/music/Music:/storage:rw"

When i start the container i get the following messages:

E: 08:19:19,544 /usr/local/lib/python3.6/dist-packages/picard/webservice/__init__._handle_reply:517: Network request error for https://picard.musicbrainz.org/api/v2/releases: Connection closed (QT code 2, HTTP code 0)
E: 08:19:19,545 /usr/local/lib/python3.6/dist-packages/picard/util/checkupdate._releases_json_loaded:103: Error loading Picard releases list: Connection closed

I can't get any information for titles i search.

The container itself has internet connetivity. DNS is workin OK

As for versions:
grafik

any advice?

changes are not hold

I'm using Picard MusicBrainz quite a while, but i notice that whatever i do in Picard MusicBrainz, the changes i made are not hold. The next time i start the app and scan again i see the same things. For instance if i have unclustered files and try to cluster them by clustering them first and than saving them, the next time i do a scan it show me the same files again as unclustered.

I run Picard MusicBrainz in a container on Docker which is a built-in app on my NAS.
How can i solve this problem?

inode exhaustion in log

I'm attempting to start this container for the first time and am receiving the following errors, which look to be preventing startup and proper run of the image.

I've tried both :latest [2.6.3] and 2.6.2. Both present the same output.

Neither the host system nor the container itself report inode exhaustion via a df check.

docker version 20.10.8.

% docker logs -f picard
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-app-niceness.sh: executing...
[cont-init.d] 00-app-niceness.sh: exited 0.
[cont-init.d] 00-app-script.sh: executing...
[cont-init.d] 00-app-script.sh: exited 0.
[cont-init.d] 00-app-user-map.sh: executing...
[cont-init.d] 00-app-user-map.sh: exited 0.
[cont-init.d] 00-clean-logmonitor-states.sh: executing...
[cont-init.d] 00-clean-logmonitor-states.sh: exited 0.
[cont-init.d] 00-clean-tmp-dir.sh: executing...
[cont-init.d] 00-clean-tmp-dir.sh: exited 0.
[cont-init.d] 00-set-app-deps.sh: executing...
[cont-init.d] 00-set-app-deps.sh: exited 0.
[cont-init.d] 00-set-home.sh: executing...
[cont-init.d] 00-set-home.sh: exited 0.
[cont-init.d] 00-take-config-ownership.sh: executing...
[cont-init.d] 00-take-config-ownership.sh: exited 0.
[cont-init.d] 00-xdg-runtime-dir.sh: executing...
[cont-init.d] 00-xdg-runtime-dir.sh: exited 0.
[cont-init.d] 10-certs.sh: executing...
[cont-init.d] 10-certs.sh: exited 0.
[cont-init.d] 10-cjk-font.sh: executing...
[cont-init.d] 10-cjk-font.sh: exited 0.
[cont-init.d] 10-nginx.sh: executing...
[cont-init.d] 10-nginx.sh: exited 0.
[cont-init.d] 10-vnc-password.sh: executing...
[cont-init.d] 10-vnc-password.sh: exited 0.
[cont-init.d] 10-web-index.sh: executing...
[cont-init.d] 10-web-index.sh: exited 0.
[cont-init.d] 90-dbus: executing...
[cont-init.d] 90-dbus: exited 0.
[cont-init.d] 95-check-optical-drive.sh: executing...
[cont-init.d] 95-check-optical-drive.sh: looking for usable optical drives...
[cont-init.d] 95-check-optical-drive.sh: no usable optical drive found.
[cont-init.d] 95-check-optical-drive.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] starting s6-fdholderd...
[services.d] starting certsmonitor...
[services.d] starting xvfb...
[certsmonitor] disabling service: secure connection not enabled.
[xvfb] starting...
[services.d] starting nginx...
[services.d] starting logmonitor...
[nginx] starting...
[services.d] starting statusmonitor...
[logmonitor] no file to monitor: disabling service...
[statusmonitor] no file to monitor: disabling service...
s6-svwait: fatal: timed out
[services.d] starting dbus...
[services.d] starting x11vnc...
[services.d] starting openbox...
[openbox] starting...
[x11vnc] starting...
unix:path=/var/run/dbus/system_bus_socket,guid=8dbeef3f7fdc4cb68995d6b86126fe24
25/08/2021 22:36:20 passing arg to libvncserver: -rfbport
25/08/2021 22:36:20 passing arg to libvncserver: 5900
25/08/2021 22:36:20 passing arg to libvncserver: -rfbportv6
25/08/2021 22:36:20 passing arg to libvncserver: -1
25/08/2021 22:36:20 passing arg to libvncserver: -httpportv6
25/08/2021 22:36:20 passing arg to libvncserver: -1
25/08/2021 22:36:20 passing arg to libvncserver: -desktop
25/08/2021 22:36:20 passing arg to libvncserver: MusicBrainz Picard
25/08/2021 22:36:20 x11vnc version: 0.9.14 lastmod: 2015-11-14  pid: 901
25/08/2021 22:36:20 Using X display :0
25/08/2021 22:36:20 rootwin: 0x298 reswin: 0x200001 dpy: 0x107934d0
25/08/2021 22:36:20
25/08/2021 22:36:20 ------------------ USEFUL INFORMATION ------------------
25/08/2021 22:36:20 X DAMAGE available on display, using it for polling hints.
25/08/2021 22:36:20   To disable this behavior use: '-noxdamage'
25/08/2021 22:36:20
25/08/2021 22:36:20   Most compositing window managers like 'compiz' or 'beryl'
25/08/2021 22:36:20   cause X DAMAGE to fail, and so you may not see any screen
25/08/2021 22:36:20   updates via VNC.  Either disable 'compiz' (recommended) or
25/08/2021 22:36:20   supply the x11vnc '-noxdamage' command line option.
25/08/2021 22:36:20 X COMPOSITE available on display, using it for window polling.
25/08/2021 22:36:20   To disable this behavior use: '-noxcomposite'
25/08/2021 22:36:20
25/08/2021 22:36:20 Wireframing: -wireframe mode is in effect for window moves.
25/08/2021 22:36:20   If this yields undesired behavior (poor response, painting
25/08/2021 22:36:20   errors, etc) it may be disabled:
25/08/2021 22:36:20    - use '-nowf' to disable wireframing completely.
25/08/2021 22:36:20    - use '-nowcr' to disable the Copy Rectangle after the
25/08/2021 22:36:20      moved window is released in the new position.
25/08/2021 22:36:20   Also see the -help entry for tuning parameters.
25/08/2021 22:36:20   You can press 3 Alt_L's (Left "Alt" key) in a row to
25/08/2021 22:36:20   repaint the screen, also see the -fixscreen option for
25/08/2021 22:36:20   periodic repaints.
25/08/2021 22:36:20 GrabServer control via XTEST.
25/08/2021 22:36:20
25/08/2021 22:36:20 Scroll Detection: -scrollcopyrect mode is in effect to
25/08/2021 22:36:20   use RECORD extension to try to detect scrolling windows
25/08/2021 22:36:20   (induced by either user keystroke or mouse input).
25/08/2021 22:36:20   If this yields undesired behavior (poor response, painting
25/08/2021 22:36:20   errors, etc) it may be disabled via: '-noscr'
25/08/2021 22:36:20   Also see the -help entry for tuning parameters.
25/08/2021 22:36:20   You can press 3 Alt_L's (Left "Alt" key) in a row to
25/08/2021 22:36:20   repaint the screen, also see the -fixscreen option for
25/08/2021 22:36:20   periodic repaints.
25/08/2021 22:36:20
25/08/2021 22:36:20 XKEYBOARD: number of keysyms per keycode 7 is greater
25/08/2021 22:36:20   than 4 and 51 keysyms are mapped above 4.
25/08/2021 22:36:20   Automatically switching to -xkb mode.
25/08/2021 22:36:20   If this makes the key mapping worse you can
25/08/2021 22:36:20   disable it with the "-noxkb" option.
25/08/2021 22:36:20   Also, remember "-remap DEAD" for accenting characters.
25/08/2021 22:36:20
25/08/2021 22:36:20 X FBPM extension not supported.
25/08/2021 22:36:20 X display is not capable of DPMS.
25/08/2021 22:36:20 --------------------------------------------------------
25/08/2021 22:36:20
25/08/2021 22:36:20 Default visual ID: 0x21
25/08/2021 22:36:20 Read initial data from X display into framebuffer.
25/08/2021 22:36:20 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/5120
25/08/2021 22:36:20
25/08/2021 22:36:20 X display :0 is 32bpp depth=24 true color
25/08/2021 22:36:20
25/08/2021 22:36:20 Listening for VNC connections on TCP port 5900
25/08/2021 22:36:20
25/08/2021 22:36:20 Xinerama is present and active (e.g. multi-head).
25/08/2021 22:36:20 Xinerama: number of sub-screens: 1
25/08/2021 22:36:20 Xinerama: no blackouts needed (only one sub-screen)
25/08/2021 22:36:20
25/08/2021 22:36:20 fb read rate: 1792 MB/sec
25/08/2021 22:36:20 fast read: reset -wait  ms to: 10
25/08/2021 22:36:20 fast read: reset -defer ms to: 10
25/08/2021 22:36:20 The X server says there are 10 mouse buttons.
25/08/2021 22:36:20 screen setup finished.
25/08/2021 22:36:20

The VNC desktop is:      625fc3ce7c60:0
PORT=5900

******************************************************************************
Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet?

The scheme stores pixel data offscreen on the VNC viewer side for faster
retrieval.  It should work with any VNC viewer.  Try it by running:

    x11vnc -ncache 10 ...

One can also add -ncache_cr for smooth 'copyrect' window motion.
More info: http://www.karlrunge.com/x11vnc/faq.html#faq-client-caching

[services.d] starting app...
[app] starting MusicBrainz Picard...
+ HOME=/config
+ export HOME
+ rm -rf /config/xdg/config/chromium/Singleton*
[services.d] done.
+ /usr/local/bin/picard
inotify_add_watch(/) failed: (No space left on device)
inotify_add_watch(/config) failed: (No space left on device)
^C

Any ideas?

How to use the same config file/setting between local and docker Picard implementations

Ubuntu 22.04 server
Ubuntu 22.10 client
Server Picard 2.9.0a1
Docker Picard 2.8.5
Can I just hardlink ~/.config/MusicBrainz/Picard.ini to ~/.config/xdg/config/MusicBrainz/Picard.ini?
Or just softlink the ~/.config/MusicBrainz/ to ~/.config/xdg/config/MusicBrainz?
It looks like the latter will also pull in the plugins without having to do anything additional.

Container immediately crashes due to /tmp error

Running on OpenMediaVault. Found 2 other reports of this issue in the SDR Enthusiasts Discord server, with no solutions.

My docker compose:

  picard:
    image: mikenye/picard:latest
    container_name: picard
    environment:
      - USER_ID=${PUID}
      - GROUP_ID=${PGID}
      - TZ=${TZ}
      - CLEAN_TMP_DIR=0
    volumes:
      - "${ROOT}/config/picard:/config:rw"
      - "${ROOT}/database/Music:/storage:rw"
    ports:
      - 5800:5800

vars:
PUID=1002
PGID=1002
TZ=America/New_York
ROOT=/Prim5/Plex

The log:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-app-niceness.sh: executing... 
[cont-init.d] 00-app-niceness.sh: exited 0.
[cont-init.d] 00-app-script.sh: executing... 
[cont-init.d] 00-app-script.sh: exited 0.
[cont-init.d] 00-app-user-map.sh: executing... 
[cont-init.d] 00-app-user-map.sh: exited 0.
[cont-init.d] 00-clean-logmonitor-states.sh: executing... 
[cont-init.d] 00-clean-logmonitor-states.sh: exited 0.
[cont-init.d] 00-clean-tmp-dir.sh: executing... 
rm: cannot remove '/tmp/run': Directory not empty
[cont-init.d] 00-clean-tmp-dir.sh: exited 1.
[services.d] stopping services
[services.d] stopping s6-fdholderd...
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] syncing disks.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

when CLEAN_TMP_DIR=0 is set in envvars, it fails here instead:

[cont-init.d] 00-xdg-runtime-dir.sh: executing... 
mkdir: cannot create directory โ€˜/tmp/run/user/appโ€™: Invalid argument
[cont-init.d] 00-xdg-runtime-dir.sh: exited 1.

Can't edit OGG MetaData's files

Hello, i've a folder containing my OGG files.
This folder is used by Picard and TubeSync.
TubeSync store synced playlists sounds in this folder, and Picard can acces to this folder for MetaData editing.

My problem :
when i try to open this folder in Picard, my OGG files are not loaded.
When i try to open files in Picard, my OGG files are showed but not loaded after selection.

I've already tried to place an MP3 file in this folder, and if i try to open this folder in Picard, only the MP3 file is loaded.

My container is configured to use PUID/PGID 1000:1000, like my folder.
If i select an MP3' files folder, Picard work great.

When i read the logs (with portainer) during the OGG folder opening, i don't have any error, just these lines :
D: 21:16:54,770 /usr/local/lib/python3.6/dist-packages/picard/ui/mainwindow.set_statusbar_message:462: Adding directory: '/storage/youtube/monsieurnoob/tubesync' ... D: 21:16:54,771 /usr/local/lib/python3.6/dist-packages/picard/config.event:255: Config file update requested on thread 140322342053696 D: 21:17:29,086 /usr/local/lib/python3.6/dist-packages/picard/config.event:255: Config file update requested on thread 140322342053696 D: 21:18:22,163 /usr/local/lib/python3.6/dist-packages/picard/config.event:255: Config file update requested on thread 140322342053696

In advance, thanks for your further replies, and sorry for my english (i'm a french user) :)

Browser Integration inside docker?

It seems without the ability to load some sort of browser within the docker, browser integration is unable to work? I have tried in both VNC through a browser, and using VNC Viewer.

Is there any way around this?

How can I build the storage folder in another location, but not with the config folder in the same folder

I build the docker-picard in my nas ,I set the /config in the docker folder , and set the /storage in my music folder(not with docker folder) , in the website when I add folder I cannot find the music folder , then I change the /storage to the docker folder with /config in the same folder , I can now find the music folder
How can I set the /storage in another folder?
Snipaste_2022-03-21_09-22-47
I can only find the music folder in the first folder , cannot find the second folder

Add rsgain dependency for ReplayGain 2.0 plugin

Back in October the ReplayGain 2.0 plugin got added to Picard, it's supposed to replace the older ReplayGain plugin and the latter will eventually get removed from the plugin list. The new one has rsgain as a dependency which you're supposed to install and then point to on the settings.

Unfortunately I haven't been able to install rsgain inside the container even after attaching to it and trying to apt-get it.

Would it be possible to add it to the container like how flac and other dependencies are?

Seach similar albums window unable to resize

Not sure whats happening with this one, but when you right click and select the 'Search for similar albums' option, what normally happens is a window will appear and display results.

However in the docker (most likely something to do with lack of browser support), the window appears, but it doesn't display the results and can't be resized at all.

image

Any ideas on how to resolve?

How to get Authorisation code within docker VNC page?

I just installed this docker and its working really good.
I am loading it through IP:5900 in my browser
however because I can't launch a browser with the docker, I am unable to get the Authorization Code to log into MB, as it requires you to launch a browser and sign into your MB account to get the code.

image

I have tried using the code from my other machine, but it doesn't work (obviously LOL)

Do you have any steps to be able to do this?

Update to v2.3.2

Picard version 2.3.2 is out, kindly asking updated version when you have time.
https://picard.musicbrainz.org/changelog/

Off topic related to a already closed issue (no action needed for my comment below)
Thanks about that browser intergration it works great :) with chromium. Firefox crashes were likely because of lack of shared memory i.e. size of /dev/shm is too small within a container.

Crashing when Trying To Add a tag

I'm getting consistent/repeatable crashing when trying to add a new tag (editing existing tags is fine) which results in a need to restart the container.

The container log records :

Traceback (most recent call last):
File "/usr/lib/picard/picard/ui/edittagdialog.py", line 132, in tag_selected
self.add_or_edit_value()
File "/usr/lib/picard/picard/ui/edittagdialog.py", line 151, in add_or_edit_value
self.edit_value()
File "/usr/lib/picard/picard/ui/edittagdialog.py", line 136, in edit_value
if item and not self.value_list.isPersistentEditorOpen(item):
AttributeError: 'QListWidget' object has no attribute 'isPersistentEditorOpen'
Aborted
[services.d] stopping services
[services.d] stopping app...
[services.d] stopping x11vnc...
caught signal: 15
18/10/2020 17:34:35 deleted 75 tile_row polling images.
18/10/2020 17:34:35 Restored X server key autorepeat to: 1
[services.d] stopping openbox...
[services.d] stopping statusmonitor...
[services.d] stopping logmonitor...
[services.d] stopping xvfb...
[5191:5191:1018/173435.984016:ERROR:x11_error_handler.cc(64)] X IO error received (X server probably went away)

[5217:5217:1018/173435.986870:ERROR:x11_util.cc(112)] X IO error received (X server probably went away)

[5191:5202:1018/173436.027282:FATAL:gpu_data_manager_impl_private.cc(442)] GPU process isn't usable. Goodbye.
[services.d] stopping nginx...
[services.d] stopping certsmonitor...
[services.d] stopping s6-fdholderd...
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] syncing disks.
Trace/breakpoint trap
Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Operation not permitted

Trace/breakpoint trap
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: firefox: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: iceweasel: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: seamonkey: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: mozilla: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: epiphany: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: konqueror: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: chromium: not found
[7995:7995:0100/000000.106968:ERROR:zygote_linux.cc(654)] write: Broken pipe (32)

[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

Using ReplayGain plugin fails on certain file types

Extension of #19 but observed when trying to process OggVorbis, mp3 and wav format files.

The same solution can be used - install missing dependencies, in this case, vorbisgain, mp3gain, and wavpack (for wvgain).

However, mp3gain is no longer available on Ubuntu 'standard' installs as it was removed from upstream Debian. You have to (side)load from another repository :

add-apt-repository ppa:flexiondotorg/audio -y
apt-get update
apt-get install -y mp3gain

"Add Cluster as Release" plugin not working

On trying to execute the "Add Cluster as Release" nothing visibly happens. On checking the logs, it reports:

xdg-mime: mimetype argument missing
Try 'xdg-mime --help' for more information.
Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Operation not permitted

[1233:1233:0100/000000.690181:ERROR:zygote_linux.cc(647)] write: Broken pipe (32)

'just for fun' I tried starting up with --cap-add=SYS_ADMIN option, and it worked! Not a great solution admittedly ;)

Japanese fonts not displayed correctly

Been trying out mikenye/picard:latest for couple of days. Big thanks putting it together! An issue I am facing that Japanese fonts are not correctly displayed, neither in folder/file names nor within tags. I have enabled Japanese fonts with ENABLE_CJK_FONT variable. An issue is reprodusable i.e. it happens every time when I try to tag music with Japanese text.

Nginx Proxy Manager Issues

Reported via Discord:

hi guys, installed picard via docker compose and running behind nginx proxy manager. i probably overlooked something since i only get the top bar when accessing the web gui. it's loading for a few seconds and then a red X appears and nothing else. logs seem OK to me. any ideas?

server disconnected: error 1006

picard:
#    build: ~/picard
    container_name: picard
    image: mikenye/picard
    ports:
      - "5800:5800"
    environment:
      - PUID=1000
      - PGID=1001
    volumes:
      - "~/picard/config:/config:rw"
      - "/mnt/BX/Music:/storage:rw"

Size on disk Ubuntu 22.04 LTS

What should one expect the installed size on disk to be for this installed on an Ubuntu 22.04 server? It appears that I'm dedicating nearly 2 GB of space to just Picard?

Missing library for internal player

On startup, the last entry written to the log is :
W: 03:34:39,738 /usr/local/lib/python3.6/dist-packages/picard/ui/playertoolbar.__init__:106: Internal player: unavailable, libpulse-mainloop-glib.so.0: cannot open shared object file: No such file or directory

update to latest version

Just noticed your docker version is on 2.1.2 and there is a newer 2.2.3. Any chance of updating? Maybe automate it within the docker?

3 High severity CVE's

+--------------------------------+------------------+----------+-------------------------------+--------------------------+-----------------------------------------+
|            LIBRARY             | VULNERABILITY ID | SEVERITY |       INSTALLED VERSION       |      FIXED VERSION       |                  TITLE                  |
+--------------------------------+------------------+----------+-------------------------------+--------------------------+-----------------------------------------+
| libfreetype6                   | CVE-2020-15999   | HIGH     | 2.8.1-2ubuntu2                | 2.8.1-2ubuntu2.1         | freetype: Heap-based buffer             |
|                                |                  |          |                               |                          | overflow due to integer                 |
|                                |                  |          |                               |                          | truncation in Load_SBit_Png             |
|                                |                  |          |                               |                          | -->avd.aquasec.com/nvd/cve-2020-15999   |
+--------------------------------+------------------+----------+-------------------------------+--------------------------+-----------------------------------------+
| libssl1.1                      | CVE-2020-1971    | HIGH     | 1.1.1-1ubuntu2.1~18.04.6      | 1.1.1-1ubuntu2.1~18.04.7 | openssl: EDIPARTYNAME                   |
|                                |                  |          |                               |                          | NULL pointer de-reference               |
|                                |                  |          |                               |                          | -->avd.aquasec.com/nvd/cve-2020-1971    |
+--------------------------------+------------------+----------+-------------------------------+--------------------------+-----------------------------------------+
| openssl                        | CVE-2020-1971    | HIGH     | 1.1.1-1ubuntu2.1~18.04.6      | 1.1.1-1ubuntu2.1~18.04.7 | openssl: EDIPARTYNAME                   |
|                                |                  |          |                               |                          | NULL pointer de-reference               |
|                                |                  |          |                               |                          | -->avd.aquasec.com/nvd/cve-2020-1971    |
+--------------------------------+------------------+----------+-------------------------------+--------------------------+-----------------------------------------+

There are hundreds of Medium/Low CVE's, so focussing on the High ones only (for now at least!)

Album artwork missing / not possible to set

When testing previous issue raised, I paid attention to behaviour where artwork is not available for an album, even it is present within Musicbrainz DB. Decided to wait new official build mikenye/picard:latest (pulled few minutes ago) to verify and unfortunatelly it is not possible to set artwork when tagging (visible for end userusers as '0 images', see below example).

Screen Shot 2020-03-09 at 18 22 49

Tried 2-3 albums and an issue is reprodusable.
Again BIG thanks bringing Picard for us as a container.

Cannot display Korean characters

Hi,

After installing the Picard container through docker compose:โ€ฏ

picard:
image: mikenye/picard:latest
container_name: picard
environment:
- ENABLE_CJK_FONT=1
- TZ="Australia/Sydney"
ports:
- "5800:5800"
volumes:
- /srv/containers/picard:/config:rw
- /media/external-drive/Music:/storage:rw

despite having the ENABLE_CJK_FONT environment variable set to 1, Korean characters are not displayed correctly.
Chinese/Japanese characters appears to display fine:

image

What should be changed so that Korean characters are rendered properly?

Keyboard Text Entry not working for Script Editor

Hi, great project thanks for all your work!

Keyboard inputs to the script editor are not working. This is a popout window so I'm assuming this is the likely cause. I've tested with both the web browser and VNC viewer.

There appears to be an error in the naming script I'm attempting to amend.

Thanks in advance!

docker build 5c9ce5b67e4d fails

I updated my docker for the first time since way before Christmas '21 as I saw it was updated 19days ago.
The gui fails to open now :(

I see the below in the logs before the plugins get loaded

D: 22:00:49,542 /usr/local/lib/python3.6/dist-packages/picard/tagger.__init__:228: Starting Picard from '/usr/local/lib/python3.6/dist-packages/picard/tagger.py'
D: 22:00:49,543 /usr/local/lib/python3.6/dist-packages/picard/tagger.__init__:230: Platform: Linux-5.10.28-Unraid-x86_64-with-Ubuntu-18.04-bionic CPython 3.6.9
D: 22:00:49,543 /usr/local/lib/python3.6/dist-packages/picard/tagger.__init__:231: Versions: Picard 2.7.1, Python 3.6.9, PyQt 5.15.6, Qt 5.15.2, Mutagen 1.45.1, Discid discid 1.1.0 (compat layer from python-libdiscid 2.0.1), libdiscid 0.6.2, astrcmp C, SSL OpenSSL 1.1.1 11 Sep 2018
D: 22:00:49,543 /usr/local/lib/python3.6/dist-packages/picard/tagger.__init__:232: Configuration file path: '/config/xdg/config/MusicBrainz/Picard.ini'
D: 22:00:49,543 /usr/local/lib/python3.6/dist-packages/picard/tagger.__init__:234: User directory: '/config/xdg/config/MusicBrainz/Picard'
D: 22:00:49,543 /usr/local/lib/python3.6/dist-packages/picard/i18n.setup_gettext:82: Using locale 'en_US.UTF-8'
D: 22:00:49,543 /usr/local/lib/python3.6/dist-packages/picard/i18n.setup_gettext:84: Loading gettext translation, localedir='/usr/local/share/locale'
D: 22:00:49,544 /usr/local/lib/python3.6/dist-packages/picard/i18n.setup_gettext:86: Loading gettext translation (picard-countries), localedir='/usr/local/share/locale'
D: 22:00:49,544 /usr/local/lib/python3.6/dist-packages/picard/i18n.setup_gettext:91: [Errno 2] No translation file found for domain: 'picard-countries'
D: 22:00:49,544 /usr/local/lib/python3.6/dist-packages/picard/i18n.setup_gettext:107: _ = <bound method NullTranslations.gettext of <gettext.NullTranslations object at 0x145db00e0470>>
D: 22:00:49,544 /usr/local/lib/python3.6/dist-packages/picard/i18n.setup_gettext:108: N_ = <function <lambda> at 0x145db7f22730>
D: 22:00:49,545 /usr/local/lib/python3.6/dist-packages/picard/i18n.setup_gettext:109: ngettext = <bound method NullTranslations.ngettext of <gettext.NullTranslations object at 0x145db00e0470>>
D: 22:00:49,545 /usr/local/lib/python3.6/dist-packages/picard/i18n.setup_gettext:110: gettext_countries = <bound method NullTranslations.gettext of <gettext.NullTranslations object at 0x145db00e05f8>>
D: 22:00:49,545 /usr/local/lib/python3.6/dist-packages/picard/i18n.setup_gettext:111: gettext_attributes = <bound method NullTranslations.gettext of <gettext.NullTranslations object at 0x145db00e42e8>>
D: 22:00:49,545 /usr/local/lib/python3.6/dist-packages/picard/i18n.setup_gettext:112: pgettext_attributes = <function setup_gettext.<locals>.pgettext at 0x145dc016c488>
D: 22:00:49,547 /usr/local/lib/python3.6/dist-packages/picard/webservice/__init__._network_accessible_changed:365: Network accessible requested: 1, actual: 1
D: 22:00:49,817 /usr/local/lib/python3.6/dist-packages/picard/webservice/__init__.set_cache:390: NetworkDiskCache dir: '/config/xdg/cache/MusicBrainz/Picard/network/' current size: 89.9 MB max size: 100 MB

nothing much of note after that

09/01/2022 22:01:05 Got connection from client 127.0.0.1
09/01/2022 22:01:05 other clients:
09/01/2022 22:01:05 Got 'ws' WebSockets handshake
09/01/2022 22:01:05 - webSocketsHandshake: using base64 encoding
09/01/2022 22:01:05 - WebSockets client version hybi-13

09/01/2022 22:01:05 Disabled X server key autorepeat.
09/01/2022 22:01:05 to force back on run: 'xset r on' (3 times)
09/01/2022 22:01:05 incr accepted_client=1 for 127.0.0.1:40730 sock=10
09/01/2022 22:01:05 webSocketsDecodeHybi: got frame without mask
09/01/2022 22:01:05 rfbProcessClientProtocolVersion: read: Input/output error

09/01/2022 22:01:05 client_count: 0
09/01/2022 22:01:05 Restored X server key autorepeat to: 1
09/01/2022 22:01:05 Client 127.0.0.1 gone
09/01/2022 22:01:05 Statistics events Transmit/ RawEquiv ( saved)
09/01/2022 22:01:05 TOTALS : 0 | 0/ 0 ( 0.0%)
09/01/2022 22:01:05 Statistics events Received/ RawEquiv ( saved)
09/01/2022 22:01:05 TOTALS : 0 | 0/ 0 ( 0.0%)

I have reverted to docker v2.7 build without issue.

Opening more than a couple of modest Chromium tabs genrates error

It seems to depend on the size (kb)of the displayed pages, but generally, opening more than 4 tabs will cause the next tab not to display correctly (Error Code: 6), and generates Docker log :

[2014:2018:1101/171245.307850:ERROR:broker_posix.cc(46)] Received unexpected number of handles

[2014:2018:1101/171245.308472:ERROR:broker_posix.cc(46)] Received unexpected number of handles

[2014:2018:1101/171245.314057:ERROR:broker_posix.cc(46)] Received unexpected number of handles

I have noticed this behaviour on earlier releases too.

mikenye/docker-pcard gets a red X in a google chrome browser and does not work. Firefox works ok

Hi.

When i attempt to run the following docker container and go to the (IP goes here):5801 in my browser i get a RED X beside the Musicbrainiz Picard in the top left portion of the screen in google chrome. When i enter the same URL in Firefox, I am able to see the Musicbrainiz Picard window and manage my files. Why is the red X issue occurring in google chrome browser? How to i fix this issue so that i can access the docker container without errors in the google chrome browser?

Robert

version: "3.7"

services:

  picard:
    image: mikenye/picard
    hostname: picard
    container_name: picard
    restart: unless-stopped 
    privileged: true
    networks:
      - reverse_proxy  
    ports:
      - 5801:5800
    environment:
      - TZ=$var_tz
      - USER_ID=$var_usr
      - GROUP_ID=$var_grp 
      - KEEP_APP_RUNNING=1
      - CLEAN_TMP_DIR=1
      - APP_NICENESS=0
      - DISPLAY_WIDTH=1280
      - DISPLAY_HEIGHT=1024
      - WEB_LISTENING_PORT=5801
      - CONTAINER_DEBUG=1
      - DARK_MODE=1
    env_file:
      - $docker_scripts/.script_vars.conf
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - $compose_appdata/picard:/config:rw
      - /share/data/media/audio/mymusic:/storage:rw
      - /share/data:/share/data:rw
    logging:
      driver: "json-file"
      options:
        max-size: "10m"
        max-file: "3"
        compress: "true"
    labels:
      ## Label to tell Watchtower to autoupdate
      - "com.centurylinklabs.watchtower.enable=true"
      ## Label to enable autoheal
      ## - autoheal=true
      ## Label to enable trafik
      - "traefik.enable=true"
      ## HTTP Routers
      - "traefik.http.routers.picard.entrypoints=https"
      - "traefik.http.routers.picard.rule=Host(`picard.$var_domain0')"
      - "traefik.http.routers.picard.tls.certresolver=MYCERTRESOLVER"
      - "traefik.http.routers.picard.tls=true"
      ## Middlewares
      - "traefik.http.routers.picard.middlewares=forward-auth@file"
      ## HTTP Services
      - "traefik.http.routers.picard.service=portainer-svc"
      - "traefik.http.services.picard.loadbalancer.server.port=5800"                     
networks:
  reverse_proxy:
    external: true

Adjust the screen size of Picard GUI

I run MusicBrainz Picard in a Docker container.
I use the environment variables for the screen height and width, but still have the same small screen size.
Hoe can i make the screen slightly bigger?
I'm not talking about the full screen option in the right upper corner of the screen cause it doesn't give me the desired results. It only make my screen bigger but not the Picard GUI.
I want to make the Picard GUI bigger.

CD drive access

Thanks a lot for this docker image. I just found out about it after having some user asking for help on the MB forums.

Gave this a try, and it really works great. One thing I could not get working is CD drive access. But I think it should be possible in theory. First I tried with --device=/dev/sr0 docker argument, but this did not help.

But jlesage/docker-baseimage-gui#3 indicates it would probably be sufficient to include the init script at https://github.com/jlesage/docker-handbrake/blob/master/rootfs/etc/cont-init.d/95-check-optical-drive.sh to get CD access working.

Add tag freezes session

and requires a restart of the container to get going again.

This only appears to occur when actioning a 'large' number of records in a Cluster (middle block of gui).
The cut-off point that moves the number of items from 'normal' to 'large' is currently unknown to me.
In the latest example that raised this issue I had 403 items.

How to recreate:

    • Pull a large number of items from the left panel to the middle panel.
    • Put them into a Cluster
    • Right click on the bottom 'detail' section, and select Add Tag
    • Choose musicbrainz_albumartistid
    • Add the value of the tag

At this point the gui will freeze, and the container require a restart before further use can be be made of the app.

The container logs from just before and during the time of the event :

06/11/2020 15:22:58 active keyboard: turning X autorepeat off.

06/11/2020 15:22:58 created xdamage object: 0x200051
06/11/2020 15:27:57 idle keyboard: turning X autorepeat back on.

06/11/2020 15:38:22 client 2 network rate 1534.2 KB/sec (14680.1 eff KB/sec)
06/11/2020 15:38:22 client 2 latency: 0.8 ms
06/11/2020 15:38:22 dt1: 0.0155, dt2: 0.0254 dt3: 0.0008 bytes: 62167
06/11/2020 15:38:22 link_rate: LR_LAN - 1 ms, 1534 KB/s
06/11/2020 15:38:26 active keyboard: turning X autorepeat off.

E: 15:39:09,581 /usr/local/lib/python3.6/dist-packages/picard/webservice/__init__._handle_reply:445: Network request error for http://acousticbrainz.org:80/feec8b70-297a-4fb1-931b-6cdf52bd4047/low-level: Error transferring http://acousticbrainz.org:80/feec8b70-297a-4fb1-931b-6cdf52bd4047/low-level - server replied: NOT FOUND (QT code 203, HTTP code 404)


:09,581 /config/xdg/config/MusicBrainz/Picard/plugins/acousticbrainz_tonal-rhythm.zip/acousticbrainz_tonal-rhythm.process_data:72: AcousticBrainz Tonal-Rhythm: Network error retrieving acousticBrainz data for recordingId feec8b70-297a-4fb1-931b-6cdf52bd4047

E: 15:39:09,928 /usr/local/lib/python3.6/dist-packages/picard/webservice/__init__._handle_reply:445: Network request error for http://acousticbrainz.org:80/eb7b488a-fb8c-4707-8e25-8cc3a872caea/low-level: Error transferring http://acousticbrainz.org:80/eb7b488a-fb8c-4707-8e25-8cc3a872caea/low-level - server replied: NOT FOUND (QT code 203, HTTP code 404)


:09,928 /config/xdg/config/MusicBrainz/Picard/plugins/acousticbrainz_tonal-rhythm.zip/acousticbrainz_tonal-rhythm.process_data:72: AcousticBrainz Tonal-Rhythm: Network error retrieving acousticBrainz data for recordingId eb7b488a-fb8c-4707-8e25-8cc3a872caea

[1138:1186:1106/153916.407433:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

[1138:1138:1106/153916.425943:ERROR:browser_dm_token_storage_linux.cc(94)] Error: /etc/machine-id contains 0 characters (32 were expected).

[1138:1199:1106/153916.493834:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")

[1138:1199:1106/153916.493855:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")

[1138:1199:1106/153916.493868:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")

[1138:1199:1106/153916.493874:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")

[1138:1245:1106/153916.537596:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

[1138:1245:1106/153916.537615:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

[1138:1245:1106/153916.537642:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

[1138:1245:1106/153916.537656:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

[1138:1245:1106/153916.537669:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

[1196:1196:1106/153916.563061:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.

06/11/2020 15:44:48 idle keyboard: turning X autorepeat back on.

NOTE: I have just re-run the scenario described above to ensure i recorded the steps correctly and it has NOT occurred. Whether that means there is/was a memory related issue from previous activity done prior to the freeze which means it doesn't occur on a fresh system, it is difficult to say at this stage.

Note also, I have seen this occur on multiple occasions in the last few weeks, ie not just since the latest release.

:latest docker (c10e45172fe4) release means no web browser available

My system auto installed :latest (c10e45172fe4) docker version this morning. It appears to have broker the web-browser; Lookup in Browser search option, and Help/Help menu options fail to bring the web-browser up. I have forced 2.5.5 tag back on and normal service has been resumed.

Favicon for the docker?

I saw this passage in the info for the container you used...

Application Icon

A picture of your application can be added to the image. This picture is displayed in the WEB interface's navigation bar. This is also the master picture used to generate favicons that support different browsers and platforms.

Add the following command to your Dockerfile, with the proper URL pointing to your master icon: The master icon should be a square PNG image with a size of at least 260x260 for optimal results.

Generate and install favicons.

RUN
APP_ICON_URL=https://github.com/jlesage/docker-templates/raw/master/jlesage/images/generic-app-icon.png &&
install_app_icon.sh "$APP_ICON_URL"
Note that favicons are generated by RealFaviconGenerator.

and it would be fantastic if you could use either the MB favicon for this since I use application windows/shortcuts/whatever in chrome to display a bunch of things including this docker.

In the screenshot, you can see at the bottom the app windows for Icecast2, Google Voice, Weather Underground and the Picard/Docker. The MB favicon would replace the docker cube.

227792418-54086dd6-479b-439c-849c-b1d3d5c0d85c

Having an issue with connection to server recently

E: 13:03:30,200 /usr/local/lib/python3.6/dist-packages/picard/webservice/init._handle_reply:517: Network request error for https://musicbrainz.org/ws/2/release/3c23b5cd-3245-34f6-84b5-6984655c142b?inc=annotation+url-rels+artist-rels+release-groups+user-collections+release-rels+collections+isrcs+artist-credits+work-rels+recording-level-rels+recording-rels+labels+media+work-level-rels+discids+recordings+artists+aliases: Socket operation timed out (QT code 4, HTTP code 0)
E: 13:03:30,200 /usr/local/lib/python3.6/dist-packages/picard/ui/item.error_append:103: <Album 3c23b5cd-3245-34f6-84b5-6984655c142b ''>: Socket operation timed out
E: 13:03:30,200 /usr/local/lib/python3.6/dist-packages/picard/webservice/init._handle_reply:517: Network request error for https://musicbrainz.org/ws/2/release/6b89994b-afa4-4bed-805c-f6fb45bc4933?inc=annotation+url-rels+artist-rels+release-groups+user-collections+release-rels+collections+isrcs+artist-credits+work-rels+recording-level-rels+recording-rels+labels+media+work-level-rels+discids+recordings+artists+aliases: Socket operation timed out (QT code 4, HTTP code 0)
E: 13:03:30,201 /usr/local/lib/python3.6/dist-packages/picard/ui/item.error_append:103: <Album 6b89994b-afa4-4bed-805c-f6fb45bc4933 ''>: Socket operation timed out
E: 13:03:30,201 /usr/local/lib/python3.6/dist-packages/picard/webservice/init._handle_reply:517: Network request error for https://musicbrainz.org/ws/2/release/d78d2dad-d082-49b5-af78-fa734063e7b4?inc=annotation+url-rels+artist-rels+release-groups+user-collections+release-rels+collections+isrcs+artist-credits+work-rels+recording-level-rels+recording-rels+labels+media+work-level-rels+discids+recordings+artists+aliases: Socket operation timed out (QT code 4, HTTP code 0)
E: 13:03:30,201 /usr/local/lib/python3.6/dist-packages/picard/ui/item.error_append:103: <Album d78d2dad-d082-49b5-af78-fa734063e7b4 ''>: Socket operation timed out
E: 13:03:31,194 /usr/local/lib/python3.6/dist-packages/picard/webservice/init._handle_reply:517: Network request error for https://musicbrainz.org/ws/2/release/711647a7-587d-49da-aa60-8e72eef6d54d?inc=annotation+url-rels+artist-rels+release-groups+user-collections+release-rels+collections+isrcs+artist-credits+work-rels+recording-level-rels+recording-rels+labels+media+work-level-rels+discids+recordings+artists+aliases: Socket operation timed out (QT code 4, HTTP code 0)
E: 13:03:31,194 /usr/local/lib/python3.6/dist-packages/picard/ui/item.error_append:103: <Album 711647a7-587d-49da-aa60-8e72eef6d54d ''>: Socket operation timed out

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.