kodi-community-addons / plugin.audio.squeezebox Goto Github PK
View Code? Open in Web Editor NEWSqueezelite player for Kodi
License: GNU General Public License v2.0
Squeezelite player for Kodi
License: GNU General Public License v2.0
Starting a song on Kodi 18.1 results in a +/- 2 second playback, after which the playback is stopped. Restarting the playback will result in a complete playback.
Adding a song to the playlist will stop playback, so does starting the next song, whether it is chosen or while the previous song has ended. Starting the stopped song again will normally give a complete playback.
In the log it looks like the stops are intended (see below).
2019-04-14 00:03:20.234 T:140335665620736 NOTICE: plugin.audio.squeezebox --> started webproxy at port 51100
2019-04-14 00:03:20.290 T:140334324582144 NOTICE: plugin.audio.squeezebox --> Waiting for mac address...
2019-04-14 00:03:21.290 T:140334324582144 NOTICE: plugin.audio.squeezebox --> Waiting for mac address...
2019-04-14 00:03:22.301 T:140334324582144 NOTICE: plugin.audio.squeezebox --> Detected Mac-Address: e0:69:95:87:d3:f9
2019-04-14 00:03:27.357 T:140334324582144 NOTICE: plugin.audio.squeezebox --> discovery: [{'from': ('192.168.2.10', 3483), 'host': '192.168.2.10', 'data': 'EJSON\x049000', 'port': 9000}]
2019-04-14 00:03:27.373 T:140334324582144 NOTICE: plugin.audio.squeezebox --> LMS server discovered - host: 192.168.2.10 - port: 9000
2019-04-14 00:03:30.142 T:140334324582144 NOTICE: plugin.audio.squeezebox --> Starting Squeezelite binary - Using audio device: default
2019-04-14 00:03:30.167 T:140334324582144 NOTICE: plugin.audio.squeezebox --> Start Monitoring events for playerid e0:69:95:87:d3:f9
2019-04-14 00:03:46.830 T:140334324582144 NOTICE: plugin.audio.squeezebox --> play started by lms server
2019-04-14 00:03:48.152 T:140334324582144 NOTICE: plugin.audio.squeezebox --> playlist changed on lms server
2019-04-14 00:03:49.687 T:140334324582144 NOTICE: plugin.audio.squeezebox --> playback stopped
2019-04-14 00:04:03.414 T:140334324582144 NOTICE: plugin.audio.squeezebox --> play started by lms server
2019-04-14 00:04:51.044 T:140334324582144 NOTICE: plugin.audio.squeezebox --> playlist changed on lms server
2019-04-14 00:04:51.156 T:140334324582144 NOTICE: plugin.audio.squeezebox --> clearing playlist...
2019-04-14 00:04:52.521 T:140334324582144 NOTICE: plugin.audio.squeezebox --> playback stopped
2019-04-14 00:04:56.794 T:140334324582144 NOTICE: plugin.audio.squeezebox --> play started by lms server
2019-04-14 00:06:03.837 T:140334324582144 NOTICE: plugin.audio.squeezebox --> playlist changed on lms server
2019-04-14 00:06:05.382 T:140334324582144 NOTICE: plugin.audio.squeezebox --> playback stopped
2019-04-14 00:06:09.688 T:140334324582144 NOTICE: plugin.audio.squeezebox --> play started by lms server
2019-04-14 00:06:10.884 T:140334324582144 NOTICE: plugin.audio.squeezebox --> playlist changed on lms server
2019-04-14 00:06:12.425 T:140334324582144 NOTICE: plugin.audio.squeezebox --> playback stopped
2019-04-14 00:06:16.619 T:140334324582144 NOTICE: plugin.audio.squeezebox --> play started by lms server
Any chance of an update/rewrite to allow compatibility with Kodi 19 and onwards?
Currently mp3-streams are broken.
I think there is a problem with static libarys (only mp3).
Flac and radio are working.
Lms-log:
Slim::Player::Song::open (409) Error: Couldn't create command line for mp3 playback for [file:/
System:
LibreElec 8.2.1
LMS 7.9.1
Mediatools installed
Can you help me to make this addon work under Android TV?
Setup:
NVIDIA Shield with Android TV 9
Kodi 18.9
Installed the addon from the repo
SB Palyer is installed and working perfectly well
LMS 7.9.1
When addon is installed it is not able automatically or manually see LMS. And I can't select audio device.
How can I make it work?
In the file 'resources/lib/main_service.py' the following line sends the argument "-C 1" to the 'squeezelite' client.
line 205: args = [sl_binary, "-s", self.lmsserver.host, "-a", "80", "-C", "1", "-m",
This argument is not supported by squeezelite, and should probably be removed for ARM-targets (or changed if the intention was something else?)
Trying for example with Spotify or Airplay client, if you play a song and pause it or change to another LMS player to continue playing the song, it appears as the song is paused in Kodi interface. it doesn't matter what you do after, for example if you close the client. If you try then to reproduce a movie in Kodi it resumes original song that was playing instead to movie sound.
Wouldn't it be better to assume that the player has stopped, instead of paused, in any case where squeezelite player is not reproducing any music? It would solve may of this kind of scenarios.
Regards,
Under Ubuntu 16.04 in intel x64 (ALSA), if use the option -C to launch squeezelite app, for example -C 2, doesn't output any kind of sound in Kodi although it shows artist and song in kodi interface and the client (Spotify) progress bar shows as it's been reproduced. In that moment if you pause music in the client or change to other LMS player, it continue appearing as playing inside the Kodi GUI, not refreshing properly the state.
In such situation if you try to disable the addon, kodi freezes and needs to be restarted.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.