Re: [SlimDevices: Plugins] [Announce] Use Comment Tag Info

2021-12-03 Thread mamema


several days without issues with ver. 1.36



mamema's Profile: http://forums.slimdevices.com/member.php?userid=44662
View this thread: http://forums.slimdevices.com/showthread.php?t=114968

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


Re: [SlimDevices: Plugins] [Announce] Use Comment Tag Info

2021-11-29 Thread afriend

mamema wrote: 
> so, i have made more tests, the plugin is immune against library
> updates, without delete and complete rescan. But if i do a delete/full
> scan manually and an "nightly change update" automatically afterwards,
> LMS hangs up and need to be restarted, which then leads to a rescan at
> boot time.
> 
> solution is, and i dunno why, to let the rescan finish. Disable the
> plugin. Restart, enable the plugin.
> 
> Huh, weird...

Don't know what's going on there. Just in case it should be related in
any way to UCTI's (re)building virtual libraries after a restart I've
included a check for missing library or active scanning process that
should delay this until the rescan is done. Please try version 1.3.6
(not released, GitHub manual install only). Can't think of anything else
right now that I can do on the plugin side.



*Plugin repositories:* 'Ratings Light'
(https://github.com/AF-1/lms-ratingslight)  'Visual Statistics'
(https://github.com/AF-1/lms-visualstatistics)  'Use Comment Tag
Info' (https://github.com/AF-1/lms-usecommenttaginfo)  'Dynamic
Playlists 3 FAQ' (https://github.com/AF-1/lms-dynamicplaylists#faq) 
'Custom Skip 3 FAQ' (https://github.com/AF-1/lms-customskip#faq)

afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306
View this thread: http://forums.slimdevices.com/showthread.php?t=114968

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


Re: [SlimDevices: Plugins] [Announce] Use Comment Tag Info

2021-11-29 Thread mamema


mamema wrote: 
> so...
> 
> i have enabled the plugin again, dunno remember if i have made a delete
> db/full rescan, since first enabling of this plugin. Anyway, after
> disable/reenable the plugin, the environment is running since two
> days/nights without issues. So . self healing.

so, i have made more tests, the plugin is immune against library
updates, without delete and complete rescan. But if i do a delete/full
scan manually and an "nightly change update" automatically afterwards,
LMS hangs up and need to be restarted, which then leads to a rescan at
boot time.

solution is, and i dunno why, to let the rescan finish. Disable the
plugin. Restart, enable the plugin.

Huh, weird...



mamema's Profile: http://forums.slimdevices.com/member.php?userid=44662
View this thread: http://forums.slimdevices.com/showthread.php?t=114968

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


Re: [SlimDevices: Plugins] [Announce] Use Comment Tag Info

2021-11-17 Thread mamema


so...

i have enabled the plugin again, dunno remember if i have made a delete
db/full rescan, since first enabling of this plugin. Anyway, after
disable/reenable the plugin, the environment is running since two
days/nights without issues. So . self healing.



mamema's Profile: http://forums.slimdevices.com/member.php?userid=44662
View this thread: http://forums.slimdevices.com/showthread.php?t=114968

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


Re: [SlimDevices: Plugins] [Announce] Use Comment Tag Info

2021-11-16 Thread mamema


kidstypike wrote: 
> I think the plugin "Simple Library Views" rescans the library after an
> LMS restart, it used to do. I stopped using it years ago for that very
> reason.

not using this plugin.
I have an automatically triggered nightly scan (no erase/full scan -
changes only). Why? Because of ongoing changes. :-) running without
problems until now.
I can also trigger this via web interface manually, without problems,
when UCTI is enabled.. something in the night is happening, which
"crashes" LMS. then and only then a database rescan is running after
restarting LMS. 
during the day, even with manual rescan, i can boot LMS without database
rescan happening (UCTI enabled).
As i said: trying to get logs about this nightly problem.



mamema's Profile: http://forums.slimdevices.com/member.php?userid=44662
View this thread: http://forums.slimdevices.com/showthread.php?t=114968

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


Re: [SlimDevices: Plugins] [Announce] Use Comment Tag Info

2021-11-16 Thread kidstypike


afriend wrote: 
> Do you have some plugin or script that -*automatically*- triggers a
> database rescan (clear/wipe or only looking for new media?) after
> *every* LMS restart? If so, why?
> 
> I only rescan my library (clear/wipe) after I've added new tracks or if
> the filename of the existing ones has changed. So in short: not very
> often at all.
> When LMS restarts there are always some plugins that need to interact
> with the database when they're initializing and if the database is not
> available (rescan) there might be problems. 
> So I usually trigger the rescan -manually- and certainly *never*
> together with a LMS restart. Just take a look at everything
> automated/scheduled.
> 
> The usual way to get to the bottom of this would be to disable all
> plugins (or at least all those that interact with the database and might
> (b)lock it) and then reenable one by one. It seems that you certainy
> have a lot more plugins installed/enabled than I have.
> 
> BTW how many browse menus/virtual libraries, title formats and such do
> you have defined/enabled in UCTI?

I think the plugin "Simple Library Views" rescans the library after an
LMS restart, it used to do. I stopped using it years ago for that very
reason.



*Server - LMS 8.3.0 *Pi4B 4GB/Argon one case/pCP 8.0.0 - 75K library,
playlists & LMS cache on SSD (ntfs)
*Study -* Pi4/pCP 8.0.0/Topping E30 DAC/Ruark MR1 Mk2
*Lounge* - Pi2/pCP 8.0.0 > HiFiBerry DIGI+ > AudioEngine DAC1 > AVI DM5
*Dining Room* - Pi3B/pCP/Bluetooth/Echo Show 8
*Garage* - DAC32 > Edifier speakers

*Spares* - 2xTouch, 1xSB Radio. 1xSB3, 6xRPi

kidstypike's Profile: http://forums.slimdevices.com/member.php?userid=10436
View this thread: http://forums.slimdevices.com/showthread.php?t=114968

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


Re: [SlimDevices: Plugins] [Announce] Use Comment Tag Info

2021-11-16 Thread afriend

Do you have some plugin or script that -*automatically*- triggers a
database rescan (clear/wipe or only looking for new media?) after
*every* LMS restart? If so, why?

I only rescan my library (clear/wipe) after I've added new tracks or if
the filename of the existing ones has changed. So in short: not very
often at all.
When LMS restarts there are always some plugins that need to interact
with the database when they're initializing and if the database is not
available (rescan) there might be problems. 
So I usually trigger the rescan -manually- and certainly *never*
together with a LMS restart. Just take a look at everything
automated/scheduled.

The usual way to get to the bottom of this would be to disable all
plugins (or at least all those that interact with the database and might
(b)lock it) and then reenable one by one. It seems that you certainy
have a lot more plugins installed/enabled than I have.

BTW how many browse menus/virtual libraries, title formats and such do
you have defined/enabled in UCTI?



*Plugin repositories:* 'Ratings Light'
(https://github.com/AF-1/lms-ratingslight)  'Visual Statistics'
(https://github.com/AF-1/lms-visualstatistics)  'Use Comment Tag
Info' (https://github.com/AF-1/lms-usecommenttaginfo)  'Dynamic
Playlists 3 FAQ' (https://github.com/AF-1/lms-dynamicplaylists#faq) 
'Custom Skip 3 FAQ' (https://github.com/AF-1/lms-customskip#faq)

afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306
View this thread: http://forums.slimdevices.com/showthread.php?t=114968

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


Re: [SlimDevices: Plugins] [Announce] Use Comment Tag Info

2021-11-15 Thread mamema


i've try to deliver better logs. I've disabled your plugin, and
everything went back to normal. No problems as described above.
Perhaps it isn't your plugin alone, but a combination of my other
running plugins. A wild guess: i've also plugins like custom scan,
trackstat, db optimizer running.
so, now i've reactivated your plugin, trying to get better logs



mamema's Profile: http://forums.slimdevices.com/member.php?userid=44662
View this thread: http://forums.slimdevices.com/showthread.php?t=114968

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


Re: [SlimDevices: Plugins] [Announce] Use Comment Tag Info

2021-11-15 Thread afriend

mamema wrote: 
> something isn't right.
> as i've activated this plugin without doing other changes, since weeks,
> i would say my problem seems to be this plugin.
> 
> i have this in the logs:
> 
> 
> [21-11-15 06:53:16.6351] Slim::Plugin::Extensions::Plugin::_noResponse
> (476) error fetching https://www.nexus0.net/pub/sw/lmsannounce/repo.xml
> - Connect timed out: Transport endpoint is not connected
> 
> [21-11-15 06:53:38.1918] Slim::Networking::IO::Select::__ANON__ (130)
> Error: Select task failed calling Slim::Web::HTTP::processHTTP:
> DBIx::Class::Storage::DBI::__ANON__(): DBI Exception: DBD::SQLite::db
> prepare_cached failed: attempt to fetch on inactive database handle at
> /lms/Slim/Music/Import.pm line 746
> 
> ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x55bd25d473d0)
> 
> [21-11-15 06:53:45.3226] Slim::Control::Request::execute (1888) Error:
> While trying to run function coderef
> [Slim::Control::Queries::serverstatusQuery]:
> [DBIx::Class::Storage::DBI::__ANON__(): DBI Exception: DBD::SQLite::db
> prepare_cached failed: attempt to fetch on inactive database handle at
> /lms/Slim/Music/Import.pm line 746
> 
> 
> and LMS isn't responive at all.
> 
> i've get this every morning, so i guess it has something to do with the
> nightly update scan.
> I must say, that i have a quite large library 85.000 files.
> After restarting LMS, a db scan is triggered and after the scan LMS is
> working again.

And you don't get any of these messages anymore if you disable this
plugin (UCTI)?

Without knowing more it's hard to say. The first message seems to be a
networking problem ("Connect timed out"...) which may be related to the
unreponsiveness but probably not to UCTI.

The importer related messages are simply saying: some plugin like UCTI
is asking the server if there's an active scanning process but the
server can't get this information at the moment because the "database
handle" is "inactive". That happens if you restart and immediately
trigger a rescan (with the help of some plugin or script), and maybe did
a database wipe before. UCTI only asks for this information
(stillscanning) when it registers title formats or displays track
information (song details page).

So please check the (*timestamps* of the) log messages  *_before_* you
restart LMS (with the auto-rescan).

And then do your restart/rescan and check the log messages and their
timestamp again. Do the importer related messages only show up *after*
the restart/rescan? Do you have a plugin/script enabled that triggers a
rescan after *every* restart? (Plugin updates requires restarts as
well.)

Considering that other UCTI users have enabled auto-updating too and
haven't reported such a behavior (unresponsive) I'm not convinced that
UCTI on its own should have such a terrible effect on your LMS. And I
haven't been able to reproduce this so far either.



*Plugin repositories:* 'Ratings Light'
(https://github.com/AF-1/lms-ratingslight)  'Visual Statistics'
(https://github.com/AF-1/lms-visualstatistics)  'Use Comment Tag
Info' (https://github.com/AF-1/lms-usecommenttaginfo)  'Dynamic
Playlists 3 FAQ' (https://github.com/AF-1/lms-dynamicplaylists#faq) 
'Custom Skip 3 FAQ' (https://github.com/AF-1/lms-customskip#faq)

afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306
View this thread: http://forums.slimdevices.com/showthread.php?t=114968

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


Re: [SlimDevices: Plugins] [Announce] Use Comment Tag Info

2021-11-14 Thread mamema


something isn't right.
as i've activated this plugin without doing other changes, since weeks,
i would say my problem seems to be this plugin.

i have this in the logs:


[21-11-15 06:53:16.6351] Slim::Plugin::Extensions::Plugin::_noResponse
(476) error fetching https://www.nexus0.net/pub/sw/lmsannounce/repo.xml
- Connect timed out: Transport endpoint is not connected

[21-11-15 06:53:38.1918] Slim::Networking::IO::Select::__ANON__ (130)
Error: Select task failed calling Slim::Web::HTTP::processHTTP:
DBIx::Class::Storage::DBI::__ANON__(): DBI Exception: DBD::SQLite::db
prepare_cached failed: attempt to fetch on inactive database handle at
/lms/Slim/Music/Import.pm line 746

; fh=Slim::Web::HTTP::ClientConn=GLOB(0x55bd25d473d0)

[21-11-15 06:53:45.3226] Slim::Control::Request::execute (1888) Error:
While trying to run function coderef
[Slim::Control::Queries::serverstatusQuery]:
[DBIx::Class::Storage::DBI::__ANON__(): DBI Exception: DBD::SQLite::db
prepare_cached failed: attempt to fetch on inactive database handle at
/lms/Slim/Music/Import.pm line 746


and LMS isn't responsible at all.

i've get this every morning, so i guess it has something to do with the
nightly update scan.
I must say, that i have a quite large library 85.000 files.
After restarting LMS, a db scan is triggered and after the scan LMS is
working again.



mamema's Profile: http://forums.slimdevices.com/member.php?userid=44662
View this thread: http://forums.slimdevices.com/showthread.php?t=114968

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


Re: [SlimDevices: Plugins] [Announce] Use Comment Tag Info

2021-11-12 Thread mamema


indeed! Thank you



mamema's Profile: http://forums.slimdevices.com/member.php?userid=44662
View this thread: http://forums.slimdevices.com/showthread.php?t=114968

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


Re: [SlimDevices: Plugins] [Announce] Use Comment Tag Info

2021-11-12 Thread afriend

mamema wrote: 
> just discovered the beauty of this plugin. I have use cases for it. So
> great work.
> What i've discovered, is that every custom menu is under "My Custom
> Menus". It would be nice if this String is customizable without digging
> into the plugin code.
> Thanks again for this plugin.

Glad you like it. If you're referring to the displayed name of the (home
menu) parent folder for the browse menus of your virtual libraries you
should be able to change it in the settings (I think I put it in the
-extras- section).



'Github repos' (https://github.com/AF-1/)  'Dynamic Playlists 3 FAQ'
(https://github.com/AF-1/lms-dynamicplaylists#faq)  'Custom Skip 3
FAQ' (https://github.com/AF-1/lms-customskip#faq)

afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306
View this thread: http://forums.slimdevices.com/showthread.php?t=114968

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


Re: [SlimDevices: Plugins] [Announce] Use Comment Tag Info

2021-11-12 Thread mamema


just discovered the beauty of this plugin. I have use cases for it. So
great work.
What i've discovered, is that every custom menu is under "My Custom
Menus". It would be nice if this String is customizable without digging
into the plugin code.
Thanks again for this plugin.



mamema's Profile: http://forums.slimdevices.com/member.php?userid=44662
View this thread: http://forums.slimdevices.com/showthread.php?t=114968

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


Re: [SlimDevices: Plugins] [Announce] Use Comment Tag Info

2021-09-03 Thread afriend


Thanks for letting me know. Fixed yet another typo. Getting old... :-o
Should work as soon as the LMS main repo picks up the fixed version.



afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306
View this thread: http://forums.slimdevices.com/showthread.php?t=114968

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


Re: [SlimDevices: Plugins] [Announce] Use Comment Tag Info

2021-09-03 Thread RobbH


I am attempting to install this plugin, but having the same problems as
when I first tried to install your new Dynamic Playlists plugin, It
appears to install, then after restarting the server the plugin page
reports there is an update for the plugin, and after installing the
update and restarting the server again, it's back in the list of
inactive third-party plugins.



LMS 8 nightly running on Raspberry Pi OS. Mostly virtual players,
occasionally with SB Radio, Boom or Classic.

RobbH's Profile: http://forums.slimdevices.com/member.php?userid=67008
View this thread: http://forums.slimdevices.com/showthread.php?t=114968

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


Re: [SlimDevices: Plugins] [Announce] Use Comment Tag Info

2021-08-13 Thread Shozzer


Thanks for that. I will have to have a play around with the plugin. The
only thing is that I use the comments section a lot in connection with
classical music - album notes etc.

Steve


afriend wrote: 
> Custom title formats can be used for many things and in many ways I
> guess, just like kidstypike said.
> 
> EXAMPLE 1:
> [/B]-SEARCH STRING-: JPS, -FORMAT NAME:- PEEL, -DISPLAYED TITLE FORMAT
> STRING-: (JOHN PEEL SESSION)
> 
> ON THE LMS SETTINGS > INTERFACE PAGE YOU'D FIND A NEW TITLE FORMAT
> UCTI_PEEL  (= PLUGIN ID PREFIX + FORMAT NAME IN UPPER CASE)
> CREATE AND CHOOSE A NEW TITLE FORMAT: TITLE UCTI_PEEL
> NOW EVERY VIEW THAT USES TITLE FORMATS WILL DISPLAY TRACKS WITH JPS IN
> THEIR COMMENT TAGS AS -TITLE NAME (JOHN PEEL SESSION)-. OTHERWISE JUST
> THE TITLE NAME.
> 
> [B]EXAMPLE 2:
> I have a collection of songs that I like very much by bands I saw live,
> some are rated, some are not, very different songs from all over the
> place. 
> -search string-: favlive, -format name:- sawthemlive, -displayed title
> format string-: black heart icon
> 
> I use the custom title format to display some icon on the now playing
> screen of my -Boom- device using the -Music Information Screen- plugin.
> there should be a custom title format called UCTI_SAWTHEMLIVE on the LMS
> settings > Interface page
> I'll create a new one called RL_RATING_STARS UCTI_SAWTHEMLIVE and on the
> LMS settings > Player > Music Information screen page > Screensaver Two
> lines (standard) so I can display both, track ratings and this icon
> I choose this title format for the upper left corner to display
> available track ratings and the black heart in case the current song
> belongs to that group.
> 
> I'm not sure if my explanations helped but I hope they gave you at least
> an idea of what you can do with this plugin.



Shozzer's Profile: http://forums.slimdevices.com/member.php?userid=58726
View this thread: http://forums.slimdevices.com/showthread.php?t=114968

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


Re: [SlimDevices: Plugins] [Announce] Use Comment Tag Info

2021-08-13 Thread afriend


Shozzer wrote: 
> Looks interesting. Can you define what is meant by 'define and display
> custom title formats'?

the plugin's setting page wrote: 
> Title Formats are available for selection both in the web interface and
> on players. They can be used to display a short string or a character on
> the Now Playing screensaver and the Music Information plugin screensaver
> or to append a string to the track title
> ...
> once you've set your custom title format .. you'll find it on the *LMS
> settings > Interface page*
Custom title formats can be used for many things and in many ways I
guess, just like kidstypike said.

EXAMPLE 1:
[/B]-SEARCH STRING-: JPS, -FORMAT NAME:- PEEL, -DISPLAYED TITLE FORMAT
STRING-: (JOHN PEEL SESSION)

ON THE LMS SETTINGS > INTERFACE PAGE YOU'D FIND A NEW TITLE FORMAT
UCTI_PEEL  (= PLUGIN ID PREFIX + FORMAT NAME IN UPPER CASE)
CREATE AND CHOOSE A NEW TITLE FORMAT: TITLE UCTI_PEEL
NOW EVERY VIEW THAT USES TITLE FORMATS WILL DISPLAY TRACKS WITH JPS IN
THEIR COMMENT TAGS AS -TITLE NAME (JOHN PEEL SESSION)-. OTHERWISE JUST
THE TITLE NAME.

[B]EXAMPLE 2:
I have a collection of songs that I like very much by bands I saw live,
some are rated, some are not, very different songs from all over the
place. 
-search string-: favlive, -format name:- sawthemlive, -displayed title
format string-: black heart icon

I use the custom title format to display some icon on the now playing
screen of my -Boom- device using the -Music Information Screen- plugin.
there should be a custom title format called UCTI_SAWTHEMLIVE on the LMS
settings > Interface page
I'll create a new one called RL_RATING_STARS UCTI_SAWTHEMLIVE and on the
LMS settings > Player > Music Information screen page > Screensaver Two
lines (standard) so I can display both, track ratings and this icon
I choose this title format for the upper left corner to display
available track ratings and the black heart in case the current song
belongs to that group.

I'm not sure if my explanations helped but I hope they gave you at least
an idea of what you can do with this plugin.



afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306
View this thread: http://forums.slimdevices.com/showthread.php?t=114968

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


Re: [SlimDevices: Plugins] [Announce] Use Comment Tag Info

2021-08-13 Thread kidstypike


I don't use the comment tag, but I've just had a play with this, maybe
useful to give an idea of some possible uses? There's probably plenty
more?

35487

35488

35489

35490

35491


+---+
|Filename: use05.jpg|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=35491|
+---+


*Server - LMS 8.3.0 *Pi4B 4GB/Argon one case/pCP 8.0.0 - 75K library,
playlists & LMS cache on SSD (ntfs)
*Study -* Pi4/pCP 8.0.0/Topping E30 DAC/Ruark MR1 Mk2
*Lounge* - Pi2/pCP 8.0.0 > HiFiBerry DIGI+ > AudioEngine DAC1 > AVI DM5
*Dining Room* - Pi3B/pCP/Bluetooth/Echo Show 8
*Garage* - DAC32 > Edifier speakers

*Spares* - 2xTouch, 1xSB Radio. 1xSB3, 6xRPi

kidstypike's Profile: http://forums.slimdevices.com/member.php?userid=10436
View this thread: http://forums.slimdevices.com/showthread.php?t=114968

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


Re: [SlimDevices: Plugins] [Announce] Use Comment Tag Info

2021-08-13 Thread Shozzer


Looks interesting. Can you define what is meant by 'define and display
custom title formats'?

Steve


afriend wrote: 
> This plugin uses (key)words in your music files' comment tags to:
> 
> >   >   > 
  - add extra information to the song details page
  - define and display custom title formats
  - create virtual libraries with browse menus
  > > > 
> 
> Full/current description 'here'
> (https://github.com/AF-1/lms-usecommenttaginfo).



Shozzer's Profile: http://forums.slimdevices.com/member.php?userid=58726
View this thread: http://forums.slimdevices.com/showthread.php?t=114968

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