Re: [SlimDevices: SqueezeCenter] New in 7.9.2: Presets editor

2020-12-21 Thread bigcookie


> 
> Kids will learn faster than you'd think ;-). I'm not saying they'll 
> learn faster how to mess with the settings, but how to use the Radio!
> 

Thanks - you are right! though I'd prefer to block the presets - at
least for a year. And even I accidently overwrote my presets by pressing
too long without wanting to ;-)...
Anyway,

It is great that LMS is still alife! The product is great - especially
also for home automation. Thanks a lot @mherger For your ambition
and support!!!



--
LMS auf einem QNAP TS-653B in einem Debian Docker-Container
Versionsnummer: Logitech Media Server Version: 7.9.2 - 1571226194 @ Wed
Oct 16 14:20:53 CEST 2019
Player: 1x SB Touch, 5x SB Radio, 1x SB Duet.

bigcookie's Profile: http://forums.slimdevices.com/member.php?userid=63397
View this thread: http://forums.slimdevices.com/showthread.php?t=110087

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] New in 7.9.2: Presets editor

2020-12-15 Thread bigcookie


@mherger - do you think it will be possible to also disable editing of
presets via the player? I am using the radio in a kids room and in
between, my kid overrides the presets... I patched out the access to
settings on the player as a first step...
So, do you think that this is possible? Allowing to enable/disable
saving of presets via long press on the radio?



--
LMS auf einem QNAP TS-653B in einem Debian Docker-Container
Versionsnummer: Logitech Media Server Version: 7.9.2 - 1571226194 @ Wed
Oct 16 14:20:53 CEST 2019
Player: 1x SB Touch, 5x SB Radio, 1x SB Duet.

bigcookie's Profile: http://forums.slimdevices.com/member.php?userid=63397
View this thread: http://forums.slimdevices.com/showthread.php?t=110087

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] podcasts just stop at random

2019-11-04 Thread bigcookie


Hi @mrw,

I noticed an issue in the script. Here an updated one including logging
- again not beautiful, but today it worked for me at least :-):
28468
28469

Changes to v1:
- added script logging to file (if enabled in script)
- added echo output (if enabled in script)
- fixed podcast history (podcast.log) to not redownload already existing
episodes
- fixed generation of playlist as well as cleanup of podcast history
only to be done when actually and update happened

You can also target a Webserver URL as playlist. In this case, the
podcasttitle will be properly encoded (blanks to %20 etc). I dont need
it anymore, but might be useful.

Feel free change, improve. It is just hacked together in a dirty way.


+---+
|Filename: bp.conf.log  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=28469|
+---+


--
LMS auf einem QNAP TS-653B in einem Debian Docker-Container
Versionsnummer: Logitech Media Server Version: 7.9.2 - 1571226194 @ Wed
Oct 16 14:20:53 CEST 2019
Player: 1x SB Touch, 5x SB Radio, 1x SB Duet.

bigcookie's Profile: http://forums.slimdevices.com/member.php?userid=63397
View this thread: http://forums.slimdevices.com/showthread.php?t=110756

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] podcasts just stop at random

2019-11-01 Thread bigcookie


Attached the script and conf file. All based on bashpodder :-). Not the
best written scipts, but it seems to work. Requires wget, curl besides
the normal bash commands available. You need to restore the original
filename.
- 28442
- 28443

Functional changes to bashpodder:
- updated extraction of episode URL to fit my podcast
- updated conf file to allow URL and Title specification. Title to be
used as target directory and playlist name
- added function to keep only the last x files. 
- added function to initiate playlist rescan on LMS
- adapted playlist creation to support a second basepath due to LMS
running in docker and script running on server
- added function to copy most recent episode to "latest.mp3" file in the
podcast target directory


+---+
|Filename: bp.conf.log  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=28443|
+---+


--
LMS auf einem QNAP TS-653B in einem Debian Docker-Container
Versionsnummer: Logitech Media Server Version: 7.9.2 - 1571226194 @ Wed
Oct 16 14:20:53 CEST 2019
Player: 1x SB Touch, 5x SB Radio, 1x SB Duet.

bigcookie's Profile: http://forums.slimdevices.com/member.php?userid=63397
View this thread: http://forums.slimdevices.com/showthread.php?t=110756

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] EXTM3U is not respected in a manually created playlist

2019-11-01 Thread bigcookie


bpa wrote: 
> It might be better to use an OPML format rather than M3u.  You can add
> title and icon as well as URL. You can nest /call opml file from another
> opml so that you can have a static top level and each set of podcast is
> in a newly written opml file (was your m3u). By having  static top level
> means you should not run into LMS caching issues.

That sounds really interesting. Will try OPML out - if possible without
the detour through the webserver (I thought it will allow me to use
titles). Thanks for the help and feedback.
I suggest to close this subject with the OPML hint. I will update the
other thread on podcast server issues when I have a more stable
solution.



--
LMS auf einem QNAP TS-653B in einem Debian Docker-Container
Versionsnummer: Logitech Media Server Version: 7.9.2 - 1571226194 @ Wed
Oct 16 14:20:53 CEST 2019
Player: 1x SB Touch, 5x SB Radio, 1x SB Duet.

bigcookie's Profile: http://forums.slimdevices.com/member.php?userid=63397
View this thread: http://forums.slimdevices.com/showthread.php?t=46

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] EXTM3U is not respected in a manually created playlist

2019-11-01 Thread bigcookie


bpa wrote: 
> IIRC When a podcast URL is about to be played - LMS will do a test of
> the URL and read in the header, look at the audio codec (i.e. to know
> whether transcoding is needed) and metadata and update/override the M3u
> data with the data from the file header (e.g. if duration is longer in
> metadata data then m3u - it will be overridden)

Understood, but for that you need to start playing it if I read it
correcty - and as you can see in the screenshot, that works. As I am
updating the playlist daily and would like to see the title of the new
episode in the playlist, I am currently parsing this from the podcast
xml and want to write it into the playlist, so it doesnt appear like
track 2-4 in the screenshot above.

I can also place the files in a local folder instead of http:// access.
But the same issue occurs: I cannot make the playlist show a title
without playing back a file.

BTW: Thanks a lot for your help and patience. The issue I have is pretty
special I guess as I am trying to overcome some issues with the Podcast
server which disconnects after 5 minutes.
I appreciate this a lot. If you have a better idea: I am open to it :-).



--
LMS auf einem QNAP TS-653B in einem Debian Docker-Container
Versionsnummer: Logitech Media Server Version: 7.9.2 - 1571226194 @ Wed
Oct 16 14:20:53 CEST 2019
Player: 1x SB Touch, 5x SB Radio, 1x SB Duet.

bigcookie's Profile: http://forums.slimdevices.com/member.php?userid=63397
View this thread: http://forums.slimdevices.com/showthread.php?t=46

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] EXTM3U is not respected in a manually created playlist

2019-11-01 Thread bigcookie


Log part 2 (will use pastebin or similar next time -. sorry):


Code:


  [19-11-01 15:41:33.9978] Slim::Formats::Playlists::M3U::read (114)   found 
trackurl: 
http://127.0.0.1/Podcasts/Steingarts%20Morning%20Briefing/podcast_5030_steingarts_morning_briefing_der_podcast_episode_327_ein_angriff_auf_meine_person_und_meine_geschichte.mp3
  [19-11-01 15:41:33.9985] Slim::Formats::Playlists::M3U::read (86)   entry 
from file: #EXTINF:1800,Steingart1
  [19-11-01 15:41:33.9991] Slim::Formats::Playlists::M3U::read (103)   found 
secs: 1800, title: Steingart1
  [19-11-01 15:41:33.9998] Slim::Formats::Playlists::M3U::read (86)   entry 
from file: 
http://127.0.0.1/Podcasts/Steingarts%20Morning%20Briefing/podcast_5030_steingarts_morning_briefing_der_podcast_episode_327_ein_angriff_auf_meine_person_und_meine_geschichte.mp3
  [19-11-01 15:41:34.0004] Slim::Formats::Playlists::M3U::_item (180) valid 
entry: 
http://127.0.0.1/Podcasts/Steingarts%20Morning%20Briefing/podcast_5030_steingarts_morning_briefing_der_podcast_episode_327_ein_angriff_auf_meine_person_und_meine_geschichte.mp3
  [19-11-01 15:41:34.0027] Slim::Formats::Playlists::M3U::read (86)   entry 
from file: 
#EXTURL:http://127.0.0.1/Podcasts/Steingarts%20Morning%20Briefing/podcast_5030_steingarts_morning_briefing_der_podcast_episode_326_demokratie_unter_druck.mp3
  [19-11-01 15:41:34.0034] Slim::Formats::Playlists::M3U::read (114)   found 
trackurl: 
http://127.0.0.1/Podcasts/Steingarts%20Morning%20Briefing/podcast_5030_steingarts_morning_briefing_der_podcast_episode_326_demokratie_unter_druck.mp3
  [19-11-01 15:41:34.0040] Slim::Formats::Playlists::M3U::read (86)   entry 
from file: #EXTINF:1700,Steingart2
  [19-11-01 15:41:34.0045] Slim::Formats::Playlists::M3U::read (103)   found 
secs: 1700, title: Steingart2
  [19-11-01 15:41:34.0052] Slim::Formats::Playlists::M3U::read (86)   entry 
from file: 
http://127.0.0.1/Podcasts/Steingarts%20Morning%20Briefing/podcast_5030_steingarts_morning_briefing_der_podcast_episode_326_demokratie_unter_druck.mp3
  [19-11-01 15:41:34.0058] Slim::Formats::Playlists::M3U::_item (180) valid 
entry: 
http://127.0.0.1/Podcasts/Steingarts%20Morning%20Briefing/podcast_5030_steingarts_morning_briefing_der_podcast_episode_326_demokratie_unter_druck.mp3
  [19-11-01 15:41:34.0076] Slim::Formats::Playlists::M3U::read (86)   entry 
from file: 
#EXTURL:http://127.0.0.1/Podcasts/Steingarts%20Morning%20Briefing/podcast_5030_steingarts_morning_briefing_der_podcast_episode_325_eine_gesellschaft_ist_es_wert_gerettet_zu_werden.mp3
  [19-11-01 15:41:34.0080] Slim::Formats::Playlists::M3U::read (114)   found 
trackurl: 
http://127.0.0.1/Podcasts/Steingarts%20Morning%20Briefing/podcast_5030_steingarts_morning_briefing_der_podcast_episode_325_eine_gesellschaft_ist_es_wert_gerettet_zu_werden.mp3
  [19-11-01 15:41:34.0085] Slim::Formats::Playlists::M3U::read (86)   entry 
from file: #EXTINF:1600,Steingart3
  [19-11-01 15:41:34.0089] Slim::Formats::Playlists::M3U::read (103)   found 
secs: 1600, title: Steingart3
  [19-11-01 15:41:34.0094] Slim::Formats::Playlists::M3U::read (86)   entry 
from file: 
http://127.0.0.1/Podcasts/Steingarts%20Morning%20Briefing/podcast_5030_steingarts_morning_briefing_der_podcast_episode_325_eine_gesellschaft_ist_es_wert_gerettet_zu_werden.mp3
  [19-11-01 15:41:34.0098] Slim::Formats::Playlists::M3U::_item (180) valid 
entry: 
http://127.0.0.1/Podcasts/Steingarts%20Morning%20Briefing/podcast_5030_steingarts_morning_briefing_der_podcast_episode_325_eine_gesellschaft_ist_es_wert_gerettet_zu_werden.mp3
  [19-11-01 15:41:34.0113] Slim::Formats::Playlists::M3U::read (86)   entry 
from file: 
#EXTURL:http://127.0.0.1/Podcasts/Steingarts%20Morning%20Briefing/podcast_5030_steingarts_morning_briefing_der_podcast_episode_324_ubertreibungen_mussen_korrigiert_werden.mp3
  [19-11-01 15:41:34.0119] Slim::Formats::Playlists::M3U::read (114)   found 
trackurl: 
http://127.0.0.1/Podcasts/Steingarts%20Morning%20Briefing/podcast_5030_steingarts_morning_briefing_der_podcast_episode_324_ubertreibungen_mussen_korrigiert_werden.mp3
  [19-11-01 15:41:34.0128] Slim::Formats::Playlists::M3U::read (86)   entry 
from file: #EXTINF:1500,Steingart4
  [19-11-01 15:41:34.0132] Slim::Formats::Playlists::M3U::read (103)   found 
secs: 1500, title: Steingart4
  [19-11-01 15:41:34.0136] Slim::Formats::Playlists::M3U::read (86)   entry 
from file: 
http://127.0.0.1/Podcasts/Steingarts%20Morning%20Briefing/podcast_5030_steingarts_morning_briefing_der_podcast_episode_324_ubertreibungen_mussen_korrigiert_werden.mp3
  [19-11-01 15:41:34.0140] Slim::Formats::Playlists::M3U::_item (180) valid 
entry: 
http://127.0.0.1/Podcasts/Steingarts%20Morning%20Briefing/podcast_5030_steingarts_morning_briefing_der_podcast_episode_324_ubertreibungen_mussen_korrigiert_werden.mp3
  [19-11-01 15:41:34.0155] Slim::Formats::Playlists::M3U::read (86)   entry 
from file: 
#EXTURL:http://127.0.0.1/Podcasts/Steingarts%20Morning%20Briefing/podc

Re: [SlimDevices: SqueezeCenter] EXTM3U is not respected in a manually created playlist

2019-11-01 Thread bigcookie


Already done. This is the output with debugging on in:
- formats.playlists
- player.playlist
- scan
- scan.auto
- scan.scanner

I created copy of that playlist and renamed it to test3.m3u (and I fixed
the CURTRACK issue)

Anything else I should turn on?


Code:


  Aktualisieren (50, 100, 500, 1000 Zeilen) Herunterladen
  [19-11-01 15:41:33.2634] main::main (205) Starting Logitech Media Server 
scanner (v7.9.2, 1571226194, Wed Oct 16 14:20:53 CEST 2019) perl 5.024001
  [19-11-01 15:41:33.4834] Slim::Schema::forceCommit (2144) Warning: Trying to 
commit transactions before DB is initialized!
  [19-11-01 15:41:33.7285] Slim::Music::Import::runImporter (511) Starting 
Slim::Music::PlaylistFolderScan scan
  [19-11-01 15:41:33.7290] Slim::Utils::Scanner::Local::rescan (157) Rescanning 
/mnt/playlists
  [19-11-01 15:41:33.7294] Slim::Utils::Scanner::Local::rescan (181) 
Discovering audio files in /mnt/playlists
  [19-11-01 15:41:33.7478] Slim::Utils::SQLiteHelper::updateProgress (439) 
Notify to server: [
  
"progress:1572622893.7334||importer||/mnt/playlists|discovering_playlist||1||0||",
  ]
  [19-11-01 15:41:33.8194] Slim::Utils::SQLiteHelper::updateProgress (463) 
Notify to server OK
  [19-11-01 15:41:33.8200] Slim::Utils::Scanner::Local::Async::__ANON__ (149) 
Found /mnt/playlists
  [19-11-01 15:41:33.8208] Slim::Utils::Scanner::Local::Async::__ANON__ (149) 
Found /mnt/playlists/@Recently-Snapshot
  [19-11-01 15:41:33.8217] Slim::Utils::Scanner::Local::Async::__ANON__ (149) 
Found /mnt/playlists/00042029dfb3.m3u
  [19-11-01 15:41:33.8226] Slim::Utils::Scanner::Local::Async::__ANON__ (149) 
Found /mnt/playlists/test2.m3u
  [19-11-01 15:41:33.8234] Slim::Utils::Scanner::Local::Async::__ANON__ (149) 
Found /mnt/playlists/test.m3u
  [19-11-01 15:41:33.8242] Slim::Utils::Scanner::Local::Async::__ANON__ (149) 
Found /mnt/playlists/az.m3u
  [19-11-01 15:41:33.8250] Slim::Utils::Scanner::Local::Async::__ANON__ (149) 
Found /mnt/playlists/test3.m3u
  [19-11-01 15:41:33.8259] Slim::Utils::Scanner::Local::Async::__ANON__ (149) 
Found /mnt/playlists/SyncOptions-Squeezebox SZ-00_04_20_18_1f_7c.m3u
  [19-11-01 15:41:33.8267] Slim::Utils::Scanner::Local::Async::__ANON__ (149) 
Found /mnt/playlists/SyncOptions-Squeezebox Kueche-00_04_20_29_f9_1c.m3u
  [19-11-01 15:41:33.8276] Slim::Utils::Scanner::Local::Async::__ANON__ (149) 
Found /mnt/playlists/Steingarts Morning Briefing.m3u
  [19-11-01 15:41:33.8284] Slim::Utils::Scanner::Local::Async::__ANON__ (149) 
Found /mnt/playlists/0004202b5691.m3u
  [19-11-01 15:41:33.8292] Slim::Utils::Scanner::Local::Async::__ANON__ (149) 
Found /mnt/playlists/podcast_test.m3u
  [19-11-01 15:41:33.8300] Slim::Utils::Scanner::Local::Async::__ANON__ (149) 
Found /mnt/playlists/00042029f91c.m3u
  [19-11-01 15:41:33.8309] Slim::Utils::Scanner::Local::Async::__ANON__ (149) 
Found /mnt/playlists/kitchen.m3u
  [19-11-01 15:41:33.8317] Slim::Utils::Scanner::Local::Async::__ANON__ (149) 
Found /mnt/playlists/SyncOptions-Squeezebox KZ-00_04_20_2b_27_2e.m3u
  [19-11-01 15:41:33.8326] Slim::Utils::Scanner::Local::Async::__ANON__ (149) 
Found /mnt/playlists/SyncOptions-Squeezebox WZ-00_04_20_23_89_f5.m3u
  [19-11-01 15:41:33.8336] Slim::Utils::Scanner::Local::Async::__ANON__ (149) 
Found /mnt/playlists/@Recycle
  [19-11-01 15:41:33.8345] Slim::Utils::Scanner::Local::Async::__ANON__ (149) 
Found /mnt/playlists/@Recycle/00042029dfb3.m3u
  [19-11-01 15:41:33.8353] Slim::Utils::Scanner::Local::Async::__ANON__ (149) 
Found /mnt/playlists/@Recycle/0004202b5691.m3u
  [19-11-01 15:41:33.8362] Slim::Utils::Scanner::Local::Async::__ANON__ (149) 
Found /mnt/playlists/@Recycle/00042029f91c.m3u
  [19-11-01 15:41:33.8371] Slim::Utils::Scanner::Local::Async::__ANON__ (149) 
Found /mnt/playlists/@Recycle/000420181f7c.m3u
  [19-11-01 15:41:33.8379] Slim::Utils::Scanner::Local::Async::__ANON__ (149) 
Found /mnt/playlists/SyncOptions-Squeezebox Bad-00_04_20_29_df_b3.m3u
  [19-11-01 15:41:33.8387] Slim::Utils::Scanner::Local::Async::__ANON__ (149) 
Found /mnt/playlists/sz.m3u
  [19-11-01 15:41:33.8396] Slim::Utils::Scanner::Local::Async::__ANON__ (149) 
Found /mnt/playlists/SyncOptions-Squeezebox GastBad-00_04_20_2c_6f_73.m3u
  [19-11-01 15:41:33.8403] Slim::Utils::Scanner::Local::Async::__ANON__ (82) 
Async scanner found 24 files/dirs in 0.11 sec
  [19-11-01 15:41:33.8415] Slim::Utils::SQLiteHelper::updateProgress (439) 
Notify to server: [
  
"progress:1572622893||importer||/mnt/playlists|discovering_playlist||24||24||1572622893.84069",
  ]
  [19-11-01 15:41:33.8482] Slim::Utils::SQLiteHelper::updateProgress (463) 
Notify to server OK
  [19-11-01 15:41:33.8492] Slim::Utils::Scanner::Local::__ANON__ (193) Start 
processing found tracks
  [19-11-01 15:41:33.8497] Slim::Utils::Scanner::Local::__ANON__ (201) Connect 
do DB
  [19-11-01 15:41:33.8502] Slim::Utils::Scanner::Local::__ANON__ (204) Get 
latest ID
  [19-11-01 15:41:33.8511] Slim::Utils::Scanner::Local::__ANON__ (226) Delete 
temporary table

Re: [SlimDevices: SqueezeCenter] EXTM3U is not respected in a manually created playlist

2019-11-01 Thread bigcookie


Paul Webster wrote: 
> Also - it looks like LMS takes a limited set of data from the EXTINF
> field
> One of
> secs,title - artist - album
> secs,title
> title
> 
> > 
Code:

  >   > 
  > if ($entry =~ /^#EXTINF\:(.*?),<(.*?)> - <(.*?)> - <(.*?)>/) {
  > 
  > $secs   = $1;
  > $artist = $2;
  > $album  = $3;
  > $title  = $4;
  > 
  > main::DEBUGLOG && $log->debug("  found secs: $secs, 
title: $title, artist: $artist, album: $album");
  > 
  > }
  > elsif ($entry =~ /^#EXTINF:(.*?),(.*)$/) {
  > 
  > $secs  = $1;
  > $title = $2;
  > 
  > main::DEBUGLOG && $log->debug("  found secs: $secs, 
title: $title");
  > }
  > elsif ( $entry =~ /^#EXTINF:(.*?)$/ ) {
  > $title = $1;
  > 
  > main::DEBUGLOG && $log->debug("  found title: $title");
  > }
  > 
  > elsif ( $entry =~ /^#EXTURL:(.*?)$/ ) {
  > $trackurl = $1;
  > 
  > main::DEBUGLOG && $log->debug("  found trackurl: 
$trackurl");
  > }
  > 

> > 

Thanks for that. I used #EXTINF:seconds,title and it seemed not to work.
I will dig deeper into this. The code snippets are helping!



--
LMS auf einem QNAP TS-653B in einem Debian Docker-Container
Versionsnummer: Logitech Media Server Version: 7.9.2 - 1571226194 @ Wed
Oct 16 14:20:53 CEST 2019
Player: 1x SB Touch, 5x SB Radio, 1x SB Duet.

bigcookie's Profile: http://forums.slimdevices.com/member.php?userid=63397
View this thread: http://forums.slimdevices.com/showthread.php?t=46

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] EXTM3U is not respected in a manually created playlist

2019-11-01 Thread bigcookie


bpa wrote: 
> Maybe I didn;'t make myself clear.
> 
> Players can play mp3 with URL natively (i.e. data is streamed directly
> from podcast server to player not via LMS) - so the player not LMS sets
> up a connection using the URL.  The player (e.g. Touch, squeezlite on a
> non LMS system) will see 127.0.0.1 as *ITS* network address not the LMS
> server IP address ans so it will try to make a connection to the players
> system not to the LMS system.

Ahhh, got it - sorry. At least I can say that the above playlist is
working.



--
LMS auf einem QNAP TS-653B in einem Debian Docker-Container
Versionsnummer: Logitech Media Server Version: 7.9.2 - 1571226194 @ Wed
Oct 16 14:20:53 CEST 2019
Player: 1x SB Touch, 5x SB Radio, 1x SB Duet.

bigcookie's Profile: http://forums.slimdevices.com/member.php?userid=63397
View this thread: http://forums.slimdevices.com/showthread.php?t=46

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] EXTM3U is not respected in a manually created playlist

2019-11-01 Thread bigcookie

Thanks for the quick reply. Probably I didnt make myself fully clear.

1. the above playlist works, I have LMS running in docker on host, and
127.0.0.1 refers to my servers address. But of course I can change it
with the real IP of the server :-)
2. The issue is the metadata (provided through EXTM3U) not being
displayed in the playlist

LMS version I am running is (will update my signature asap :-) ):
Logitech Media Server Version: 7.9.2 - 1571226194 @ Wed Oct 16 14:20:53
CEST 2019

@mherger:
you are right. I somehow messed up my playlist folder and the "save"
button didnt exist. Nevertheless when creating the playlist manually and
doing a rescan of the playlists only, the playlist again appeared
empty:

Code:


  #CURTRACK 0
  #EXTM3U
  
#EXTURL:file:///media/music/Podcasts/podcast_5030_steingarts_morning_briefing_der_podcast_episode_327_ein_angriff_auf_meine_person_und_meine_geschichte.mp3
  #EXTINF:1754,“Ein Angriff auf meine Person und meine Geschichte”
  
/media/music/Podcasts/podcast_5030_steingarts_morning_briefing_der_podcast_episode_327_ein_angriff_auf_meine_person_und_meine_geschichte.mp3
  


I think this might be a EXTM3U issue, because when opening the file, LMS
reads the metadata from the file. If I upload new files and fgenerate
the playlist manually, it seems the data is not yet available. So I
tried providing titles etc through EXTM3U and it didnt work
-> can you share some insights to extended m3u?



--
LMS auf einem QNAP TS-653B in einem Debian Docker-Container
Versionsnummer: Logitech Media Server Version: 7.9.0 - 1488878280 @ Wed
Mar 8 14:36:54 UTC 2017
Player: 1x SB Touch, 2x SB Radio, 1x SB Duet.

bigcookie's Profile: http://forums.slimdevices.com/member.php?userid=63397
View this thread: http://forums.slimdevices.com/showthread.php?t=46

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] podcasts just stop at random

2019-11-01 Thread bigcookie

Hi,

I wanted to give an update on my current solution regarding podcast
servers cutting the connection after 5 minutes for a 30 minute podcast:
- I create bashscript running on a cronjob. This script does the
following
-- read podcasts and their title from a config file
-- parses the xml for the podcast URL sources (I am focussing on mp3 at
the moment)
-- downloads the x latest podcast episodes if not yet downloaded
-- cleans up existing podcasts (just keep the last x files)
-- creates a m3u playlist with the updated podcast episodes
-- moves files to a location LMS can access (in this case I chose a
local webserver instead of a file in the music folders)
-> I noticed that playlists would be shown as empty, if new
downloaded files are referenced, which are not scanned yet. And I didnt
want to scan my whole library each day :-)
-- moves playlist to the LMS playlist folder
-- initiates a "rescan playlists" on the LMS

I will now test this for a few days and provide feedback and access to
the (ugly) scripts, if desired.

Downside:
Playlists are not showing any information like logo, title, duration:
LMS doesnt seem to accept the EXTM3U information in the playlists. I
opened a ticket here:
https://forums.slimdevices.com/showthread.php?46-EXTM3U-is-not-respected-in-a-manually-created-playlist
to clarify this and check what I did wrongly. After playing the podcast
episode, LMS picks up title and a logo from the MP3 file though.

Upsides:
- podcasts are downloaded nightly
- the amount of storage is not too big by just keping the last x
episodes
- I can listen to my podcast episodes without interruption

regards,

André



--
LMS auf einem QNAP TS-653B in einem Debian Docker-Container
Versionsnummer: Logitech Media Server Version: 7.9.0 - 1488878280 @ Wed
Mar 8 14:36:54 UTC 2017
Player: 1x SB Touch, 2x SB Radio, 1x SB Duet.

bigcookie's Profile: http://forums.slimdevices.com/member.php?userid=63397
View this thread: http://forums.slimdevices.com/showthread.php?t=110756

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


[SlimDevices: SqueezeCenter] EXTM3U is not respected in a manually created playlist

2019-11-01 Thread bigcookie


Hi,

background:
I do have a problem with some podcast servers cutting the connection
after 5 minutes as the LMS podcast plugin doesnt cache the whole podcast
(what a pity). To listen to the podcast on LMS, I do the following:
run a cronjob every night, which downloads the latest episode, makes
sure only x files are kept, creates/updates a playlist accessible to
LMS, and triggers a playlist rescan

The intention is to get a playlist with the latest x episodes, best with
showing the podcast logo and title per episode. I then can select the
one I want to listen to -> voila.

General issues:
1. I cannot create a playlist, which refers to files in the LMS folders,
which are not scanned yet (then the playlist is shown as empty, though
the file exists - and I dont want to do a full database rescan)
-> workaround: I placed the files in a webserver directory and created a
URL link pointing to 127.0.0.1/FILE 
2. LMS doesnt get the embedded mp3 information from the URL file
(clear), so playlist shows no title, no duration, no logo
-> workaround: use #EXTM3U to provide information

Issue I filed this ticket for:
EXTM3U information seems to be not read by LMS. I used the following
format, by copying from LMS internal playlists:

Code:


  #CURTRACK 0
  #EXTM3U
  
#EXTURL:http://127.0.0.1/Podcasts/Steingarts%20Morning%20Briefing/podcast_5030_steingarts_morning_briefing_der_podcast_episode_327_ein_angriff_auf_meine_person_und_meine_geschichte.mp3
  #EXTINF:1800,Steingart1
  
http://127.0.0.1/Podcasts/Steingarts%20Morning%20Briefing/podcast_5030_steingarts_morning_briefing_der_podcast_episode_327_ein_angriff_auf_meine_person_und_meine_geschichte.mp3
  
#EXTURL:http://127.0.0.1/Podcasts/Steingarts%20Morning%20Briefing/podcast_5030_steingarts_morning_briefing_der_podcast_episode_326_demokratie_unter_druck.mp3
  #EXTINF:1700,Steingart2
  
http://127.0.0.1/Podcasts/Steingarts%20Morning%20Briefing/podcast_5030_steingarts_morning_briefing_der_podcast_episode_326_demokratie_unter_druck.mp3
  
#EXTURL:http://127.0.0.1/Podcasts/Steingarts%20Morning%20Briefing/podcast_5030_steingarts_morning_briefing_der_podcast_episode_325_eine_gesellschaft_ist_es_wert_gerettet_zu_werden.mp3
  #EXTINF:1600,Steingart3
  
http://127.0.0.1/Podcasts/Steingarts%20Morning%20Briefing/podcast_5030_steingarts_morning_briefing_der_podcast_episode_325_eine_gesellschaft_ist_es_wert_gerettet_zu_werden.mp3
  
#EXTURL:http://127.0.0.1/Podcasts/Steingarts%20Morning%20Briefing/podcast_5030_steingarts_morning_briefing_der_podcast_episode_324_ubertreibungen_mussen_korrigiert_werden.mp3
  #EXTINF:1500,Steingart4
  
http://127.0.0.1/Podcasts/Steingarts%20Morning%20Briefing/podcast_5030_steingarts_morning_briefing_der_podcast_episode_324_ubertreibungen_mussen_korrigiert_werden.mp3
  
#EXTURL:http://127.0.0.1/Podcasts/Steingarts%20Morning%20Briefing/podcast_5030_steingarts_morning_briefing_der_podcast_episode_323_kompromisse_nicht_veraechtlich_machen.mp3
  #EXTINF:1400,Steingart5
  
http://127.0.0.1/Podcasts/Steingarts%20Morning%20Briefing/podcast_5030_steingarts_morning_briefing_der_podcast_episode_323_kompromisse_nicht_veraechtlich_machen.mp3
  


I also tried adding

Code:


  #EXTINF:1400 tgv-logo="URL",Steingart5
  


or 

Code:


  #EXTINF:1400 logo="URL",Steingart5
  



Can somebody help me, why the extended m3u lines are not respected?

@mherger: As another option - is there a chance to allow playlists to
refer to local files, which not have been scanned yet? Basically to
create playlists through the "browse music folder" function? At least
the file title can be provided then, or manually EXTM3U could be used.

Thanks, regards



--
LMS auf einem QNAP TS-653B in einem Debian Docker-Container
Versionsnummer: Logitech Media Server Version: 7.9.0 - 1488878280 @ Wed
Mar 8 14:36:54 UTC 2017
Player: 1x SB Touch, 2x SB Radio, 1x SB Duet.

bigcookie's Profile: http://forums.slimdevices.com/member.php?userid=63397
View this thread: http://forums.slimdevices.com/showthread.php?t=46

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] podcasts just stop at random

2019-10-19 Thread bigcookie


I dont know all the internals. I was thinking of running a cronjob which
downloads the latest episode, makes sure only the last # episodes are
kept and then forces a db rescan. I was also thinking of using the sane
filename with overwriting (will lead to wrong information being
displayed, but).
So this would be outside LMS as my Perl and LMS skills are not good
enough to do anything else.



--
LMS auf einem QNAP TS-653B in einem Debian Docker-Container
Versionsnummer: Logitech Media Server Version: 7.9.0 - 1488878280 @ Wed
Mar 8 14:36:54 UTC 2017
Player: 1x SB Touch, 2x SB Radio, 1x SB Duet.

bigcookie's Profile: http://forums.slimdevices.com/member.php?userid=63397
View this thread: http://forums.slimdevices.com/showthread.php?t=110756

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] podcasts just stop at random

2019-10-18 Thread bigcookie


Mplayer: my fault. I misread one of the posts above.

Aac: the site provides two streaming formats: aac and mp3. I simply
tried both in case it might change the behavior - it didnt

I agree with the remark on streaming vs download costs.

If i cone across a solution, I will share it. I could run a script
daily, downloading the latest episode (same file/ overwrite),
potentially initiate a db rescan and then simple playback...
Will think about it :-).

Thanks again!



--
LMS auf einem QNAP TS-653B in einem Debian Docker-Container
Versionsnummer: Logitech Media Server Version: 7.9.0 - 1488878280 @ Wed
Mar 8 14:36:54 UTC 2017
Player: 1x SB Touch, 2x SB Radio, 1x SB Duet.

bigcookie's Profile: http://forums.slimdevices.com/member.php?userid=63397
View this thread: http://forums.slimdevices.com/showthread.php?t=110756

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS internal "software updates" function - how to make it pick up 7.9.2?

2019-10-18 Thread bigcookie

The new justifiably/logitechmediaserver container doesnt allow an easy
update via e.g. "dpkg -i LMS_all.deb". You cannot stop the server,. the
container really only launches LMS.
Passing LMSDEB didnt work for me as I used the QNAP UI (ENV vs ARG?) and
I didnt use commandline. Therefore it might work via commandline
My way for updating to test:

- use justifiably/logitechmediaserver container, download image, start
container
- open terminal in container
- download your desired LMS_all.deb version - either in mounted volume
or directly in the container (you might need to install wget via
apt-get)
- enter "echo PATH_TO_LMS_all.deb >
/mnt/state/cache/updates/server.version"
- restart container

The startup script for LMS, checks "server.version" and if existent will
do an update on LMS before starting it. The "server.version" file will
then be moved, so another update is not taking place.

Be careful as this update doesnt survive new image download plus
container installation.

Hope this helps, regards,

André



--
LMS auf einem QNAP TS-653B in einem Debian Docker-Container
Versionsnummer: Logitech Media Server Version: 7.9.0 - 1488878280 @ Wed
Mar 8 14:36:54 UTC 2017
Player: 1x SB Touch, 2x SB Radio, 1x SB Duet.

bigcookie's Profile: http://forums.slimdevices.com/member.php?userid=63397
View this thread: http://forums.slimdevices.com/showthread.php?t=110636

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] podcasts just stop at random

2019-10-18 Thread bigcookie


Understood. I will also move back to the mp3 feed as aac at least in my
case seems to block fast forwarding (even worse as I cannot workaround
the situation).

@bpa: Is there any setting on mplayer side or similar you know of, that
I can change the caching so bigger chunks might be downloaded? I will
also contact the stream provider - potentially there is a way...

Thanks for the feedback



--
LMS auf einem QNAP TS-653B in einem Debian Docker-Container
Versionsnummer: Logitech Media Server Version: 7.9.0 - 1488878280 @ Wed
Mar 8 14:36:54 UTC 2017
Player: 1x SB Touch, 2x SB Radio, 1x SB Duet.

bigcookie's Profile: http://forums.slimdevices.com/member.php?userid=63397
View this thread: http://forums.slimdevices.com/showthread.php?t=110756

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] podcasts just stop at random

2019-10-17 Thread bigcookie


Just for completeness: I changed the URL to http instead of https - I
still have the same problem: podcast stops in between. This is not
really helpful as anyone will understand :-). Any other ideas?

Addon: I moved to the aac version of the podcast by changing the URL
ending from mp3 to aac. After the good thing: didnt stop after 5
minutes, but it stopped after 7 minutes... This is better, but still
annoying and not usable.



--
LMS auf einem QNAP TS-653B in einem Debian Docker-Container
Versionsnummer: Logitech Media Server Version: 7.9.0 - 1488878280 @ Wed
Mar 8 14:36:54 UTC 2017
Player: 1x SB Touch, 2x SB Radio, 1x SB Duet.

bigcookie's Profile: http://forums.slimdevices.com/member.php?userid=63397
View this thread: http://forums.slimdevices.com/showthread.php?t=110756

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] podcasts just stop at random

2019-10-17 Thread bigcookie


I changed the setting today and will be able to tell tomorrow and
provide feedback... Thanks for the quick proposal and feedback.

Explanation to my previous thought:
I was thinking more of the behavior of the Podcast applications -
instead of proactively downloading the content, one could start doing
this on playback request. As the podcast history is normally not that
long, you could delete the cached file when it disappeared from the RSS
feed... Nevertheless I dont know if this is suitable or somebody is
wlling to spend some time on it.



--
LMS auf einem QNAP TS-653B in einem Debian Docker-Container
Versionsnummer: Logitech Media Server Version: 7.9.0 - 1488878280 @ Wed
Mar 8 14:36:54 UTC 2017
Player: 1x SB Touch, 2x SB Radio, 1x SB Duet.

bigcookie's Profile: http://forums.slimdevices.com/member.php?userid=63397
View this thread: http://forums.slimdevices.com/showthread.php?t=110756

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] podcasts just stop at random

2019-10-17 Thread bigcookie

I have a similar issue with a podcast stopping each 5:00-5:30minutes...
https://dasmorningbriefing.podigee.io/feed/mp3

It is 100% reproducible. Is there a chance to introduce caching in the
3rd party podcast application? So it caches and the server doesnt need
to keep the stream open? It is really annoying to fast forward every
5minutes from 0:00 to the latest stop if the cast is 30minutes long...
If ther eis anything I can do or help with, please contact me... :-) (I
am unfortunately no developer).

regards,

André



--
LMS auf einem QNAP TS-653B in einem Debian Docker-Container
Versionsnummer: Logitech Media Server Version: 7.9.0 - 1488878280 @ Wed
Mar 8 14:36:54 UTC 2017
Player: 1x SB Touch, 2x SB Radio, 1x SB Duet.

bigcookie's Profile: http://forums.slimdevices.com/member.php?userid=63397
View this thread: http://forums.slimdevices.com/showthread.php?t=110756

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] ISsue with "extended Permissions" on QNAP NAS

2017-06-05 Thread bigcookie

I found now the solution finally in the web:
https://forum.qnap.com/viewtopic.php?f=123&t=47700&hilit=advanced+folder

You need to set the owner user to "guest" as it seems... Now it works



bigcookie's Profile: http://forums.slimdevices.com/member.php?userid=63397
View this thread: http://forums.slimdevices.com/showthread.php?t=107484

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


[SlimDevices: SqueezeCenter] ISsue with "extended Permissions" on QNAP NAS

2017-06-05 Thread bigcookie

Hi,
I do have the following problem: I want to use extended permissions on a
QNAP NAS with LMS. When I activate the extended permissions support, the
LMS will not find any files/folders inside the root "Multimedia" folder.
When I deactivate the extended permissions, everything works fine.
ssods user is activated and ssods group has r/w access to the according
folder. Additionally I set the group recursively to everyone [100] and
the owner to a local user [1001] as it was written for example here:
http://www.squeezebox-forum.de/viewtopic.php?t=3249 

I am not sure if I hit a SSODS error or LMS error. Any hint is welcome
as I would like to use the extended permissions.

thanks, Andre

P.S: Running LMS 7.9.1-1492077569 on
QNAP TS-653B (had the same issue on a TS-219)
Firmware is 4.3.3.0188
The system is actually just initialized and no data on it at the moment.
So configuration is as clean as possible.



bigcookie's Profile: http://forums.slimdevices.com/member.php?userid=63397
View this thread: http://forums.slimdevices.com/showthread.php?t=107484

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter