PDA

View Full Version : Is there a Last Played option in LMS?



castalla
2014-03-23, 19:06
Well, is there?

SlimChances
2014-03-23, 19:32
Mike Herger's "What Was That Tune?" plugin will show the last played track going back several days.

erland
2014-03-23, 21:25
There are three third party plugins that offer this functionality:
- PlayLog
- What Was That Tune?
- TrackStat

castalla
2014-03-24, 01:09
There are three third party plugins that offer this functionality:
- PlayLog
- What Was That Tune?
- TrackStat

Thanks.

Before I get lost in the terrific detail of these plugins (!), do any of them offer the ability to go into the Music menu and simply select Last Played (eg. maybe 10 tracks, etc.) from a Touch player? I've seen this feature in many Android music players (sometimes as an additional playlist) ... ?

SlimChances
2014-03-24, 06:01
Thanks.

Before I get lost in the terrific detail of these plugins (!), do any of them offer the ability to go into the Music menu and simply select Last Played (eg. maybe 10 tracks, etc.) from a Touch player? I've seen this feature in many Android music players (sometimes as an additional playlist) ... ?


What Was That Tune? - I think it will give you the option of playing the last track (use plus key and select What Was That Tune?) or any of the last tracks listed but I don't think it will play more than one track at a time

castalla
2014-03-24, 06:45
What Was That Tune? - I think it will give you the option of playing the last track (use plus key and select What Was That Tune?) or any of the last tracks listed but I don't think it will play more than one track at a time

I installed it - seems it only plays one track.

Playlog doesn't have an on-screen menu ...

Hmmmm ....

SlimChances
2014-03-24, 06:50
It may not populate the last tracks you played till you have used it for awhile. But yes you will only be able to play one track at a time as I said

Press + on now playing to access it

castalla
2014-03-24, 07:01
It may not populate the last tracks you played till you have used it for awhile. But yes you will only be able to play one track at a time as I said

Press + on now playing to access it

I wonder if the author (Michael Herger) could add a 'Save current list as Recents playlist' ?

mherger
2014-03-24, 07:03
> It may not populate the last tracks you played till you have used it
> for awhile. But yes you will only be able to play one track at a time as
> I said

But you should be able to browse the track's artist or album from the menu.

--

Michael

SlimChances
2014-03-24, 07:04
I wonder if the author (Michael Herger) could add a 'Save current list as Recents playlist' ?

That would be great but looking at my list it goes back 3 or 4 days and contains a few hundred tracks

mherger
2014-03-24, 07:09
> I wonder if the author (Michael Herger) could add a 'Save current list
> as Recents playlist' ?

Save the full list of tracks as a playlist? Hmm....

--

Michael

castalla
2014-03-24, 07:21
> I wonder if the author (Michael Herger) could add a 'Save current list
> as Recents playlist' ?

Save the full list of tracks as a playlist? Hmm....

--

Michael

Maybe a + option when in the listing to save as Last Played playlist. Possibly a limit on the actual number (say 10).

???

Would be a nice feature, imho!

erland
2014-03-25, 09:41
Before I get lost in the terrific detail of these plugins (!), do any of them offer the ability to go into the Music menu and simply select Last Played (eg. maybe 10 tracks, etc.) from a Touch player? I've seen this feature in many Android music players (sometimes as an additional playlist) ... ?

With TrackStat you can select My Music/TrackStat/Last Played/Last Played Songs, if you hit Play it will play them if you hit right arrow it will list them.
It's possible to configure in the TrackStat settings page how many tracks you want it to include.

castalla
2014-03-25, 10:40
With TrackStat you can select My Music/TrackStat/Last Played/Last Played Songs, if you hit Play it will play them if you hit right arrow it will list them.
It's possible to configure in the TrackStat settings page how many tracks you want it to include.

Interesting ... installed.

2 points so far

I selected only last played songs -10 tracks

1. The menu option Last Played Songs appears on 2 Lines in the menu - then selecting displays Last Played Songs again on one menu line

2. In settings, Remove all data doesn't work

erland
2014-03-25, 11:20
Interesting ... installed.

2 points so far

I selected only last played songs -10 tracks

1. The menu option Last Played Songs appears on 2 Lines in the menu - then selecting displays Last Played Songs again on one menu line

2. In settings, Remove all data doesn't work

Do you get any errors in the LMS server.log file ?

castalla
2014-03-25, 12:04
Do you get any errors in the LMS server.log file ?

Here's part of log:




[05-01-01 01:00:34.6985] main::init (368) Starting Logitech Media Server (v7.8.0, 1395395852, Fri Mar 21 20:05:02 PDT 2014) perl 5.010001
[14-03-25 14:08:13.6105] Slim::Utils::Scanner::Local::rescan (174) Discovering audio files in /srv/media/usb1_1
[14-03-25 14:08:19.9654] Slim::Utils::Scanner::Local::__ANON__ (257) Removing deleted audio files (0)
[14-03-25 14:08:19.9663] Slim::Utils::Scanner::Local::__ANON__ (335) Scanning new audio files (0)
[14-03-25 14:08:19.9674] Slim::Utils::Scanner::Local::__ANON__ (413) Rescanning changed audio files (0)
[14-03-25 14:08:19.9741] Slim::Utils::Scanner::Local::rescan (174) Discovering audio files in /srv/media/usb1_1
[14-03-25 14:08:24.6753] Slim::Utils::Scanner::Local::__ANON__ (257) Removing deleted audio files (0)
[14-03-25 14:08:24.6761] Slim::Utils::Scanner::Local::__ANON__ (335) Scanning new audio files (0)
[14-03-25 14:08:24.6769] Slim::Utils::Scanner::Local::__ANON__ (413) Rescanning changed audio files (0)
[14-03-25 14:08:24.7318] Slim::Music::Artwork::updateStandaloneArtwork (204) Starting updateStandaloneArtwork for 68 albums
[14-03-25 14:08:25.4917] Slim::Music::Artwork::__ANON__ (302) updateStandaloneArtwork finished in 0.758323192596436
[14-03-25 14:08:25.5043] Slim::Music::Artwork::precacheAllArtwork (608) Starting precacheArtwork for 0 albums
2014-03-25 17:50:12 squeezeboxserver_safe stopped.
2014-03-25 17:50:27 squeezeboxserver_safe started.
[14-03-25 17:50:30.6253] main::init (368) Starting Logitech Media Server (v7.8.0, 1395395852, Fri Mar 21 20:05:02 PDT 2014) perl 5.010001
[14-03-25 17:50:36.4464] Slim::Schema::Storage::throw_exception (122) Error: DBI Exception: DBD::SQLite::db do failed: no such column: urlmd5 [for Statement "select urlmd5 from track_statistics limit 1;"]
[14-03-25 17:50:36.4478] Slim::Schema::Storage::throw_exception (122) Backtrace:

frame 0: Slim::Utils::Log::logBacktrace (/usr/share/perl5/Slim/Schema/Storage.pm line 122)
frame 1: Slim::Schema::Storage::throw_exception (/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 1006)
frame 2: DBIx::Class::Storage::DBI::__ANON__ (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/TrackStat/Storage.pm line 336)
frame 3: (eval) (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/TrackStat/Storage.pm line 336)
frame 4: Plugins::TrackStat::Storage::init (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/TrackStat/Plugin.pm line 2676)
frame 5: Plugins::TrackStat::Plugin::initPlugin (/usr/share/perl5/Slim/Utils/PluginManager.pm line 372)
frame 6: (eval) (/usr/share/perl5/Slim/Utils/PluginManager.pm line 372)
frame 7: Slim::Utils::PluginManager::load (/usr/sbin/squeezeboxserver line 575)
frame 8: main::init (/usr/sbin/squeezeboxserver line 656)
frame 9: main::main (/usr/sbin/squeezeboxserver line 1192)

[14-03-25 18:05:03.0429] Slim::Control::Request::notify (2084) Error: Failed notify: Can't call method "name" on an undefined value at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes/Plugin.pm line 63.
2014-03-25 18:05:36 squeezeboxserver_safe stopped.
2014-03-25 18:05:46 squeezeboxserver_safe started.
[14-03-25 18:05:49.8479] main::init (368) Starting Logitech Media Server (v7.8.0, 1395395852, Fri Mar 21 20:05:02 PDT 2014) perl 5.010001
[14-03-25 18:05:55.9688] Slim::Control::Request::notify (2084) Error: Failed notify: Can't call method "name" on an undefined value at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes/Plugin.pm line 63.
2014-03-25 18:17:06 squeezeboxserver_safe stopped.
2014-03-25 18:17:15 squeezeboxserver_safe started.
[14-03-25 18:17:19.1753] main::init (368) Starting Logitech Media Server (v7.8.0, 1395395852, Fri Mar 21 20:05:02 PDT 2014) perl 5.010001
[14-03-25 18:17:24.7068] Slim::Web::Cometd::handler (422) errorNeedsClient: 00:04:20:22:ed:3d, status, -, 10, menu:menu, useContextMenu:1, subscribe:600
2014-03-25 18:30:22 squeezeboxserver_safe stopped.
2014-03-25 18:30:44 squeezeboxserver_safe started.
[14-03-25 18:30:48.3230] main::init (368) Starting Logitech Media Server (v7.8.0, 1395395852, Fri Mar 21 20:05:02 PDT 2014) perl 5.010001
[14-03-25 18:33:21.8346] Plugins::TrackStat::Storage::refreshTracks (1237) TrackStat: Synchronizing TrackStat data, please wait...
[14-03-25 18:33:22.0992] Plugins::TrackStat::Storage::refreshTracks (1886) TrackStat: Synchronizing TrackStat data finished


The listing is cleared on LMS gui BUT not on Touch display

erland
2014-03-25, 12:16
Here's part of log:

Can you try to:
1. Goto LMS Settings/Advanced/Logging and:
- Change "plugin.trackstat" to debug
- Select "Save logging settings for use at next application restart"
- Save
2. Restart LMS
3. Goto My Music/TrackStat/Last Played/Last Played Songs
4. Post or mail me the server.log again
5. Goto LMS Settings/Advanced/Logging and restore plugin.trackstat to "Warn" logging level and select "Save logging settings for use at next application restart" to ensure its kept at next restart.

castalla
2014-03-25, 12:51
Log after restart and debug on:

erland
2014-03-25, 13:12
Log after restart and debug on:

Strange, no errors in the log as far as I can see.

Are the last played tracks displayed properly in the LMS web interface in the TrackStat menu ?

castalla
2014-03-25, 14:12
Strange, no errors in the log as far as I can see.

Are the last played tracks displayed properly in the LMS web interface in the TrackStat menu ?

Touch - songs added to existing list

LMS - shows nothing

castalla
2014-03-25, 17:10
i installed Trackstat on a different server - set up with same setting as other server.

Very strange. Same effects - erratic listing of tracks, no delete of data AND even more curiously, despite Last Played being the only statistic checked, the menu only show Last Added !!! Even the list is longer than the 10 item limit specfied in the settings - and shows about 15 items.