Re: [SlimDevices: Unix] Changing FLAC settings in custom-convert file disables MP3 in LMS ????
bpa wrote: > UNK is the unknown type when LMS cannot determine from the stream URL, > mime, prefix or suffix what is the "type" of the stream/file. Supported > types are in types,.conf and various custom-types.conf. > > It is possible the "wimp://" is the source of the unk - I don't use > Tidal but I think Wimp was the old name for Tidal and so plugin still > uses wimp prefix. If that is the case it would imply something wrong > with Tidal plugin or Tidal access. > > To move this forward I suggest the following. > > 1. Delete the problem custom-convert.conf > 2. Restart LMS and confirm MP3 handling is OK. > 3. Create a new custom-convert.conf which *ONLY* has the "flc flc " > lines you want changed.- this is how custom-convert.conf file are > supposed to be used - only containing the custom changes. Make sure > there is a tab before the "[sox]". The following is all the brand new > custom-convert.conf file should contain. Make sure permission and > ownership is same as convert.conf > > Code: > > > > > flc flc * * > [sox] -q -t flac $FILE$ -t flac - > > > > > 4. Restart LMS and confirm MP3 handling is OK. > 5. If MP3 is OK, confirm modified flac handling. Hy... This did it :) Now mp3 radio works, and my sox codeline is accepted as there is no stuttering on Tidal(Test track Trapper Man from Mark Knopflers newest album did it every time). Thank you som much Paul and bpa :) You guys and this forum is awsome... Earlier I did not make the "TAB" so that the "[sox] started under the first * . And it was coded from scratch in Notepad++. Regarding the Wimp messages. It is correct that it was the early version of Tidal. I tested stuff with Michael Herger as Wimp(flac) was implemented in LMS. And there is still wimp names in the current Tidal plugin. Thanks again guys !!! Callesoroe Living room: Transporter, Tact RCS 2.2X digital preamp, Martin Logan Vista speakers, AMPS(Icepower): Acoustic Reality Ear Enigma PLUS(PANELS), Acoustic Reality Ear TWO MKII(Bas) Kitchen: Transporter - Prodipe Pro 5 active bi-amp speakers. Bedroom: Receiver+UE boombox, Kids: Receiver+Active speakers, Guestroom: Touch - Bencmark DAC1, JBL LSR305 active speakers , TIDAL HIFI flac streaming. http://www.last.fm/user/callesoroe callesoroe's Profile: http://forums.slimdevices.com/member.php?userid=22693 View this thread: http://forums.slimdevices.com/showthread.php?t=111218 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Knob - Volume - mouse scroll hack
Wiredcharlie wrote: > From what I can see that is button/keypress only. It uses python-evdev, which is a interface to evdev and reports all device events (X uses evdev as well btw). Haven't tested it with inputexec, but this works: Code: #!/usr/bin/env python3 import evdev device = evdev.InputDevice('/dev/input/event10') print(device) for event in device.read_loop(): if event.code == evdev.ecodes.REL_WHEEL: print("Event: {} value: {}".format( evdev.categorize(event), event.value)) Code: device /dev/input/event10, name "Logitech USB Laser Mouse", phys "usb-:00:1d.0-1.6/input0" Event: relative axis event at 1574017671.107975, REL_WHEEL value: -1 Event: relative axis event at 1574017672.227968, REL_WHEEL value: 1 so you could just add a line to send something (e.g. with requests) to LMS in that if clause Anyway, I've switched to 'triggerhappy' (https://github.com/wertarbyte/triggerhappy) in the meantime, which will also work with the wheel: Code: $ cat ../THD.conf REL_WHEEL 1 echo "wheel up" >> /tmp/thd.log REL_WHEEL -1 echo "wheel down" >> /tmp/thd.log Code: ./thd --triggers ../THD.conf /dev/input/event10 Executing trigger action: echo "wheel down" >> /tmp/thd.log Executing trigger action: echo "wheel up" >> /tmp/thd.log 'Various SW' (https://www.nexus0.net/pub/sw/): Web Interface | Playlist Editor / Generator | Music Classification | Similar Music | Announce | EventTrigger | LMSlib2go | ... 'Various HowTos' (https://www.nexus0.net/pub/documents/LMS/): build a self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ... Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808 View this thread: http://forums.slimdevices.com/showthread.php?t=111225 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] BETA: piCorePlayer6.0.0 - PI4 support
Think I got it this time Ronnie. Missing an * globbing all of the 4B cards. As for the network, most of the time I get an address in about 3 or 4 seconds, but Occasionally when swapping SD cards in the same board, it causes the DHCP server to delay. Not having a network address does indeed cause problems. On the WIFI page, there is a setting to increase the wait for network delay. (It's on the wifi, since that's were we see the problem the most, but it will also set the wait delay for ethernet) piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://www.picoreplayer.org Please 'donate' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted) if you like the piCorePlayer paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858 View this thread: http://forums.slimdevices.com/showthread.php?t=110727 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 5.0.0
Thanks My radios are synchronized, but after an internet break, they do not leave without pressing play Doryphore's Profile: http://forums.slimdevices.com/member.php?userid=67964 View this thread: http://forums.slimdevices.com/showthread.php?t=110642 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] BETA: piCorePlayer6.0.0 - PI4 support
The previous post was from the SD card with the image that does not load ALSA. Here is the same pi, with the image made from a fresh download of the beta7. Squeezelite works fine on this. Here is the Boot log, with no IP address: Code: Starting piCorePlayer v6.0.0-b7 startup... Checking for boot files on mmcblk0p1... Trying to mount /dev/mmcblk0p1. ssh file found on mmcblk0p1. newpcp.cfg not found on mmcblk0p1. Setting default piCorePlayer repository... Generating sound card drop-down list... Loading configuration file... Done. Loading pcp-lms-functions... Done. Waiting for soundcard IQaudIODAC to populate. Done (1). Waiting for network... No network found! Done (52). Checking for PCM input card... Done. Starting Openssh server... Done. Starting Squeezelite and/or Shairport-sync... [ INFO ] Starting Squeezelite player: Squeezelite... Done. Auto set timezone settings, can be updated on tweaks page... There was a problem reaching sites for automatic timezone, please set manually on tweaks page. Starting httpd web server... Done. Setting CPU scaling governor to ondemand... Done. Creating static footer... Done. Finished piCorePlayer v6.0.0-b7 startup. To setup piCorePlayer, use the web interface via a browser: Press [Enter] to access console. In the background, ntpd is syncing time between piCorePlayer and the internet. A large offset between 1970 and now is normal. Also note the timezone has not loaded (I have also seen this before). pCP v5 I don't recall seeing these differences :) Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627 View this thread: http://forums.slimdevices.com/showthread.php?t=110727 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] BETA: piCorePlayer6.0.0 - PI4 support
paul- wrote: > What pi are you using? Can you get me your revision code? Its on the > Diagnostics / Raspberry Pi page. > > As for the network address, you dhcp server is taking a long time to > respond.is that normal for you? The Wait for network is timing out > > Thanks for the update report, Ill check it again. Hi Paul Re the Network address yes, that's normal for me, sometimes it shows and sometimes it doesn't. 28582 ronnie +---+ |Filename: arevisionnumberpcp.png | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=28582| +---+ Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627 View this thread: http://forums.slimdevices.com/showthread.php?t=110727 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] BETA: piCorePlayer6.0.0 - PI4 support
What pi are you using? Can you get me your revision code? Its on the Diagnostics / Raspberry Pi page. piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://www.picoreplayer.org Please 'donate' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted) if you like the piCorePlayer paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858 View this thread: http://forums.slimdevices.com/showthread.php?t=110727 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 5.0.0
Unless you set up synchronisation between the players then each stream will be a new session to the remote radio station (I assume that this is the case even if you configure for "proxied" where the devices connect through LMS but perhaps LMS is clever and spots more than one device requesting the same stream and so shares one connection). If you do not want to have permanent sync between devices then take a look at the Group Players plugin which you can use to set-up on demand sync. Paul Webster http://dabdig.blogspot.com Author Radio France (FIP etc) plugin Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 View this thread: http://forums.slimdevices.com/showthread.php?t=110642 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Changing FLAC settings in custom-convert file disables MP3 in LMS ????
The reason for just having the specific custom changes in the custom-convert,conf file is because if the whole convert.conf file is copied then any updates to convert,conf in subsequent LMS will not used - only the old values convert.conf values used when the custom-convert.conf was created. For example, the OPs LMS version is May 2019 - there has been two changes to convert.conf file since May 2019 - improving handling of streaming MP4 and ops types. Luckily there has been no conflict but there is possibility an LMS updated requires a matching convert.conf but whole creating a custom-convert.conf from a snapshot of convert.conf has the potential for a version mismatch. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=111218 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 5.0.0
Hello, I live in the countryside and I do not have a good internet speed. I mainly listen to internet radio, but every time there is a break in the Internet the radio does not pick up. I have to press Play several times to resume. Is there no way for the radio to resume when the connection returns ? Logitech Media Server Version : 7.9.2 - 1572699180 @ Sat Nov 2 14:19:59 CET 2019 Nom d'hôte : piCorePlayer IP : Port HTTP : 9000 SE : piCore - FR - utf8 Plate-forme : armv7l-linux Version de Perl : 5.28.0 - arm-linux-gnueabihf-thread-multi-64int Audio::Scan : 1.02 IO::Socket::SSL : 2.060 Version de la base de données : DBD::SQLite 1.58 (sqlite 3.22.0) Platines identifiées : 11 Cordially Doryphore's Profile: http://forums.slimdevices.com/member.php?userid=67964 View this thread: http://forums.slimdevices.com/showthread.php?t=110642 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] BETA: piCorePlayer6.0.0 - PI4 support
Downloaded the new beta image and the install proceed without any problems. Sound card present on boot. Code: Starting piCorePlayer v6.0.0-b7 startup... Checking for boot files on mmcblk0p1... Trying to mount /dev/mmcblk0p1. ssh file found on mmcblk0p1. newpcp.cfg not found on mmcblk0p1. Setting default piCorePlayer repository... Generating sound card drop-down list... Loading configuration file... Done. Loading pcp-lms-functions... Done. Waiting for soundcard IQaudIODAC to populate. Done (1). Waiting for network... No network found! Done (52). Checking for PCM input card... Done. Starting Openssh server... Done. Starting Squeezelite and/or Shairport-sync... [ INFO ] Starting Squeezelite player: Squeezelite... Done. Auto set timezone settings, can be updated on tweaks page... There was a problem reaching sites for automatic timezone, please set manually on tweaks page. Starting httpd web server... Done. Setting CPU scaling governor to ondemand... Done. Creating static footer... Done. Finished piCorePlayer v6.0.0-b7 startup. To setup piCorePlayer, use the web interface via a browser: Press [Enter] to access console. In the background, ntpd is syncing time between piCorePlayer and the internet. A large offset between 1970 and now is normal. Note: The IP address of the pi is often missing from the boot print out and I still needed to use the beta tab for the full list of sound cards. ronnie :) Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627 View this thread: http://forums.slimdevices.com/showthread.php?t=110727 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] BETA: piCorePlayer6.0.0 - PI4 support
Tried to update a rpi4b (32bit kernel) this Sunday morning. The update failed: Code: [ INFO ] You are currently using piCorePlayer6.0.0-b6 [ INFO ] Boot partition size required: 62000. Boot partition size is: 131072 [ INFO ] Space required for update and extensions: 12000k [ OK ] Free space: 35732k - Required space: 12000k [ INFO ] You are downloading piCorePlayer6.0.0-b7 [ INFO ] PCP_DL=/10.x/armv7/tcz [ OK ] Free space: 35732k - Required space: 12472k [ INFO ] Step 3A. Downloading new kernel modules: alsa-modules net-usb wireless [ INFO ] Downloading: alsa-modules-4.19.80-pcpCore_v8.tcz [ INFO ] Checking MD5 of: alsa-modules-4.19.80-pcpCore_v8.tcz.FAIL [ ERROR ] There was a error downloading alsa-modules-4.19.80-pcpCore_v8.tcz. [ INFO ] Retrying extension alsa-modules-4.19.80-pcpCore_v8.tcz...in 5 seconds. [ INFO ] Downloading: alsa-modules-4.19.80-pcpCore_v8.tcz [ INFO ] Checking MD5 of: alsa-modules-4.19.80-pcpCore_v8.tcz.FAIL [ ERROR ] There was a error downloading alsa-modules-4.19.80-pcpCore_v8.tcz. [ INFO ] Retrying extension alsa-modules-4.19.80-pcpCore_v8.tcz...in 5 seconds. [ INFO ] Downloading: alsa-modules-4.19.80-pcpCore_v8.tcz [ INFO ] Checking MD5 of: alsa-modules-4.19.80-pcpCore_v8.tcz.FAIL [ ERROR ] There was a error downloading alsa-modules-4.19.80-pcpCore_v8.tcz. [ ERROR ] Max retries reached. [ INFO ] Downloading: net-usb-4.19.80-pcpCore_v8.tcz [ INFO ] Checking MD5 of: net-usb-4.19.80-pcpCore_v8.tcz.FAIL [ ERROR ] There was a error downloading net-usb-4.19.80-pcpCore_v8.tcz. [ INFO ] Retrying extension net-usb-4.19.80-pcpCore_v8.tcz...in 5 seconds. [ INFO ] Downloading: net-usb-4.19.80-pcpCore_v8.tcz [ INFO ] Checking MD5 of: net-usb-4.19.80-pcpCore_v8.tcz.FAIL [ ERROR ] There was a error downloading net-usb-4.19.80-pcpCore_v8.tcz. [ INFO ] Retrying extension net-usb-4.19.80-pcpCore_v8.tcz...in 5 seconds. [ INFO ] Downloading: net-usb-4.19.80-pcpCore_v8.tcz [ INFO ] Checking MD5 of: net-usb-4.19.80-pcpCore_v8.tcz.FAIL [ ERROR ] There was a error downloading net-usb-4.19.80-pcpCore_v8.tcz. [ ERROR ] Max retries reached. [ INFO ] Downloading: wireless-4.19.80-pcpCore_v8.tcz [ INFO ] Checking MD5 of: wireless-4.19.80-pcpCore_v8.tcz.FAIL [ ERROR ] There was a error downloading wireless-4.19.80-pcpCore_v8.tcz. [ INFO ] Retrying extension wireless-4.19.80-pcpCore_v8.tcz...in 5 seconds. [ INFO ] Downloading: wireless-4.19.80-pcpCore_v8.tcz [ INFO ] Checking MD5 of: wireless-4.19.80-pcpCore_v8.tcz.FAIL [ ERROR ] There was a error downloading wireless-4.19.80-pcpCore_v8.tcz. [ INFO ] Retrying extension wireless-4.19.80-pcpCore_v8.tcz...in 5 seconds. [ INFO ] Downloading: wireless-4.19.80-pcpCore_v8.tcz [ INFO ] Checking MD5 of: wireless-4.19.80-pcpCore_v8.tcz.FAIL [ ERROR ] There was a error downloading wireless-4.19.80-pcpCore_v8.tcz. [ ERROR ] Max retries reached. I update the kernel on the card and the update suceeded but no sound card was found. Code: Log from Boot after insitu upgrade No sound card found Starting piCorePlayer v6.0.0-b7 startup... Checking for boot files on mmcblk0p1... Trying to mount /dev/mmcblk0p1. ssh file found on mmcblk0p1. newpcp.cfg not found on mmcblk0p1. Setting default piCorePlayer repository... Generating sound card drop-down list... Loading configuration file... Done. Loading pcp-lms-functions... Done. cat: can't open '/proc/asound/cards': No such file or directory Waiting for soundcard ALSA to populate.aplay: device_list:272: no soundcards found... .aplay: device_list:272: no soundcards found... .aplay: device_list:272: no soundcards found... .aplay: device_list:272: no soundcards found... .aplay: device_list:272: no soundcards found... .aplay: device_list:272: no soundcards found... .aplay: device_list:272: no soundcards found... .aplay: device_list:272: no soundcards found... .aplay: device_list:272: no soundcards found... .aplay: device_list:272: no soundcards found... .aplay: device_list:272: no soundcards found... .aplay: device_list:272: no soundcards found... .aplay: device_list:272: no soundcards found... .aplay: device_list:272: no soundcards found... .aplay: device_list:272: no soundcards found... .aplay: device_list:272: no soundcards found... .aplay: device_list:272: no soundcards found... .aplay: device_list:272: no soundcards found... .aplay: device_list:272: no soundcards found... .aplay: device_list:272: no soundcards found... .aplay: device_list:272: no soundcards found... .aplay: device_list:272: no soundcards found... .aplay: device_list:272: no soundcards found... .aplay: device_list:272: no soundcards found... .aplay: device_list:272: no soundcards found... .aplay: device_list:272: no soundcards found... .aplay: device_list:272: no soundcards found...
Re: [SlimDevices: Unix] Changing FLAC settings in custom-convert file disables MP3 in LMS ????
callesoroe wrote: > My Transporter in the Livingroom is configered to use the digital loop > function. It is connected to a Tact digital preamp. To take advantage of > the DSP functions in the Tact, but to use The Transporters DAC as it > sounds better. > So I think this explaines the digital input messages. > > It is the first time I play with custom-convert files(as you can see > from all my silly questions), so if there are others they must come with > plugins. But nothing is changed. > > I have no idea of what UNK is ??? > > I have attached pictures of my installed plugins. UNK is the unknown type when LMS cannot determine from the stream URL, mime, prefix or suffix what is the "type" of the stream/file. Supported types are in types,.conf and various custom-types.conf. It is possible the "wimp://" is the source of the unk - I don't use Tidal but I think Wimp was the old name for Tidal and so plugin still uses wimp prefix. If that is the case it would imply something wrong with Tidal plugin or Tidal access. To move this forward I suggest the following. 1. Delete the problem custom-convert.conf 2. Restart LMS and confirm MP3 handling is OK. 3. Create a new custom-convert.conf which *ONLY* has the "flc flc " lines you want changed.- this is how custom-convert.conf file are supposed to be used - only containing the custom changes. Make sure there is a tab before the "[sox]". The following is all the brand new custom-convert.conf file should contain. Make sure permission and ownership is same as convert.conf Code: flc flc * * [sox] -q -t flac $FILE$ -t flac - 4. Restart LMS and confirm MP3 handling is OK. 5. If MP3 is OK, confirm modified flac handling. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=111218 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Knob - Volume - mouse scroll hack
Roland0 wrote: > 'This' (https://www.nexus0.net/pub/documents/LMS/lms-inputexec/) might > be of interest. >From what I can see that is button/keypress only. The point (for me) is to have the rotation of a traditional volume knob that properly interfaces with the LMS volume setting. Most of the Human Interface Device implementations I could find used a programmed microcontroller to provide a USB interface. I figured that looked like hard work when a mouse scroll wheel already does that! Then I stumbled across this https://19max63.wordpress.com/2016/05/15/tuning-knob-for-sdr/ where someone had connected a standard rotary encoder to a mouse PCB. Tony Wiredcharlie's Profile: http://forums.slimdevices.com/member.php?userid=35115 View this thread: http://forums.slimdevices.com/showthread.php?t=111225 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Changing FLAC settings in custom-convert file disables MP3 in LMS ????
bpa wrote: > Don't worry - that is associated with something else. The type "unk" > has been determined for the last stream/file you are trying to play. > What is it ? What is the DigitalInput Tranporter action ? > > As Peter said there are two instances of the parsing error. The code > skips all lines with "#" at the start - which means these lines are not > being read properly yet other comment lines with # are ignored > correctly. There is something about the line terminator. This feels > like an editor problem but the custom-convert.conf file posted works OK > on my Ubuntu system > > Initially I see three possibilities. > 1. The file being edited /posted is not the one actual being used > (.e.g another custom-convert.conf left in some other subfolder will take > precedent) > 2. The standard Perl line terminator is being changed while files is > being read. > 3. LMS Code is somehow corrupted > > I think start with 1 - find all convert.conf and custom-convert.conf > files in the Plugins, Slim and Cache directories and all sub folders. > > edit: > I should double check again the posted custom-convert.txt file - just to > be sure. My Transporter in the Livingroom is configered to use the digital loop function. It is connected to a Tact digital preamp. To take advantage of the DSP functions in the Tact, but to use The Transporters DAC as it sounds better. So I think this explaines the digital input messages. It is the first time I play with custom-convert files(as you can see from all my silly questions), so if there are others they must come with plugins. But nothing is changed. I have attached pictures of my installed plugins. +---+ |Filename: plugins2.jpg | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=28579| +---+ Callesoroe Living room: Transporter, Tact RCS 2.2X digital preamp, Martin Logan Vista speakers, AMPS(Icepower): Acoustic Reality Ear Enigma PLUS(PANELS), Acoustic Reality Ear TWO MKII(Bas) Kitchen: Transporter - Prodipe Pro 5 active bi-amp speakers. Bedroom: Receiver+UE boombox, Kids: Receiver+Active speakers, Guestroom: Touch - Bencmark DAC1, JBL LSR305 active speakers , TIDAL HIFI flac streaming. http://www.last.fm/user/callesoroe callesoroe's Profile: http://forums.slimdevices.com/member.php?userid=22693 View this thread: http://forums.slimdevices.com/showthread.php?t=111218 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix