mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-01-12 00:59:12 +01:00
Added lastPlayedSkipCollection parameter to allow a collection from not being included in the lastplayed playlist.
This commit is contained in:
parent
800caa8c04
commit
21bf07f502
@ -691,9 +691,12 @@ void RetroFE::run( )
|
||||
nextPageItem_ = currentPage_->getSelectedItem( );
|
||||
launchEnter( );
|
||||
CollectionInfoBuilder cib(config_, *metadb_);
|
||||
std::string attractModeSkipPlaylist = "";
|
||||
config_.getProperty( "attractModeSkipPlaylist", attractModeSkipPlaylist );
|
||||
if (currentPage_->getPlaylistName( ) != attractModeSkipPlaylist)
|
||||
std::string attractModeSkipPlaylist = "";
|
||||
std::string lastPlayedSkipCollection = "";
|
||||
config_.getProperty( "attractModeSkipPlaylist", attractModeSkipPlaylist );
|
||||
config_.getProperty( "lastPlayedSkipCollection", lastPlayedSkipCollection );
|
||||
if (currentPage_->getPlaylistName( ) != attractModeSkipPlaylist &&
|
||||
nextPageItem_->collectionInfo->name != lastPlayedSkipCollection)
|
||||
cib.updateLastPlayedPlaylist( currentPage_->getCollection(), nextPageItem_ ); // Update last played playlist if not currently in the skip playlist (e.g. settings)
|
||||
l.run(nextPageItem_->collectionInfo->name, nextPageItem_);
|
||||
launchExit( );
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
|
||||
std::string retrofe_version_major = "0";
|
||||
std::string retrofe_version_minor = "9";
|
||||
std::string retrofe_version_build = "0";
|
||||
std::string retrofe_version_build = "1";
|
||||
|
||||
|
||||
std::string Version::getString( )
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user