Thank you for your donation!


Solved: 4.4: Add Album fills Playlist with any tracks
#11
Not related to your playlist problem:

Volker, according to your first log, you are on European time, so don't forget to change your Wifi-Country ;-)
Bad sound + Publicity kills good music/forum
RPI3+ Allo Katana + Isolator (SQ) | 2x AudioPhonics LPSU25 | NAD C368 + BluOS module | BeyerDynamic DT 1770 Pro | Synology DS712+ with DX513 (30T)
Reply
#12
Hi all and merry christmas,

I can confirm the bug Volker described, but by using chromium.
There are different behaviours of chrome (Version 71.0.3578.98) and firefox (Quantum 1.0).


Chromium:

After searching for an Artist in library panel and choosing it, the bug happens when I click on the cover in the panel below to add the whole album. Adding only one song is working wihtout any problems.

Interestingly the website shown in the browser bar changes from http://192.168.178.33/#browse-panel to http://192.168.178.33/#notarget on chrome in the moment I click the cover art.

Firefox

In Firefox no cover art is shown in the panel, so adding is not possible. If  I can click on the menu where the album cover should be, everythign works fine.
Curiously Firefox finds 2 albums more using the same term "bach" (see attachment).

Other:
Using MPD on Android and GMPD on Linux works perfectly. 


It seems to be a website issue - maybe related to chromium/chrome (since vivaldi is based on chromium).

Code:
pi@moode:~$ sudo /var/www/command/sysinfo.sh
sudo /var/www/command/sysinfo.sh

      S Y S T E M    P A R A M E T E R S  

    Date and time    = 2018-12-25 10:11:55
    System uptime    = up 23 hours, 25 minutes
    Timezone    = Europe/Berlin
    Release        = moOde 4.4 2018-12-09
    Update        = 2018-12-19    

    Host name    = moode
    ETH0  IP    = 192.168.178.33
    ETH0  MAC    = b8:27:eb:a1:d8:29
    WLAN0 IP    = 192.168.178.25
    WLAN0 MAC    = b8:27:eb:f4:8d:7c
    WiFi country    = DE

    HDWR REV    = Pi-3B+ 1GB v1.3
    SoC         = BCM2835
    CORES        = 4
    ARCH        = armv7l
    RASPBIAN    = 9.6
    KERNEL        = 4.14.84-v7+
    KTIMER FREQ    = 100 Hz
    USB BOOT    = enabled
    Warranty    = OK

    ROOT size    = 14G
    ROOT used     = 17%
    ROOT avail    = 12G
    FS expand    = expanded
    MEM free     = 153 MB
    MEM used     = 149 MB
    Temperature     = 52.6°C

    CPU GOV        = performance
    MPD SCHDPOL    = TS
    P3-WIFI        = On
    P3-BT        = On
    HDMI        = On
    ETH0 CHECK    = On
    MAX USB CUR    = Off
    UAC2 FIX    = Off
    ETHPORT FIX    = Off
    SSH server    = Off

    LED0        = on
    LED1        = on

      C O R E    S E R V E R S  

    PHP-FPM        = 7.0.33
    NGINX        = 1.10.3
    SQLite        = 3.16.2

      C P U    L O A D  


      P R O C E S S    L O A D  

    PRI RTPRIO COMMAND         %MEM PSR %CPU
     19      - sysinfo.sh       0.2   0  2.0
     29      - mpd             11.9   0  1.5
     19      - bash             0.4   0  0.7
     19      - sshd             0.6   3  0.6
     19      - systemd          0.5   0  0.2
     19      - worker.php       1.2   3  0.1
     19      - systemd          0.6   3  0.0
     19      - kthreadd         0.0   1  0.0
     39      - kworker/0:0H     0.0   0  0.0

      C L O C K    F R E Q U E N C I E S  

        arm   = 1400 MHz           pwm   = 0 MHz
        core  = 400 MHz               emmc  = 200 MHz
        h264  = 300 MHz               pixel = 148 MHz
        isp   = 300 MHz               vec   = 0 MHz
        v3d   = 300 MHz               hdmi  = 163 MHz
        uart  = 48 MHz               dpi   = 0 MHz

    SD card    = 50 MHz

      S Y S T E M    V O L T A G E S  

    core            = 1.3500V
    sdram controller    = 1.2500V
    sdram I/O        = 1.2500V
    sdram chip        = 1.2250V

      C U S T O M I Z A T I O N   S E T T I N G S  

    Playback history    = No
    Extra metadata        = Yes
    Music tab default    = Browse
    Auto-shuffle filter    = None
    Artist list order    = Artist
    Compilation rollup    = No
    Compilation excludes    = greatest hits
    UTF8 character filter    = No
    Cover search pri    = Embedded cover
    Hi-res covers        = Auto
    Pixel ratio        = 1
    Theme            = Chikory Root
    Accent color        = Alizarin
    Alpha blend        = 1.0
    Adaptive background    = No
    Background image    = No
    Cover backdrop        = No
    Cover blur        = 20px
    Cover scale        = 1.25
    CoverView auto-display    = Never
    CoverView style        = Animated

      A U D I O    P A R A M E T E R S  

    Audio device        = HiFiBerry DAC+
    Interface        = I2S
    Hdwr volume        = Controller detected
    Mixer name        = Digital
    Output stream        = S24_LE / 44100
    ALSA version        = 1.1.3-5+rpi3
    SoX version        = 0.1.2-2

    Volume knob        = 84
    Volume mute        = Unmuted

    Bluetooth controller    = Off
    Airplay receiver    = Off
    Spotify receiver    = Off
    Squeezelite        = Off
    UPnP client        = Off
    DLNA server        = Off

    Rotary encoder        = Off
    Encoder params        = 100 2 3 4 5
    Crossfeed        = Off
    Parametric EQ        = Off
    Graphic EQ        = Off
    Auto-shuffle        = Off
    Autoplay        = Off
    MPD crossfade        = Off

      M P D    S E T T I N G S  

    Version            = 0.20.20
    Volume control        = hardware
    ALSA device        = hw:0
    SoX resampling        = disabled
    SoX quality        = very high
    SoX multithreading    = off
    Audio buffer (kb)    = 65535
    Buffer before play    = 30%
    Output buffer size (kb)    = 81920
    Volume normalization    = No
    DSD over PCM (DoP)    = no
    Replay gain        = off

      B L U E T O O T H    S E T T I N G S  

    Bluetooth ver        = 5.49
    Bluealsa ver        = Turn BT on for version info
    Speaker sharing        = No
    Resume MPD        = No

      A I R P L A Y    S E T T I N G S  

    Version            = 3.2.2
    Friendly name        = Moode Airplay
    ALSA device        = hw:0
    Volume mixer        = auto
    Resume MPD        = No
    Output bit depth    = S16
    Output sample rate    = 44100
    Session interruption    = no
    Session timeout (ms)    = 120
    Audio buffer (secs)    = 0.0

      S P O T I F Y    S E T T I N G S  

    Friendly name        = Moode Spotify
    ALSA device        = default:CARD=sndrpihifiberry
    Resume MPD        = No
    Bit rate        = 160
    Initial volume        = 0
    Volume curve        = Logarithmic
    Volume normalization    = No
    Normalization pregain    = 0

      S Q U E E Z E L I T E    S E T T I N G S  

    Version            = 1.8.7-1052 "DSD/SRC enabled"
    Friendly name        = Moode
    ALSA device        = hw:0
    ALSA params        = 80:4::1
    Output buffers        = 40000:100000
    Task priority        = 45
    Codec list        = flac,pcm,mp3,ogg,aac,alac,dsd
    Resume MPD        = No
    Other options        = -W -D 500 -R E -S /var/loca

      M O O D E    L O G  

   20181224 104554 worker: - Start
   20181224 104554 worker: Successfully daemonized
   20181224 104554 worker: Integrity check ok
   20181224 104554 worker: ALSA volume (0%)
   20181224 104554 worker: Session loaded
   20181224 104554 worker: Debug logging (off)
   20181224 104554 worker: - Platform
   20181224 104555 worker: Rel  (Moode 4.4 2018-12-09)
   20181224 104555 worker: Upd  (2018-12-19)
   20181224 104555 worker: Rasp (9.6)
   20181224 104555 worker: Kern (4.14.84-v7+)
   20181224 104555 worker: MPD  (0.20.20)
   20181224 104555 worker: Host (moode)
   20181224 104555 worker: Hdwr (Pi-3B+ 1GB v1.3)
   20181224 104555 worker: Arch (armv7l)
   20181224 104555 worker: Gov  (performance)
   20181224 104556 worker: USB boot enabled
   20181224 104556 worker: File system expanded
   20181224 104556 worker: HDMI port on
   20181224 104556 worker: File check ok
   20181224 104556 worker: - Network
   20181224 104556 worker: eth0 exists
   20181224 104556 worker: eth0 (192.168.178.33)
   20181224 104556 worker: wlan0 exists
   20181224 104556 worker: wifi country (DE)
   20181224 104556 worker: wlan0 trying SSID (bananometer)
   20181224 104556 worker: wlan0 wait 0 for IP address
   20181224 104559 worker: wlan0 (192.168.178.25)
   20181224 104559 worker: - Audio
   20181224 104600 worker: ALSA outputs unmuted
   20181224 104600 worker: ALSA card number (0)
   20181224 104600 worker: Audio out (I2S audio device)
   20181224 104600 worker: Audio dev (HiFiBerry DAC+)
   20181224 104600 worker: ALSA mixer name (Digital)
   20181224 104600 worker: MPD volume control (hardware)
   20181224 104600 worker: Hdwr volume controller exists
   20181224 104600 worker: Chip options (Burr Brown PCM5122)
   20181224 104600 worker: - Services
   20181224 104600 worker: Reset renderer active
   20181224 104602 worker: MPD started
   20181224 104602 worker: MPD scheduler policy (time-share)
   20181224 104602 worker: Configure MPD outputs
   20181224 104602 worker: MPD output 1 ALSA default (on)
   20181224 104602 worker: MPD output 2 ALSA crossfeed (off)
   20181224 104602 worker: MPD output 3 ALSA parametric eq (off)
   20181224 104602 worker: MPD output 4 ALSA graphic eq (off)
   20181224 104602 worker: MPD output 5 ALSA bluetooth (off)
   20181224 104602 worker: MPD crossfade (off)
   20181224 104602 worker: - Music sources
   20181224 104602 worker: USB source (boot-rbp2)
   20181224 104602 worker: USB source (RECOVERY)
   20181224 104602 worker: USB source (root-rbp2)
   20181224 104602 worker: USB source (SETTINGS)
   20181224 104602 worker: NAS sources (mountall initiated)
   20181224 104602 worker: - Miscellaneous
   20181224 104602 worker: Volume level (56) restored
   20181224 104602 worker: Maintenance interval (21600)
   20181224 104602 worker: Screen saver activation (Never)
   20181224 104602 worker: Watchdog started
   20181224 104602 worker: Ready
   20181224 104657 worker: Job installupd
   20181224 104657 updater: Downloading update package r44
   20181224 104658 updater: Start 2018-12-19 update moOde 4.4
   20181224 104658 updater: ** Version check
   20181224 104658 updater: ** Step 1-5: SQL updates
   20181224 104658 updater: ** Step 2-5: Binary updates
   20181224 104658 updater: ** Step 3-5: Code and Config updates
   20181224 104658 updater: ** Step 4-5: Reset accent color to Alizarin
   20181224 104658 updater: ** Step 5-5: Syncing changes to disk
   20181224 104658 updater: Update installed, REBOOT required
   20181224 164726 worker: Maintenance completed
   20181224 224812 worker: Maintenance completed
   20181225 044858 worker: Maintenance completed

Host system:


Code:
monster% archey3

              +                OS: Arch Linux x86_64
              #                Hostname: monster
             ###               Kernel Release: 4.19.12.a-1-hardened
            #####              Uptime: 4:21
            ######             WM: herbstluftwm
           ; #####;            DE: None
          +##.#####            Packages: 1465
         +##########           Processor Type: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
        #############;         $EDITOR: /usr/bin/emacs
       ###############+        Root: 26G / 29G (89%) (ext4)
      #######   #######        
    .######;     ;###;`".      
   .#######;     ;#####.      
   #########.   .########`    
  ######'           '######    
 ;####                 ####;  
 ##'                     '##  
#'                         `#  


Attached Files Thumbnail(s)
   
Reply
#13
Hi,

I'm not able to repro this using either Chrome or Safari.

Clicking on an Artist generates a list of Albums by the artist. If there is more than one album, the cover displayed is the default moOde cover with the Artist name and total track count for all the albums underneath.

Using the search field generates a list of Albums where the album name or artist name contains the search string. This list may contain albums from more than one artist depending on the search string. There is no method in place to aggregate the tracks belonging to this list of albums and thus you would need to click on individual albums to add them to the Playlist.

-Tim
Reply
#14
Hello Tim,

maybe there was a misunderstanding of my problem description:

If you click on an album, the tracks of this album are listed. Correct.
When you click on the album to get the menue, you can play or add all tracks of this album.
This works great with the chrome browser.
The error happens when you do the same using the vivaldi browser,
and - as user shurito confirmed - using the cromium browser (free linux browser).

Then the behavior happens, that all tracs contained in the NAS are added to the actual playlist.

Not a big bug, maybe a bug in the browser and not in moode, but remarkable behavior.
I use another browser than vivaldi now, no problem.

Thank you for all the excellent work!

I enjoy the music!

Volker
Reply
#15
Hi Volker,

moOde uses chromium-browser (linux) to render the UI on attached Touch screens or HDMI displays. A quick test on my Pi with 7" Touch and no issues.

Code:
pi@rp5:~ $ chromium-browser --version
Chromium 65.0.3325.181 Built on Raspbian , running on Raspbian 9.6
Reply
#16
Re: Browser-specific problems

Guys, I have repeatedly tested this "add album" feature on the following browsers installed in my Linux Mint 18.3 running on a ThinkPad:
  • Chromium Version 71.0.3578.80 (Official Build) Built on Ubuntu , running on LinuxMint 18.3 (64-bit)
  • Firefox Quantum 64.0 (64-bit) Mozilla Firefox for Linux Mint (mint - 1.0)
  • Google Chrome Version 71.0.3578.98 (Official Build) (64-bit)
  • Opera Version:57.0.3098.106
  • Vivaldi 2.2.1388.37 (Stable channel) (64-bit)
The version data is what the browsers report about themselves.

As well, from time to time I use Safari 12 on my iPad and several of the above browsers which are installed on it and on an Android phone and an Android tablet. I'd talk about the browsers installed on MS Windows 10, which is a second boot option on my Thinkpad, but it's a bore to have to boot into it.

I don't see the behavior you report.

Tim and @swizzle are the front-end experts, but AFAIK we're just triggering Javascript events which communicate to the backend code on the moOde player. All these browsers contain Javascript engines which score very high marks in scripting tests (see, e.g., html5test.com).

I'm wondering if, instead, some of your browser caches are still holding onto stale Javascript files from moOde r4.3? 

I know this question is like asking if your computer is plugged in, but have you forced each browser to clear its cache of downloaded files and images? 

Regards,
Kent

PS - I hear Tim and @swizzle have an idea for a cool mod which should greatly reduce the problem of stale caches. With luck it will be in Tim's next update.
Reply
#17
Hello all,

thank you very much!

I can confirm, Kent was on the right track!
My browser indeed had caches some elemets from the 4.3 version, this causing the malfunction.
After clearing the whole browser data everything is good!

Maybe this wold be a good hint in the upgrade faqs from 4.3 to 4.4

Have a good 2019

Best regards,

Volker
Reply


Forum Jump: