[SlimDevices: SqueezeCenter] QLogitechMediaServer 2.21 not supportet by QTS 4.5 anymore - any solutions?
hello everyone! since the last update of qts to version 4.5.1.1.1480 (08.11.2020) the qlms process is automatically terminated every 3 hours. The cause is a missing signature. The same problem occurs with many other popular packages like servioo eg. This is very annoying. Is there possibly a solution? If not, then the update to 4.5.1.1 must not be installed! You lose all unofficial software! Best regards Theo theobald's Profile: http://forums.slimdevices.com/member.php?userid=70901 View this thread: http://forums.slimdevices.com/showthread.php?t=113225 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] How to return path of playing item?
Using a playlist is a good idea. Here's a python script which reads all tracks from a LMS playlist, runs a replace on the path name, and executes a local command with the paths as an argument: Code: #!/usr/bin/env python3 import urllib.request from urllib.parse import urlparse from urllib.parse import unquote import json, subprocess pls_name = "bad tags" url = "http://lms:9000/jsonrpc.js; path_server = "/data/music" path_client = "/data/client" exec_cmd = ["tageditor"] headers = { 'Content-Type': 'application/json'} req = urllib.request.Request(url, json.dumps( {"id":1, "method":"slim.request", "params": ["-", ["playlists", 0, 1, "search:"+pls_name]]}).encode('utf-8'), headers) with urllib.request.urlopen(req) as response: result = response.read() res = json.loads(result.decode("utf-8")) if res and 'result' in res and res['result'] and 'playlists_loop' in res['result'] and res['result']['count'] == 1: req = urllib.request.Request(url, json.dumps( {"id":1, "method":"slim.request", "params": ["-", ["playlists", "tracks", 0, 999, "playlist_id:"+str(res['result']['playlists_loop'][0]['id']), "tags:u"]]}).encode('utf-8'), headers) with urllib.request.urlopen(req) as response: result = response.read() res = json.loads(result.decode("utf-8")) if res and 'result' in res and res['result'] and 'playlisttracks_loop' in res['result']: alltracks = exec_cmd for track in res['result']['playlisttracks_loop']: alltracks.append( unquote( urlparse( track['url']).path).replace( path_server, path_client)) cp = subprocess.run( alltracks, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) if cp.returncode != 0: print("Error: exec failed rc:{}\noutput:\n{}".format( cp.returncode, repr( cp))) else: print("Error: failed to get tracks for playlist {})".format( res['result']['playlists_loop'][0]['id'])) else: print("Error: playlist {} not found (result: {})".format( pls_name, repr( res))) note: adapt the values of the first 5 variables to your local setup 'Various SW' (https://www.nexus0.net/pub/sw/): Web Interface | TUI | Playlist Editor / Generator | Music Classification | Similar Music | Announce | EventTrigger | Chiptunes | 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=113145 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Fedora 31+ Support
davidfox2116 wrote: > Download the latest .rpm from nightly builds. Install manually. I've > been doing this for quite a while. The only problem I have is if I > upgrade Fedora and there is a new Perl version released before it is > supported. by the nightly builds There is a thread below on this very > topic. I usually test out the latest Fedora on my backup laptop. I > check if there is a Perl versioning problem. If so I check the nightly > downloads until the problem is addressed. Only then do I upgrade my > music server to the latest Fedora. Ok, so I came here after googling around for a bit. I just upgraded my server to Fedora 33, and squeezebox (logitechmediaserver) no longer works. I get this from systemctl status logitechmediaserver: Code: systemd[1]: Starting LSB: Startup script for the Logitech Media Server... runuser[29852]: pam_unix(runuser:session): session opened for user squeezeboxserver(uid=978) by (uid=0) squeezeboxserver[29843]: Starting Squeezebox Server: squeezeboxserver[29854]: The following CPAN modules were found but cannot work with Logitech Media Server: squeezeboxserver[29854]: Image::Scale (loaded 0.08 but missing object file, need 0.08) squeezeboxserver[29854]: XML::Parser: squeezeboxserver[29854]: Parser.pm and Expat.pm versions don't match at /usr/share/squeezeboxserver/CPAN/XML/Parser.pm line 20. squeezeboxserver[29854]: BEGIN failed--compilation aborted at /usr/share/squeezeboxserver/CPAN/XML/Parser.pm line 22. squeezeboxserver[29854]: Compilation failed in require at (eval 102) line 1. squeezeboxserver[29854]: BEGIN failed--compilation aborted at (eval 102) line 1. squeezeboxserver[29854]: To fix this problem you have several options: squeezeboxserver[29854]: 1. Install the latest version of the module(s) using CPAN: sudo cpan Some::Module squeezeboxserver[29854]: 2. Update the module's package using apt-get, yum, etc. squeezeboxserver[29854]: 3. Run the .tar.gz version of Logitech Media Server which includes all required CPAN modules. runuser[29852]: pam_unix(runuser:session): session closed for user squeezeboxserver I tried messing around with manually installing perl modules by dnf, but it didn't work out. Also, with the "cpan" command, it didn't work out for me. Is my only option just to wait until the nightlies are in sync with F33? No more music for my family :'(. I'm not sure if I want to go down the road of compiling from the source... squim's Profile: http://forums.slimdevices.com/member.php?userid=68616 View this thread: http://forums.slimdevices.com/showthread.php?t=113167 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] QLogitechMediaServer for Qnap with QTS 4.2 or higher and x86_64/I686/X86 support !
Kingpin wrote: > "how" do i install the QLogitechMediaServer on my TS-128A ? > I downloaded ALL packages ... none will install it, it keeps saying that > it's not compatible with my nas. Only 86/i*86/X86_64/arm5te/armhf/aarch64/arm_64 architectures are compatible with the package, AFAIK the QNAP TS-128A mount a Realtek RTD1295 CPU which is an ARM V8 architecture thus not supported. I refer to the package one you can find on the (un)official app store here: https://www.qnapclub.eu/en/qpkg/545 'QNAP Club Italy' (www.qnapclub.it) - "When the Boogeyman goes to sleep every night, he checks his closet for Chuck Norris." lucas72's Profile: http://forums.slimdevices.com/member.php?userid=11288 View this thread: http://forums.slimdevices.com/showthread.php?t=108702 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] How to return path of playing item?
If its of any use/value to anyone, I'm happy to share my "lms" Perl program that I posted about earlier in this thread. It is either command line, or works with the macOS app Alfred, but it allow simple command line control / query. The commands are table-drive, so its easy to add new ones. The Alfred portion of the code is only activated when called with the --alfred option, so it can be ignored on Windows or Linux. See post #3. MrC's Profile: http://forums.slimdevices.com/member.php?userid=468 View this thread: http://forums.slimdevices.com/showthread.php?t=113145 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] QLogitechMediaServer for Qnap with QTS 4.2 or higher and x86_64/I686/X86 support !
digimaster wrote: > * > > For those of you, having trouble. And dont know what to do. > I try to explain them here !;) > Next time, will gone try and explain the .QLMS.conf file and options ! > === > The big messages explanation. > > On installation ; > > ( is not supported on this QNap system, because is missing chroot to > run !) > [ Means the chroot command can be found, which is needed to run LMS ! > > (You're trying to install the wrong version for QLogitechMediaServer, it > needs the ??? version! ) > [ Means or you trying to install the wrong arch version, or you're > archs/cpu is not support ! ] > > { logon to you're QNap nas-system by ssh shell, the do uname -m and look > at the output. > With arm5tej or arm5tejl, try the TS-ARM-X09/TS-ARM-X19 version. > armv7/armhf you should try the TS-X41 version. > arm_64/aarch64 you should try the TS-X28A version. ( you could also try > the TS-X41 version lower memory uses ) > i*86 uses the TS-NASX86 version. > x86_64 uses the TS-NASX86 64BITS version. ( you could also try the > TS-NASX86 version. ( lower memory uses ) > } > * You're cpu/arch not available, send me pm with the outcome of uname > -m. Then i will look if it can be made ! > > ( QLogitechMediaServer is missing, the file-system root ! ) or ( The > source is not complet or corrupted, can use this copie of > QLogitechMediaServer !) > [ The chroot/file-system is missing in the installation file. Try > downloading a new copy, and install that one! ] > * remember only download from the Qnap club store, to be sure you got a > proper installation file. > > On running/startup of the Services ; > > ( Important files are missing, please reinstall QLogitechMediaServer ! > ) > [ Very important files are missing, or the directory .config/ is > missing/deleted ! ] > Those are needed to run the LMS services, please try to reinstall > QLogitechMediaServer !. > > ( QLogietchMediaServer is already running on [] ! ) > [ You try to start LMS, but its already running ! ] > Check the webgui, otherwise try ./QLogitechMediaServer restart ! > > ( The QLogitechMediaServersource, not connected ! ) > [ The preparation to run LMS in chroot, are not handled proper ! ] > Before LMS can run in chroot, there are several directory's mounted in > the chroot file-system. This tells you thats not done proper. > Try ./QLogitechMediaServer restart, otherwise have a good look, on the > layout of the directories under ./share ! > > ( QLogitechMediaServer is disabled in the appstore, or is not installed > ! ) > [ Check in QNap app center, if QLogitechMediaServer is there, and > enabled ! ] > > ( Missing the QLogitechMediaServer LMSROOT source, can't run the > service's ! ) > [ The chroot/file-system is missing, check if the directory > .config/LMSROOT. If its there, try restart. otherwise reinstall qpkg > file ! ] > > ( Slimserver.pl is missing or corrupted, check if it's present in the > ${QPKG_ROOT}/SlimServer directory! ) > [ As messages says, missing SlimServer/slimserver.pl or corrupted. Try > restart, otherwise do rm SlimServer/.INSTALLED in > .qpkg/LogitechMediaServer directory ! ] > > ( Something went wrong, check the QLogitechMediaServer.log and the > QLogitechMediaServer.log.err to find the error ) > [ Both logs can be found in .qpkg/LogitechMediaServer. Read them > carefully, they show a lot on info, why LMS can't be started !] > If you can't solve it, send them to me with info like what model from > QNap, which version of QTS and the outcome of uname -m > > ( Can't find /var/run/dbus, please fix error and restart ! ) > [ As stated please restart you're QNap nas-system, and try again ] > The avahi services is not available, or not started needed by LMS to > work ! > > ( Fixed Ownership after crashes of LMS! ) > [ There was a crash when LMS was started, due to a ownership issue from > something in the SlimServer/ directory, but has been fixed and LMS > started !] > This mostly comes when one copies old settings from other LMS > installation ! > > ( Failsafe mode active there will be no plugins load ! ) > [ The failsafe modes is actieve, plugins are not loaded !] > Was started with failsafe, or in the .QLMS.conf file failsafe was set or > in the .qpkg/LogitechMediaServer directory there is the file .FAILSAFE > ! > Please remember any control file like, .FAILSAFE .UPDATE .NIGHTLY a.m > override the option set in .QLMS.conf or on cli ! > > ( No good release found on the website, you will have to supply one > manually! ) > [ Could not find a proper lms.tar file on the website, or there is no > Internet connection ] > Download latest version, and put it in the download share of you're > QNap. ( always download the Tarball (i386, x86_64, i386 FreeBSD, ARM > EABI, PowerPC). > Them do a restart, so QLogitechMediaServer can find and install it. > If will then also fix the auto update, if version numbers are changed. ( > like 7.9.2 to 7.9.6 ) > > ( There
Re: [SlimDevices: SqueezeCenter] How to return path of playing item?
If what you want to do is simply capture the path of the *currently-playing song* rather than one randomly clicked on in the LMS GUI, a tiny perl script like this Code: #!/usr/bin/perl use JSON::RPC::Client; use JSON::XS; no warnings 'uninitialized'; $client = new JSON::RPC::Client; $res = $client->call( "http://192.168.1.10:9000/jsonrpc.js;, { method => 'slim.request', params => [ '00:04:20:11:22:33', ['status', '-', '1', 'tags:u' ]]}); if ($res->is_success) { $response=$res->jsontext; $jdata=decode_json $response; $json = JSON::XS->new->pretty(1)->canonical(1)->encode($jdata); print "$json\n"; } will produce output like this Code: { "method" : "slim.request", "params" : [ "00:04:20:11:22:33", [ "status", "-", "1", "tags:u" ] ], "result" : { "can_seek" : 1, "digital_volume_control" : 1, "duration" : 348.455, "mixer bass" : "0", "mixer treble" : "0", "mixer volume" : 19, "mode" : "play", "player_connected" : 1, "player_ip" : "192.168.1.13:37256", "player_name" : "Office", "playlist mode" : "off", "playlist repeat" : 2, "playlist shuffle" : 0, "playlist_cur_index" : "10", "playlist_loop" : [ { "id" : 719006, "playlist index" : 10, "title" : "Alone Tonight (Above & Beyond's Club Mix Mixed)", "url" : "file:///volume1/music/served/Trance/Super8%20&%20Tab/Super8%20&%20Tab%20-%2020%20Years%20of%20Anjunabeats/1-11%20[A%20&%20B]%20Alone%20Tonight%20(Above%20&%20Beyond%27s%20Club%20Mix%20Mixed).flac" } ], "playlist_timestamp" : 1605272315.77755, "playlist_tracks" : 39, "power" : 1, "rate" : 1, "seq_no" : 0, "signalstrength" : 0, "time" : 26.7784540042877 } } which contains the path information in the *url *field. No need to go near the LMS GUI for this info, just grab it using the jsonrpc.js API. This example is perl but I've done it in python, bash and nodejs too. Just sayin'... philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=113145 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Scanning problem after a recent 8.0.0 update
This is from LMS left hand pane: 32150 Character set (or locale) Doesn't mind acute but it does mind caron. +---+ |Filename: Capture.JPG | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=32150| +---+ *Music Store and VPN Server: *Synology DS215J NAS* Study Player:* Pi 3B pCp 6.1.0/IQ Audio DAC+ *Study Server:* Pi 4 pcp 7.0.0 (beta) *Refurbished 1962 RCA Stereo Console Player *LMS 7,9.3 on Pi 4B pCp 6.1.0/IQ Audio DAC+ *Headphone & Streamer Players: x3:* pCp 6.1.0 on Pi 3B /IQ Audio DAC+ *Homeplug/LAN Players: x2: *Squeezelite on Windows 10 PC. *VPN Mobile & Car Player:* Material/SqueezePlayer on Android Phone ian_heys's Profile: http://forums.slimdevices.com/member.php?userid=2629 View this thread: http://forums.slimdevices.com/showthread.php?t=113194 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Scanning problem after a recent 8.0.0 update
Copied from other thread: Just did an artist search on the term "Dvoák" on both systems and the one the complete track list had 85 more tracks than the one with the missing tracks accounting for almost all of them. So it looks like there's definitely a character set issue. I corrected the filenames with apostrophe problems and all those came back - but why does the first system not complain? *Music Store and VPN Server: *Synology DS215J NAS* Study Player:* Pi 3B pCp 6.1.0/IQ Audio DAC+ *Study Server:* Pi 4 pcp 7.0.0 (beta) *Refurbished 1962 RCA Stereo Console Player *LMS 7,9.3 on Pi 4B pCp 6.1.0/IQ Audio DAC+ *Headphone & Streamer Players: x3:* pCp 6.1.0 on Pi 3B /IQ Audio DAC+ *Homeplug/LAN Players: x2: *Squeezelite on Windows 10 PC. *VPN Mobile & Car Player:* Material/SqueezePlayer on Android Phone ian_heys's Profile: http://forums.slimdevices.com/member.php?userid=2629 View this thread: http://forums.slimdevices.com/showthread.php?t=113194 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Scanning problem after a recent 8.0.0 update
slartibartfast wrote: > What does the Scanner log show? > > Sent from my Pixel 3a using Tapatalk Just carried out a scan - looks normal to me but it is 119 tracks fewer than when scanned by my other LMS: [20-11-13 14:45:44.4418] main::main (206) Starting Logitech Media Server scanner (v8.0.0, 1605166211, Thu Nov 12 09:01:57 CET 2020) perl 5.032000 [20-11-13 14:45:44.8667] Slim::Music::Import::runImporter (577) Starting Slim::Media::MediaFolderScan scan [20-11-13 14:45:44.8672] Slim::Utils::Scanner::Local::rescan (179) Discovering audio files in /mnt/SynoMusic/Music [20-11-13 14:46:01.6748] Slim::Utils::Scanner::Local::__ANON__ (191) Start processing found tracks [20-11-13 14:46:01.6755] Slim::Utils::Scanner::Local::__ANON__ (199) Connect do DB [20-11-13 14:46:01.6759] Slim::Utils::Scanner::Local::__ANON__ (202) Get latest ID [20-11-13 14:46:01.6766] Slim::Utils::Scanner::Local::__ANON__ (224) Delete temporary table if exists [20-11-13 14:46:01.6771] Slim::Utils::Scanner::Local::__ANON__ (227) Re-build temporary table [20-11-13 14:46:01.7362] Slim::Utils::Scanner::Local::__ANON__ (276) Get deleted tracks count [20-11-13 14:46:01.7366] Slim::Utils::Scanner::Local::__ANON__ (283) Get new tracks count [20-11-13 14:46:01.7371] Slim::Utils::Scanner::Local::__ANON__ (288) Get changed tracks count [20-11-13 14:46:01.7374] Slim::Utils::Scanner::Local::deleteTracks (519) Removing deleted audio files (0) [20-11-13 14:46:01.7377] Slim::Utils::Scanner::Local::__ANON__ (301) Scanning new audio files (14744) [20-11-13 14:52:21.2906] Slim::Utils::Scanner::Local::__ANON__ (381) Rescanning changed audio files (0) [20-11-13 14:52:21.2912] Slim::Music::Import::endImporter (710) Completed Slim::Media::MediaFolderScan Scan in 396 seconds. [20-11-13 14:52:21.2919] Slim::Music::Import::runImporter (577) Starting Slim::Music::PlaylistFolderScan scan [20-11-13 14:52:21.2940] Slim::Utils::Scanner::Local::rescan (179) Discovering audio files in /mnt/SynoMusic/Music/Playlists [20-11-13 14:52:21.3554] Slim::Utils::Scanner::Local::__ANON__ (191) Start processing found tracks [20-11-13 14:52:21.3558] Slim::Utils::Scanner::Local::__ANON__ (199) Connect do DB [20-11-13 14:52:21.3561] Slim::Utils::Scanner::Local::__ANON__ (202) Get latest ID [20-11-13 14:52:21.3567] Slim::Utils::Scanner::Local::__ANON__ (224) Delete temporary table if exists [20-11-13 14:52:21.3571] Slim::Utils::Scanner::Local::__ANON__ (227) Re-build temporary table [20-11-13 14:52:21.4377] Slim::Utils::Scanner::Local::__ANON__ (276) Get deleted tracks count [20-11-13 14:52:21.4380] Slim::Utils::Scanner::Local::__ANON__ (283) Get new tracks count [20-11-13 14:52:21.4385] Slim::Utils::Scanner::Local::__ANON__ (288) Get changed tracks count [20-11-13 14:52:21.4387] Slim::Utils::Scanner::Local::deleteTracks (519) Removing deleted audio files (0) [20-11-13 14:52:21.4390] Slim::Utils::Scanner::Local::__ANON__ (301) Scanning new audio files (0) [20-11-13 14:52:21.4392] Slim::Utils::Scanner::Local::__ANON__ (381) Rescanning changed audio files (0) [20-11-13 14:52:21.4396] Slim::Music::Import::endImporter (710) Completed Slim::Music::PlaylistFolderScan Scan in 0 seconds. [20-11-13 14:52:21.4938] Slim::Music::Artwork::precacheAllArtwork (659) Starting precacheArtwork for 1227 albums [20-11-13 14:54:28.9995] Slim::Music::Artwork::__ANON__ (810) precacheArtwork finished in 127.49734711647 [20-11-13 14:54:29.] Slim::Music::Import::endImporter (710) Completed precacheArtwork Scan in 127 seconds. [20-11-13 14:54:29.0026] Slim::Music::Import::runScanPostProcessing (479) Starting Database optimization. [20-11-13 14:54:43.7874] Slim::Music::Import::endImporter (710) Completed dbOptimize Scan in 14 seconds. *Music Store and VPN Server: *Synology DS215J NAS* Study Player:* Pi 3B pCp 6.1.0/IQ Audio DAC+ *Study Server:* Pi 4 pcp 7.0.0 (beta) *Refurbished 1962 RCA Stereo Console Player *LMS 7,9.3 on Pi 4B pCp 6.1.0/IQ Audio DAC+ *Headphone & Streamer Players: x3:* pCp 6.1.0 on Pi 3B /IQ Audio DAC+ *Homeplug/LAN Players: x2: *Squeezelite on Windows 10 PC. *VPN Mobile & Car Player:* Material/SqueezePlayer on Android Phone ian_heys's Profile: http://forums.slimdevices.com/member.php?userid=2629 View this thread: http://forums.slimdevices.com/showthread.php?t=113194 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Scanning problem after a recent 8.0.0 update
ian_heys wrote: > Missing from previous postWhat does the Scanner log show? Sent from my Pixel 3a using Tapatalk slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609 View this thread: http://forums.slimdevices.com/showthread.php?t=113194 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] How to return path of playing item?
RobbH wrote: > I think what's impossible is building this functionality into LMS so > that it would "just work" out of the box. There are too many factors > that LMS cannot be expected to know. > > If the Linux box running LMS has the command line utility Squeezy > installed, and Python, along with the urllib module, it should be > possible to set up a command to do the necessary conversion. > > For instance, if the music library is mounted on the Linux box as > /home/myname/Music_collection/ and Windows sees the Samba share as > F:\Music\, the following command on the Linux box will translate the > path of the currently playing file to the right format for Windows: > > > Code: > > python2 -c "import urllib, sys; print urllib.unquote(sys.argv[1])" "$(squeezy -a -playing | grep path | awk -F'///' '{print $2}' | sed -e s?'home/myname/Music_collection'?'F:/Music'? )" | tr '/' '\\' > > > > output: F:\Music\Alphabetical\W\Wynton Marsalis\Standard Time\5-12 - > The Midnight Blues.mp3 > > If what's wanted is the path to the directory, without the file name, > this will work: > > > Code: > > dirname "$(python2 -c "import urllib, sys; print urllib.unquote(sys.argv[1])" "$(squeezy -a -playing | grep path | awk -F'///' '{print $2}' | sed -e s?'home/myname/Music_collection'?'F:/Music'? )")" | tr '/' '\\' > > > > output: F:\Music\Alphabetical\W\Wynton Marsalis\Standard Time > > This assumes that the track to be edited is playing on my > "All-players" sync group, which squeezy identifies as player 'a', the > first parameter in its command. > > I don't know anything about VB Script, but I'm guessing there is a way > to set up a script to run by clicking on a desktop shortcut, and that > there is some way to automate a remote session in ssh, returning the > value of the final output. > > Is this really feasible or even worth the trouble? That's not for me > to say! Gulp! This looks as if it's definitely worth looking into and I can see that it'll require me to get yet another entire education and read even more head-scratching Arch Linux documentation. I'll let you know how it goes if and when I start delving into it! ___ Logitech Media Server Version: 8.0.0 - ARCH-AUR-GIT.20200807.1a544e3 running on Wandboard Quad, music library on USB HDD Squeezebox Touch plugged into run-of-the-mill stereo rig via Musical Fidelity X-Act, extra speakers in kitchen, basement, and bedroom connected by ordinary (not unidirectional) copper wire. Lestrad's Profile: http://forums.slimdevices.com/member.php?userid=40857 View this thread: http://forums.slimdevices.com/showthread.php?t=113145 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] How to return path of playing item?
d6jg wrote: > Sorry with hindsight I recognise that was controversial / unhelpful. > > To achieve what you need to do I use the Playlist Manager plugin and > when I find a track with bad tags etc I add it to the "Bad Tags" or "Bad > Cover" playlist and then periodically open those playlists in Notepad++ > in one window while using file explorer and mp3tag in others. I still > have to translate the Linux path to Windows and yes I could write a > routine for Notepad++ that would do it for me but I don't have very many > bad tags these days! > > Enjoy your sausage! Hey, thanks! I need to look into that. It sounds as if it might be within my grasp. I may be able to convert the paths in the playlists and then open them in Foobar, and I can do the tagging from there. I'm reading the documentation on the plug-in now. Thanks again. PS I wish I could say I never run into a bad tag. Here's my favorite one, the Genre tag from a Mississippi Fred McDowell song: 556904 Styles - Jazz - Bestsellers 557266 Styles - Blues - Bestsellers 557270 Styles - Blues - Delta & Country Blues 696470 Styles - Music Bargains for £7.99 & Under - Blues - £6.00 - £7.99 696484 Styles - Music Bargains for £7.99 & Under - Jazz - £6.00 - £7.99 692 Substores - Used Music - Blues - Delta & Country Blues ___ Logitech Media Server Version: 8.0.0 - ARCH-AUR-GIT.20200807.1a544e3 running on Wandboard Quad, music library on USB HDD Squeezebox Touch plugged into run-of-the-mill stereo rig via Musical Fidelity X-Act, extra speakers in kitchen, basement, and bedroom connected by ordinary (not unidirectional) copper wire. Lestrad's Profile: http://forums.slimdevices.com/member.php?userid=40857 View this thread: http://forums.slimdevices.com/showthread.php?t=113145 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Scanning problem after a recent 8.0.0 update
Missing from previous post +---+ |Filename: Scan 2.JPG | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=32149| +---+ *Music Store and VPN Server: *Synology DS215J NAS* Study Player:* Pi 3B pCp 6.1.0/IQ Audio DAC+ *Study Server:* Pi 4 pcp 7.0.0 (beta) *Refurbished 1962 RCA Stereo Console Player *LMS 7,9.3 on Pi 4B pCp 6.1.0/IQ Audio DAC+ *Headphone & Streamer Players: x3:* pCp 6.1.0 on Pi 3B /IQ Audio DAC+ *Homeplug/LAN Players: x2: *Squeezelite on Windows 10 PC. *VPN Mobile & Car Player:* Material/SqueezePlayer on Android Phone ian_heys's Profile: http://forums.slimdevices.com/member.php?userid=2629 View this thread: http://forums.slimdevices.com/showthread.php?t=113194 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Android APP problems, the app is asking for aif files when flac file is selected.
Hi all, This year I moved form my old (2009) Synology NAS to a QNAP TS-453Be. For my two Squeezebox Touch's I installed LMS 7.9.3 in a container without much problems. I also have a Denon AVR 3313 and it connects to the LMS server via DLNA. Somehow the Denon will not play FLAC files natively but it will play a transcode MP3 file. I have a simple solution for this which I will describe below. I can see that the Denon does not play FLAC files as FLAC by when connecting my Denon to my TV. Here it shows the file type played is not FAC but MP3 320 Kbps. The Denon clearly asks the LMS to transcode the FLAC to MP3 while it capable to playing FLAC through it's internal DAC. After analyzing it (years back) I found the cause to be that the LMS server stores the native file type (FLC) as well as other type ( IAF, MP3) in the UPnP database. To resolve this I made a small change to the LMS code (Utils.pm) to prevent the "other types" to be placed in the UPnP database so only one entry, the FLAC file, remains. Now my Denon will play FLAC files from the LMS serve. For anyone who ran into the same problem here is how to resolve it. 1 ) On the QNAP container locate the folder /usr/share/perl5/Slim/Plugin/UPnP/Common 2 ) The code on line 238 pushes the files into the UPnP database for my $type ( $native_type, @other_types ) { 3 ) Replace this line of code by the following one to only push the native file type for my $type ( $native_type ) { 4 ) now the only file that is pushed is the native file type. For Flac this is Flac and MP3 this is MP3. 5 ) restart the LMS container and you are done. 6 ) Check the result on your TV, it should now show that the Denon AVR is playing FLAC instead of MP3 This change will also work on Synology NAS's and probably works for other Denon and Marantz AVR's other than the AVR 3313. To check your UPNP database. 1 ) View UPnP database entries, for this use "Developer Tools for UPnP Technology", "AV Media Controller.exe" 2 ) on DS209 it showed 2 entries; FLC and MP3 3 ) on QNAP it showed 3 entries; FLC, AIF and MP3 4 ) Denon AVR 3313 will (somehow) select the IAF/MP3 instead of the FLC file 5) Utils.pm builds the UPnP database, adding a FLC file, followed by an AIF and MP3 file 6 ) By only storing the $native_type in the UPnP database the Denon plays FLAC files 7 ) This is done by updating the file Utils.pm 8 ) I stored a copy of the file Utils.pm in the shared folder /mnt/state/etc/ so I could edit it from within windows 9 ) followed by copying it to the right location on QNAP by the following command cp /mnt/state/etc/Utils.pm /usr/share/perl5/Slim/Plugin/UPnP/Common cat /usr/share/perl5/Slim/Plugin/UPnP/Common/Utils.pm 10) The cat command checks that the copy step was done successfully So if your AVR does not play FLAC files as FLAC, this might be the solution. emklap's Profile: http://forums.slimdevices.com/member.php?userid=60103 View this thread: http://forums.slimdevices.com/showthread.php?t=9 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Out of date repos
All died thanks BPA ianf's Profile: http://forums.slimdevices.com/member.php?userid=2602 View this thread: http://forums.slimdevices.com/showthread.php?t=113223 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Scanning problem after a recent 8.0.0 update
I'm also having scanning issues with latest 8.0.0 on pCp 7 please see: https://forums.slimdevices.com/showthread.php?113199-piCorePlayer-7-0-0-Public-Beta=994410=1#post994410 I've cleaned up the bad file names in the second log and the tracks are now seen, but there are still 119 tracks missing and no issues in the log. It looks a bit like the old ascii/utf8 issue but what do I know. *Music Store and VPN Server: *Synology DS215J NAS* Study Player:* Pi 3B pCp 6.1.0/IQ Audio DAC+ *Study Server:* Pi 4 pcp 7.0.0 (beta) *Refurbished 1962 RCA Stereo Console Player *LMS 7,9.3 on Pi 4B pCp 6.1.0/IQ Audio DAC+ *Headphone & Streamer Players: x3:* pCp 6.1.0 on Pi 3B /IQ Audio DAC+ *Homeplug/LAN Players: x2: *Squeezelite on Windows 10 PC. *VPN Mobile & Car Player:* Material/SqueezePlayer on Android Phone ian_heys's Profile: http://forums.slimdevices.com/member.php?userid=2629 View this thread: http://forums.slimdevices.com/showthread.php?t=113194 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Out of date repos
Much appreciated BPA bpa wrote: > The up to date BBCiPlayer repos is > > http://bpa-code.github.io/bpaplugins/betarelease-repo.xml > > > If you use BBC Sounds check out the BBC Sounds plugin from the 3rd party > - you need to register on BBC Sounds website. > https://forums.slimdevices.com/showthread.php?113045-Announce-BBC-Sounds-Plugin ianf's Profile: http://forums.slimdevices.com/member.php?userid=2602 View this thread: http://forums.slimdevices.com/showthread.php?t=113223 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Out of date repos
The up to date BBCiPlayer repos is http://bpa-code.github.io/bpaplugins/betarelease-repo.xml If you use BBC Sounds check out the BBC Sounds plugin from the 3rd party - you need to register on BBC Sounds website. https://forums.slimdevices.com/showthread.php?113045-Announce-BBC-Sounds-Plugin bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=113223 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] How to return path of playing item?
d6jg wrote: > > > To achieve what you need to do I use the Playlist Manager plugin and > when I find a track with bad tags etc I add it to the "Bad Tags" or "Bad > Cover" playlist and then periodically open those playlists but I > don't have very many bad tags these days! +1 :) 32148 +---+ |Filename: badtags.jpg | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=32148| +---+ *Server - LMS 8.0.0 *Pi4B 4GB/Flirc case/pCP v7.0.0b6 - 74K library, playlists & LMS cache on SSD (ntfs) *Study -* Pi3B/pCP 6.1.0/pi screen/Allo Boss DAC Ruark MR1 Mk2 *Lounge* - Pi2/pCP 6.0.0 > HiFiBerry DIGI+ > AudioEngine DAC1 > AVI DM5 *Garage* - Squeezebox Boom + Fostex sub *Dining Room* - Squeezebox Radio *Spares* - 2xTouch, 1xSB3, 7xRPi kidstypike's Profile: http://forums.slimdevices.com/member.php?userid=10436 View this thread: http://forums.slimdevices.com/showthread.php?t=113145 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Out of date repos
ianf wrote: > Hi > Ive got this message above the external repos bit on the LMS plugin > page > Im running LMS on a Pi, > Ive external repos for BBC iPlayer plugins > OUT OF DATE *** - use betarelase-repo.xml to get latest 1.6.2 , 2.0.2 - > esp Windows fix > Enable > Name: > Description > Author > > Regards Ian Change the repo for the one it refers to. You can find it in the iPlayer thread. Sent from my Pixel 3a using Tapatalk slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609 View this thread: http://forums.slimdevices.com/showthread.php?t=113223 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
[SlimDevices: SqueezeCenter] Out of date repos
Hi Ive got this message above the external repos bit on the LMS plugin page Im running LMS on a Pi, Ive external repos for BBC iPlayer plugins OUT OF DATE *** - use betarelase-repo.xml to get latest 1.6.2 , 2.0.2 - esp Windows fix Enable Name: Description Author Regards Ian ianf's Profile: http://forums.slimdevices.com/member.php?userid=2602 View this thread: http://forums.slimdevices.com/showthread.php?t=113223 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] How to return path of playing item?
Lestrad wrote: > Thanks! Neither of those is a problem - I can convert any path if I can > capture itn provided it's predictable. And I could open the actual Linux > path, once converted, very easily in Windows since Samba now works in > Arch Linux. > > As for the use case, it may seem marginal to you but it's of vital > importance to me - even more that who ends up being Leader of the Free > World and only slightly less than what's for lunch today (lentils with > Diot de Savoie sausage) ;-) Sorry with hindsight I recognise that was controversial / unhelpful. I meant (as someone else pointed out) that this could never be included inside LMS as everybody's file paths on Linux/Mac and Samba will be different. If you know what they both are in your environment then of course you can use some tool to find and replace a Linux path to a Samba one. I still think its a marginal use case for inclusion in LMS as a function for all and I don't actually believe it would be possible. To achieve what you need to do I use the Playlist Manager plugin and when I find a track with bad tags etc I add it to the "Bad Tags" or "Bad Cover" playlist and then periodically open those playlists in Notepad++ in one window while using file explorer and mp3tag in others. I still have to translate the Linux path to Windows and yes I could write a routine for Notepad++ that would do it for me but I don't have very many bad tags these days! Enjoy your sausage! VB2.4[/B] STORAGE *QNAP TS419P (NFS) [B]Living Room* - Joggler & SB3 -> Onkyo TS606 -> Celestion F20s *Office* - Pi3+Sreen -> Sony TAFE320 -> Celestion F10s / Pi2+DAC & SB3 -> Onkyo CRN755 -> Wharfedale Modus Cubes *Dining Room* -> SB Boom *Kitchen* -> UE Radio (upgraded to SB Radio) *Bedroom (Bedside)* - Pi2+DAC ->ToppingTP21 ->AKG Headphones *Bedroom (TV)* - SB Touch ->Sherwood AVR ->Mordaunt Short M10s Everything controlled by iPeng d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051 View this thread: http://forums.slimdevices.com/showthread.php?t=113145 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] How to return path of playing item?
d6jg wrote: > This is impossible. > Firstly youd have to be able to convert absolute Linux & Mac paths to > relative ones that Windows might understand and these could be very > different from one user to another. Second what would you do about the > file permissions and credentials needed for a Windows user to access > *nix folders and what if samba is not installed on the *nix machine? > You might get it to work in a Windows only environment but surely the > use case is marginal at best. Thanks! Neither of those is a problem - I can convert any path if I can capture itn provided it's predictable. And I could open the actual Linux path, once converted, very easily in Windows since Samba now works in Arch Linux. As for the use case, it may seem marginal to you but it's of vital importance to me - even more that who ends up being Leader of the Free World and only slightly less than what's for lunch today (lentils with Diot de Savoie sausage) ;-) ___ Logitech Media Server Version: 8.0.0 - ARCH-AUR-GIT.20200807.1a544e3 running on Wandboard Quad, music library on USB HDD Squeezebox Touch plugged into run-of-the-mill stereo rig via Musical Fidelity X-Act, extra speakers in kitchen, basement, and bedroom connected by ordinary (not unidirectional) copper wire. Lestrad's Profile: http://forums.slimdevices.com/member.php?userid=40857 View this thread: http://forums.slimdevices.com/showthread.php?t=113145 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter