Commit 2482cb938fb76576eaf763dbfa42abace04c22e8
- don't list podcasts with regular artists, even when itunes put them on the master playlist
svn path=/branches/stable/extragear/multimedia/amarok/; revision=748466
| |   |
| 1264 | 1264 | updateRootItems(); |
| 1265 | 1265 | m_customAction->setEnabled( true ); |
| 1266 | 1266 | |
| m_dbChanged = true; // write at least once for synchronising new stats |
|
| 1267 | 1269 | return true; |
| 1268 | 1270 | } |
| 1269 | 1271 | |
| … | … | |
| 1480 | 1480 | |
| 1481 | 1481 | Amarok::StatusBar::instance()->shortMessage( |
| 1482 | 1482 | i18n( "Updated artwork for one track", "Updated artwork for %n tracks", updateCount ) ); |
|
| if(!m_dbChanged) |
| m_dbChanged = updateCount > 0; |
| 1483 | 1486 | } |
| 1484 | 1487 | |
| 1485 | 1488 | |
| … | … | |
| 1645 | 1645 | } |
| 1646 | 1646 | } |
| 1647 | 1647 | |
| if(!stale && m_masterPlaylist && itdb_playlist_contains_track(m_masterPlaylist, track)) |
| if(!stale && m_masterPlaylist && itdb_playlist_contains_track(m_masterPlaylist, track) |
| && (!m_podcastPlaylist || !itdb_playlist_contains_track(m_podcastPlaylist, track))) |
| 1649 | 1650 | { |
| 1650 | 1651 | visible = true; |
| 1651 | 1652 | |
| … | … | |
| 1913 | 1913 | bool |
| 1914 | 1914 | IpodMediaDevice::writeITunesDB( bool threaded ) |
| 1915 | 1915 | { |
| if(m_itdb) |
| m_dbChanged = true; // write unconditionally for resetting recent_playcount |
| if(!m_itdb) |
| return false; |
| 1918 | 1918 | |
| 1919 | 1919 | if(m_dbChanged) |
| 1920 | 1920 | { |