Summary: | When there's no collection, Context Browser isn't shown even for streams | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Sebastian Buch <kdebug> |
Component: | general | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version: | 1.4.2 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Sebastian Buch
2006-09-04 16:12:52 UTC
Amarok won't function properly without the context browser. In 1.4.2, you can use the USB disk as a removable drive, as part of a dynamic collection. When the device gets inserted/removed, then the collection will add/remove the appropriate songs as required automatically. So, no need to use it as a media device. What about users who are only using Amarok for Onlineradio and Last.FM? I just removed the Disk and Amarok automatically removes the collection so the "Create Collection Database" is visable again. Changing the summary... Again... SVN commit 581650 by aoliveira: Let the context browser work with streams, for people without any collection. BUG: 133548 M +12 -8 contextbrowser.cpp --- trunk/extragear/multimedia/amarok/src/contextbrowser.cpp #581649:581650 @@ -1076,16 +1076,20 @@ } // TODO: Show CurrentTrack or Lyric tab if they were selected - if ( m_emptyDB && CollectionDB::instance()->isValid() && !MountPointManager::instance()->collectionFolders().isEmpty() ) + // If it's not a streaming, check for a collection + if ( !EngineController::engine()->isStream() ) { - showScanning(); - return; + if ( m_emptyDB && CollectionDB::instance()->isValid() && !MountPointManager::instance()->collectionFolders().isEmpty() ) + { + showScanning(); + return; + } + else if ( CollectionDB::instance()->isEmpty() || !CollectionDB::instance()->isValid() ) + { + showIntroduction(); + return; + } } - else if ( CollectionDB::instance()->isEmpty() || !CollectionDB::instance()->isValid() ) - { - showIntroduction(); - return; - } if( !m_dirtyCurrentTrackPage ) return; m_currentURL = EngineController::instance()->bundle().url(); |