Home of the Squeezebox™ & Transporter® network music players.
Page 5 of 16 FirstFirst ... 3456715 ... LastLast
Results 41 to 50 of 156
  1. #41
    Junior Member
    Join Date
    Mar 2017
    Posts
    25
    Hi Balázs.

    The two lines Display rockt very weel. Is it possible for you to change one little thing?
    In the play mode, the left and right button are for volume up and down. To change
    the volume you must press, press, press the button to change the volume.
    In my opinion, it would be better to press and hold the button to change the volume up or down.

    Regards Markus

  2. #42
    Member
    Join Date
    Jan 2016
    Location
    Hungary
    Posts
    67
    Hi Marcus,

    Does LIRC send key repeating events? It should. You can test this with evtest. If you see events with "value 2", which is repeat, then it works. It looks like this:
    Code:
    Event: time 1490362372.844233, type 1 (EV_KEY), code 106 (KEY_RIGHT), value 2
    Currently Slimmer doesn't handle these events, but I will look into it.

    Regards
    Balázs

  3. #43
    Junior Member
    Join Date
    Mar 2017
    Posts
    25
    Hi,

    yes lirc send repeat codes
    Code:
    Event: time 1490640797.364041, type 1 (EV_KEY), code 207 (KEY_PLAY), value 1
    Event: time 1490640797.364041, -------------- EV_SYN ------------
    Event: time 1490640797.564097, type 1 (EV_KEY), code 207 (KEY_PLAY), value 0
    Event: time 1490640797.564097, -------------- EV_SYN ------------
    Event: time 1490640798.293872, type 1 (EV_KEY), code 207 (KEY_PLAY), value 1
    Event: time 1490640798.293872, -------------- EV_SYN ------------
    Event: time 1490640798.494190, type 1 (EV_KEY), code 207 (KEY_PLAY), value 0
    Event: time 1490640798.494190, -------------- EV_SYN ------------
    Event: time 1490640799.024127, type 1 (EV_KEY), code 207 (KEY_PLAY), value 1
    Event: time 1490640799.024127, -------------- EV_SYN ------------
    Event: time 1490640799.224181, type 1 (EV_KEY), code 207 (KEY_PLAY), value 0
    Event: time 1490640799.224181, -------------- EV_SYN ------------
    Event: time 1490640799.792859, type 1 (EV_KEY), code 207 (KEY_PLAY), value 1
    Event: time 1490640799.792859, -------------- EV_SYN ------------
    Event: time 1490640799.992906, type 1 (EV_KEY), code 207 (KEY_PLAY), value 0
    Event: time 1490640799.992906, -------------- EV_SYN ------------
    Event: time 1490640801.646760, type 1 (EV_KEY), code 207 (KEY_PLAY), value 1
    Event: time 1490640801.646760, -------------- EV_SYN ------------
    Event: time 1490640801.750286, type 1 (EV_KEY), code 207 (KEY_PLAY), value 2
    Event: time 1490640801.750286, -------------- EV_SYN ------------
    Event: time 1490640801.893815, type 1 (EV_KEY), code 207 (KEY_PLAY), value 2
    Event: time 1490640801.893815, -------------- EV_SYN ------------
    Event: time 1490640801.933816, type 1 (EV_KEY), code 207 (KEY_PLAY), value 2
    Event: time 1490640801.933816, -------------- EV_SYN ------------
    Event: time 1490640801.973827, type 1 (EV_KEY), code 207 (KEY_PLAY), value 2
    Event: time 1490640801.973827, -------------- EV_SYN ------------
    Event: time 1490640802.013809, type 1 (EV_KEY), code 207 (KEY_PLAY), value 2
    Event: time 1490640802.013809, -------------- EV_SYN ------------
    Event: time 1490640802.053818, type 1 (EV_KEY), code 207 (KEY_PLAY), value 2
    Event: time 1490640802.053818, -------------- EV_SYN ------------
    Event: time 1490640802.093814, type 1 (EV_KEY), code 207 (KEY_PLAY), value 2
    Event: time 1490640802.093814, -------------- EV_SYN ------------
    Event: time 1490640802.133812, type 1 (EV_KEY), code 207 (KEY_PLAY), value 2
    Event: time 1490640802.133812, -------------- EV_SYN ------------
    Event: time 1490640802.173815, type 1 (EV_KEY), code 207 (KEY_PLAY), value 2
    Event: time 1490640802.173815, -------------- EV_SYN ------------
    Event: time 1490640802.213816, type 1 (EV_KEY), code 207 (KEY_PLAY), value 2
    Event: time 1490640802.213816, -------------- EV_SYN ------------
    Event: time 1490640802.253817, type 1 (EV_KEY), code 207 (KEY_PLAY), value 2
    Event: time 1490640802.253817, -------------- EV_SYN ------------
    Event: time 1490640802.293868, type 1 (EV_KEY), code 207 (KEY_PLAY), value 2
    Event: time 1490640802.293868, -------------- EV_SYN ------------
    Event: time 1490640802.333825, type 1 (EV_KEY), code 207 (KEY_PLAY), value 2
    Event: time 1490640802.333825, -------------- EV_SYN ------------
    Event: time 1490640802.373815, type 1 (EV_KEY), code 207 (KEY_PLAY), value 2
    Event: time 1490640802.373815, -------------- EV_SYN ------------
    Event: time 1490640802.413805, type 1 (EV_KEY), code 207 (KEY_PLAY), value 2
    Event: time 1490640802.413805, -------------- EV_SYN ------------
    Event: time 1490640802.453817, type 1 (EV_KEY), code 207 (KEY_PLAY), value 2
    Event: time 1490640802.453817, -------------- EV_SYN ------------
    Event: time 1490640802.493820, type 1 (EV_KEY), code 207 (KEY_PLAY), value 2
    Event: time 1490640802.493820, -------------- EV_SYN ------------
    Event: time 1490640802.533947, type 1 (EV_KEY), code 207 (KEY_PLAY), value 2
    Event: time 1490640802.533947, -------------- EV_SYN ------------
    Event: time 1490640802.573814, type 1 (EV_KEY), code 207 (KEY_PLAY), value 2
    Event: time 1490640802.573814, -------------- EV_SYN ------------
    Event: time 1490640802.607802, type 1 (EV_KEY), code 207 (KEY_PLAY), value 0
    Event: time 1490640802.607802, -------------- EV_SYN ------------

  4. #44
    Junior Member
    Join Date
    Mar 2017
    Posts
    25
    Hi

    yes lirc send repeat codes
    Code:
    Event: time 1490640797.364041, type 1 (EV_KEY), code 207 (KEY_PLAY), value 1
    Event: time 1490640797.364041, -------------- EV_SYN ------------
    Event: time 1490640797.564097, type 1 (EV_KEY), code 207 (KEY_PLAY), value 0
    Event: time 1490640797.564097, -------------- EV_SYN ------------
    Event: time 1490640798.293872, type 1 (EV_KEY), code 207 (KEY_PLAY), value 1
    Event: time 1490640798.293872, -------------- EV_SYN ------------
    Event: time 1490640798.494190, type 1 (EV_KEY), code 207 (KEY_PLAY), value 0
    Event: time 1490640798.494190, -------------- EV_SYN ------------
    Event: time 1490640799.024127, type 1 (EV_KEY), code 207 (KEY_PLAY), value 1
    Event: time 1490640799.024127, -------------- EV_SYN ------------
    Event: time 1490640799.224181, type 1 (EV_KEY), code 207 (KEY_PLAY), value 0
    Event: time 1490640799.224181, -------------- EV_SYN ------------
    Event: time 1490640799.792859, type 1 (EV_KEY), code 207 (KEY_PLAY), value 1
    Event: time 1490640799.792859, -------------- EV_SYN ------------
    Event: time 1490640799.992906, type 1 (EV_KEY), code 207 (KEY_PLAY), value 0
    Event: time 1490640799.992906, -------------- EV_SYN ------------
    Event: time 1490640801.646760, type 1 (EV_KEY), code 207 (KEY_PLAY), value 1
    Event: time 1490640801.646760, -------------- EV_SYN ------------
    Event: time 1490640801.750286, type 1 (EV_KEY), code 207 (KEY_PLAY), value 2
    Event: time 1490640801.750286, -------------- EV_SYN ------------
    Event: time 1490640801.893815, type 1 (EV_KEY), code 207 (KEY_PLAY), value 2
    Event: time 1490640801.893815, -------------- EV_SYN ------------
    Event: time 1490640801.933816, type 1 (EV_KEY), code 207 (KEY_PLAY), value 2
    Event: time 1490640801.933816, -------------- EV_SYN ------------
    Event: time 1490640801.973827, type 1 (EV_KEY), code 207 (KEY_PLAY), value 2
    Event: time 1490640801.973827, -------------- EV_SYN ------------
    Event: time 1490640802.013809, type 1 (EV_KEY), code 207 (KEY_PLAY), value 2
    Event: time 1490640802.013809, -------------- EV_SYN ------------
    Event: time 1490640802.053818, type 1 (EV_KEY), code 207 (KEY_PLAY), value 2
    Event: time 1490640802.053818, -------------- EV_SYN ------------
    Event: time 1490640802.093814, type 1 (EV_KEY), code 207 (KEY_PLAY), value 2
    Event: time 1490640802.093814, -------------- EV_SYN ------------
    Event: time 1490640802.133812, type 1 (EV_KEY), code 207 (KEY_PLAY), value 2
    Event: time 1490640802.133812, -------------- EV_SYN ------------
    Event: time 1490640802.173815, type 1 (EV_KEY), code 207 (KEY_PLAY), value 2
    Event: time 1490640802.173815, -------------- EV_SYN ------------
    Event: time 1490640802.213816, type 1 (EV_KEY), code 207 (KEY_PLAY), value 2
    Event: time 1490640802.213816, -------------- EV_SYN ------------
    Event: time 1490640802.253817, type 1 (EV_KEY), code 207 (KEY_PLAY), value 2
    Event: time 1490640802.253817, -------------- EV_SYN ------------
    Event: time 1490640802.293868, type 1 (EV_KEY), code 207 (KEY_PLAY), value 2
    Event: time 1490640802.293868, -------------- EV_SYN ------------
    Event: time 1490640802.333825, type 1 (EV_KEY), code 207 (KEY_PLAY), value 2
    Event: time 1490640802.333825, -------------- EV_SYN ------------
    Event: time 1490640802.373815, type 1 (EV_KEY), code 207 (KEY_PLAY), value 2
    Event: time 1490640802.373815, -------------- EV_SYN ------------
    Event: time 1490640802.413805, type 1 (EV_KEY), code 207 (KEY_PLAY), value 2
    Event: time 1490640802.413805, -------------- EV_SYN ------------
    Event: time 1490640802.453817, type 1 (EV_KEY), code 207 (KEY_PLAY), value 2
    Event: time 1490640802.453817, -------------- EV_SYN ------------
    Event: time 1490640802.493820, type 1 (EV_KEY), code 207 (KEY_PLAY), value 2
    Event: time 1490640802.493820, -------------- EV_SYN ------------
    Event: time 1490640802.533947, type 1 (EV_KEY), code 207 (KEY_PLAY), value 2
    Event: time 1490640802.533947, -------------- EV_SYN ------------
    Event: time 1490640802.573814, type 1 (EV_KEY), code 207 (KEY_PLAY), value 2
    Event: time 1490640802.573814, -------------- EV_SYN ------------
    Event: time 1490640802.607802, type 1 (EV_KEY), code 207 (KEY_PLAY), value 0
    Event: time 1490640802.607802, -------------- EV_SYN ------------

  5. #45
    Junior Member
    Join Date
    Mar 2017
    Posts
    25
    A little video with two and four line LCD with two Raspberry 2B.


  6. #46
    Member
    Join Date
    Jan 2016
    Location
    Hungary
    Posts
    67
    Cool! Where did you get that VFD? I will add a new parameter to Slimmer, with which you can set the scrolling speed. The VFDs draw much faster then the LCDs, so you can make it scrolling faster, if you want.

  7. #47
    Junior Member
    Join Date
    Mar 2017
    Posts
    25
    Hi,

    scrolling speed would be nice and a MUTE button (with lirc) would be great ;-)

    The VFD is a Futaba M202SD16FJ from ebay

    My old Radio, the plan is to integrade the VFD and the pi instead the old analog radio.

    Name:  Radio2.JPG
Views: 359
Size:  73.6 KB

    Markus
    Last edited by droidbox; 2017-03-29 at 00:59.

  8. #48
    Member
    Join Date
    Jan 2016
    Location
    Hungary
    Posts
    67
    This will be great with that VFD! Why MUTE if there is PAUSE with long pressing the SELECT button (Key_Enter)?

    I pushed some commits to the smallscreen branch. Please check them out!

    Here are the changes:
    - Scrolling speed command line parameter added. Value 1 is the fastest.
    - On previous action restart track if it is played for more than 3 secs (instead of starting previous track).
    - If playing queue is empty a popup is shown in the menu when trying to enter the Playing Queue or when the last item is deleted from the queue.
    - Key repeats handled for left and right keys (volume setting and menu browsing)
    - Artists menu item name is changed to All Artists if server version is at least 7.9.0
    - Added browsing by Album Artists (if the server supports it)
    - Artists were not shown up in the menu with LMS 7.9
    Last edited by tbali; 2017-03-30 at 06:59.

  9. #49
    Junior Member
    Join Date
    Mar 2017
    Posts
    25
    Quote Originally Posted by tbali View Post
    This will be great with that VFD! Why MUTE if there is PAUSE with long pressing the SELECT button (Key_Enter)?
    If I know something! Do you have an overview of key function?

    What is the name of the switch for the scrolling speed? I see nothing or make I something wrong?

    Code:
    pi@raspi:~/slimmer/smalldisplay/slimmer $ git checkout -b smalldisplay
    fatal: Branch 'smalldisplay' existiert bereits.
    pi@raspi:~/slimmer/smalldisplay/slimmer $ git checkout smalldisplay
    Bereits auf 'smalldisplay'
    pi@raspi:~/slimmer/smalldisplay/slimmer $ cd ../slimmer-build/
    pi@raspi:~/slimmer/smalldisplay/slimmer-build $ cmake -DCMAKE_BUILD_TYPE=MinSizeRel ../slimmer
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/pi/slimmer/smalldisplay/slimmer-build
    pi@raspi:~/slimmer/smalldisplay/slimmer-build $ make -j2
    Scanning dependencies of target slimmer
    [  4%] Building CXX object CMakeFiles/slimmer.dir/Button.cpp.o
    [  8%] Building CXX object CMakeFiles/slimmer.dir/Config.cpp.o
    [ 12%] Building CXX object CMakeFiles/slimmer.dir/Controller.cpp.o
    [ 16%] Building CXX object CMakeFiles/slimmer.dir/MenuItem.cpp.o
    [ 20%] Building CXX object CMakeFiles/slimmer.dir/Player.cpp.o
    [ 25%] Building CXX object CMakeFiles/slimmer.dir/Screen.cpp.o
    [ 33%] Building CXX object CMakeFiles/slimmer.dir/ScreenMenu.cpp.o
    [ 33%] Building CXX object CMakeFiles/slimmer.dir/ScreenError.cpp.o
    [ 37%] Building CXX object CMakeFiles/slimmer.dir/ScreenNowPlaying.cpp.o
    [ 41%] Building CXX object CMakeFiles/slimmer.dir/ScreenVolume.cpp.o
    [ 45%] Building CXX object CMakeFiles/slimmer.dir/Server.cpp.o
    [ 50%] Building CXX object CMakeFiles/slimmer.dir/json/jsoncpp.cpp.o
    [ 54%] Building CXX object CMakeFiles/slimmer.dir/jsonrpccpp/client/batchcall.cpp.o
    [ 58%] Building CXX object CMakeFiles/slimmer.dir/jsonrpccpp/client/batchresponse.cpp.o
    [ 62%] Building CXX object CMakeFiles/slimmer.dir/jsonrpccpp/client/client.cpp.o
    [ 66%] Building CXX object CMakeFiles/slimmer.dir/jsonrpccpp/client/connectors/httpclient.cpp.o
    [ 70%] Building CXX object CMakeFiles/slimmer.dir/jsonrpccpp/client/rpcprotocolclient.cpp.o
    [ 75%] Building CXX object CMakeFiles/slimmer.dir/jsonrpccpp/common/errors.cpp.o
    [ 79%] Building CXX object CMakeFiles/slimmer.dir/jsonrpccpp/common/exception.cpp.o
    [ 83%] Building CXX object CMakeFiles/slimmer.dir/jsonrpccpp/common/procedure.cpp.o
    [ 87%] Building CXX object CMakeFiles/slimmer.dir/jsonrpccpp/common/specificationparser.cpp.o
    [ 91%] Building CXX object CMakeFiles/slimmer.dir/jsonrpccpp/common/specificationwriter.cpp.o
    [ 95%] Building CXX object CMakeFiles/slimmer.dir/main.cpp.o
    In file included from /home/pi/slimmer/smalldisplay/slimmer/main.cpp:28:0:
    /home/pi/slimmer/smalldisplay/slimmer/libev/ev.c:1825:31: warning: ‘ev_default_loop_ptr’ initialized and declared ‘extern’
       EV_API_DECL struct ev_loop *ev_default_loop_ptr = 0; /* needs to be initialised to make it a definition despite extern */
                                   ^
    [100%] Linking CXX executable slimmer
    [100%] Built target slimmer
    
    pi@raspi:~/slimmer/smalldisplay/slimmer-build $ ./slimmer -h
    Usage: 
       ./slimmer  [-v] [-s <ip or hostname>] [-p <number>] [-l <ip or
                  hostname>] [-P <number>] [-m <AA:BB:CC:DD:EE:FF>] [-f] [-o
                  <0-100>] [-i <input device file>] [-e <single-byte encoding>]
                  [--] [--version] [-h]
    
    Where: 
       -v,  --verbose
         be verbose
    
       -s <ip or hostname>,  --lmshost <ip or hostname>
         LMS host (default: localhost)
    
       -p <number>,  --lmsport <number>
         LMS port (default: 9000)
    
       -l <ip or hostname>,  --lcdhost <ip or hostname>
         lcdproc host (default: localhost)
    
       -P <number>,  --lcdport <number>
         lcdproc port (default: 13666)
    
       -m <AA:BB:CC:DD:EE:FF>,  --mac <AA:BB:CC:DD:EE:FF>
         the player's MAC address (default: automatic, first interface)
    
       -f,  --fixedvolume
         volume control disabled
    
       -o <0-100>,  --volume <0-100>
         set volume on startup
    
       -i <input device file>,  --input <input device file>
         keyboard input device file (default: /dev/input/event0)
    
       -e <single-byte encoding>,  --encoding <single-byte encoding>
         the LCD's character encoding (default: ISO-8859-1)
    
       --,  --ignore_rest
         Ignores the rest of the labeled arguments following this flag.
    
       --version
         Displays version information and exits.
    
       -h,  --help
         Displays usage information and exits.
    
    
       Copyright (C) 2016  Terényi, Balázs (terenyi@freemail.hu)
    
       This program comes with ABSOLUTELY NO WARRANTY. This is free software,
       and you are welcome to redistribute it under certain conditions. See
       LINCENSE file in the source distribution.

  10. #50
    Member
    Join Date
    Jan 2016
    Location
    Hungary
    Posts
    67
    Issue a git pull before building, to get the changes from the server!

    Here is the usage manual: https://github.com/terba/slimmer/wiki/User-manual

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •