Announcement
Collapse
No announcement yet.
Announce: Material Skin
Collapse
X
-
Material debug: 1. Launch via http: //SERVER:9000/material/?debug=json (Use http: //SERVER:9000/material/?debug=json,cometd to also see update messages, e.g. play queue) 2. Open browser's developer tools 3. Open console tab in developer tools 4. REQ/RESP messages sent to/from LMS will be logged here. -
The one thing I keep the no-longer-maintained Orange Squeeze on my phone for is downloads.
Any chance of adding/exposing "download" links for tracks or whole albums (multiple links - not sure how this would even work)? For a single track I would guess this is just changing the metadata for the response, amateur that I am, but not sure if multiple downloads are possible from a web page?
My use case is that all my music goes via my server and LMS is the easiest way of selecting what I want "offline" on my phone.Comment
-
As to download links in the browser - I guess I could make each track downloadable, the issue then is what filename to use. A browser download cannot create folders, so tracks could possibly overwrite each other (e.g. if you have "01. Track.mp3" for 2 different albums). For downloading albums, I'd imagine the best way would be for Material's Perl plugin side to create a ZIP on the fly.
But these would then be downloaded to your 'Downloads' folder - which means you'd have to unzip and then move to your phone's Music folder. Pretty messy. Perhaps something like "AirDroid" would be easier?Material debug: 1. Launch via http: //SERVER:9000/material/?debug=json (Use http: //SERVER:9000/material/?debug=json,cometd to also see update messages, e.g. play queue) 2. Open browser's developer tools 3. Open console tab in developer tools 4. REQ/RESP messages sent to/from LMS will be logged here.Comment
-
I had thought about, and did start implementing, downloads support in the Material APK. But it was turning out to be more hassle than it was worth. Perhaps I'll look into this again.
As to download links in the browser - I guess I could make each track downloadable, the issue then is what filename to use. A browser download cannot create folders, so tracks could possibly overwrite each other (e.g. if you have "01. Track.mp3" for 2 different albums). For downloading albums, I'd imagine the best way would be for Material's Perl plugin side to create a ZIP on the fly.
But these would then be downloaded to your 'Downloads' folder - which means you'd have to unzip and then move to your phone's Music folder. Pretty messy. Perhaps something like "AirDroid" would be easier?
Sent from my Pixel 3a using TapatalkLiving Room: Touch or Squeezelite (Pi3B) > Topping E30 > Audiolab 8000A > Monitor Audio S5 + BK200-XLS DF
Bedroom: Radio
Bathroom: RadioComment
-
It could get complicated and messy, I agree. This is one of those caveat emptor things - my thought, given a lack of directoryt management, would be just to use the underlying track filename.
For multiple files a ZIP may work, but would put extra load on the server I guess. I have never tried this in my own code, but the second answer in this article seems to suggest multiple downloads could work: https://stackoverflow.com/questions/...-single-action
I guess for ordinary users there is a hassle to moving things in and out of Downloads but for me anything is better than nothing.
I assume - and this is not important for me - transcoding could be done using the normal streaming system, but how you then correctly name the resulting file... no idea.Last edited by Peter Galbavy; 2021-06-30, 11:05.Comment
-
Without protection of that downloaded content (eg only allowing playback via a special player and not allowing subsequent unprotected copying) could result in complaints from some content providers.Paul Webster
Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-pluginComment
-
Sent from my Pixel 3a using TapatalkLiving Room: Touch or Squeezelite (Pi3B) > Topping E30 > Audiolab 8000A > Monitor Audio S5 + BK200-XLS DF
Bedroom: Radio
Bathroom: RadioComment
-
Comment
-
Playing a specific track in album access via My Music > New Artists adds entire album
Scenario:
Go to My Music > New Artists > [Specific Artist] > [Specific Album]
Click on 'Play Now' icon (or select 'Play Now' from dots menu) for a specific track.
Expected behaviour:
The specific track gets sent to the Playlist and is the only item there.
Actual Behaviour:
The whole album gets sent to the Playlist, with the specific track playing.Last edited by SpiderJon; 2021-06-30, 17:16. Reason: Accidentally submitted before I'd finished writing it!Duet x 3, via various hi-fi. LMS running on Raspberry Pi OS (Debian 10) + OMV on a Pi4 (4GB RAM) in an Argon Neo case.Comment
-
Scenario:
Go to My Music > New Artists > [Specific Artist] > [Specific Album]
Click on 'Play Now' icon (or select 'Play Now' from dots menu) for a specific track.
Expected behaviour:
The specific track gets sent to the Playlist and is the only item there.
Actual Behaviour:
The whole album gets sent to the Playlist, with the specific track playing.Server - LMS 8.4.0 RPi4B 4GB/NanoSound ONE case/pCP 8.1.0 - 75K library, playlists & LMS cache on Sata SSD (ntfs)
Lounge - DAC32 - AudioEngine B2
Office - RPi 3B+/HiFiBerry DAC HAT/RPi screen - Edifier D12
Bedroom - Echo Show 8
Spares - 1xSB Touch, 1xSB3, 4xRPi, AVI DM5 speakersComment
-
Living Room: Touch or Squeezelite (Pi3B) > Topping E30 > Audiolab 8000A > Monitor Audio S5 + BK200-XLS DF
Bedroom: Radio
Bathroom: RadioComment
-
Server - LMS 8.4.0 RPi4B 4GB/NanoSound ONE case/pCP 8.1.0 - 75K library, playlists & LMS cache on Sata SSD (ntfs)
Lounge - DAC32 - AudioEngine B2
Office - RPi 3B+/HiFiBerry DAC HAT/RPi screen - Edifier D12
Bedroom - Echo Show 8
Spares - 1xSB Touch, 1xSB3, 4xRPi, AVI DM5 speakersComment
-
I'd like to integrate this with the APK, which would create an album folder in Android's Music folder, and also download cover-art. But its a start.Material debug: 1. Launch via http: //SERVER:9000/material/?debug=json (Use http: //SERVER:9000/material/?debug=json,cometd to also see update messages, e.g. play queue) 2. Open browser's developer tools 3. Open console tab in developer tools 4. REQ/RESP messages sent to/from LMS will be logged here.Comment
-
Sent from my Pixel 3a using TapatalkLiving Room: Touch or Squeezelite (Pi3B) > Topping E30 > Audiolab 8000A > Monitor Audio S5 + BK200-XLS DF
Bedroom: Radio
Bathroom: RadioComment
-
Material debug: 1. Launch via http: //SERVER:9000/material/?debug=json (Use http: //SERVER:9000/material/?debug=json,cometd to also see update messages, e.g. play queue) 2. Open browser's developer tools 3. Open console tab in developer tools 4. REQ/RESP messages sent to/from LMS will be logged here.Comment
Comment