1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-04 13:17:34 +02:00

Add InfoAlbumPurchaseUrl info system type

This commit is contained in:
Dominik Schmidt
2015-04-13 22:49:18 +02:00
parent d86fdded4b
commit 58a52c71c2
2 changed files with 40 additions and 38 deletions

View File

@@ -52,35 +52,36 @@ Tomahawk.InfoSystem.InfoType.InfoAlbumDate = 46;
Tomahawk.InfoSystem.InfoType.InfoAlbumGenre = 47; Tomahawk.InfoSystem.InfoType.InfoAlbumGenre = 47;
Tomahawk.InfoSystem.InfoType.InfoAlbumComposer = 48; Tomahawk.InfoSystem.InfoType.InfoAlbumComposer = 48;
Tomahawk.InfoSystem.InfoType.InfoAlbumSongs = 49; Tomahawk.InfoSystem.InfoType.InfoAlbumSongs = 49;
Tomahawk.InfoSystem.InfoType.InfoAlbumPurchaseUrl = 50;
Tomahawk.InfoSystem.InfoType.InfoChartCapabilities = 50; Tomahawk.InfoSystem.InfoType.InfoChartCapabilities = 60;
Tomahawk.InfoSystem.InfoType.InfoChart = 51; Tomahawk.InfoSystem.InfoType.InfoChart = 61;
Tomahawk.InfoSystem.InfoType.InfoNewReleaseCapabilities = 52; Tomahawk.InfoSystem.InfoType.InfoNewReleaseCapabilities = 62;
Tomahawk.InfoSystem.InfoType.InfoNewRelease = 53; Tomahawk.InfoSystem.InfoType.InfoNewRelease = 63;
Tomahawk.InfoSystem.InfoType.InfoMiscTopHotttness = 60; Tomahawk.InfoSystem.InfoType.InfoMiscTopHotttness = 70;
Tomahawk.InfoSystem.InfoType.InfoMiscTopTerms = 61; Tomahawk.InfoSystem.InfoType.InfoMiscTopTerms = 71;
Tomahawk.InfoSystem.InfoType.InfoSubmitNowPlaying = 70; Tomahawk.InfoSystem.InfoType.InfoSubmitNowPlaying = 80;
Tomahawk.InfoSystem.InfoType.InfoSubmitScrobble = 71; Tomahawk.InfoSystem.InfoType.InfoSubmitScrobble = 81;
Tomahawk.InfoSystem.InfoType.InfoNowPlaying = 80; Tomahawk.InfoSystem.InfoType.InfoNowPlaying = 90;
Tomahawk.InfoSystem.InfoType.InfoNowPaused = 81; Tomahawk.InfoSystem.InfoType.InfoNowPaused = 91;
Tomahawk.InfoSystem.InfoType.InfoNowResumed = 82; Tomahawk.InfoSystem.InfoType.InfoNowResumed = 92;
Tomahawk.InfoSystem.InfoType.InfoNowStopped = 83; Tomahawk.InfoSystem.InfoType.InfoNowStopped = 93;
Tomahawk.InfoSystem.InfoType.InfoTrackUnresolved = 84; Tomahawk.InfoSystem.InfoType.InfoTrackUnresolved = 94;
Tomahawk.InfoSystem.InfoType.InfoLove = 90; Tomahawk.InfoSystem.InfoType.InfoLove = 100;
Tomahawk.InfoSystem.InfoType.InfoUnLove = 91; Tomahawk.InfoSystem.InfoType.InfoUnLove = 101;
Tomahawk.InfoSystem.InfoType.InfoShareTrack = 92; Tomahawk.InfoSystem.InfoType.InfoShareTrack = 102;
Tomahawk.InfoSystem.InfoType.InfoNotifyUser = 100; Tomahawk.InfoSystem.InfoType.InfoNotifyUser = 110;
Tomahawk.InfoSystem.InfoType.InfoInboxReceived = 101; Tomahawk.InfoSystem.InfoType.InfoInboxReceived = 111;
Tomahawk.InfoSystem.InfoType.InfoLastInfo = 102; //WARNING: *ALWAYS* keep this last! Tomahawk.InfoSystem.InfoType.InfoLastInfo = 112; //WARNING: *ALWAYS* keep this last!
// PushInfoFlags // PushInfoFlags
Tomahawk.InfoSystem.PushInfoFlags = Object.create(null); Tomahawk.InfoSystem.PushInfoFlags = Object.create(null);

View File

@@ -205,6 +205,7 @@ namespace Tomahawk
InfoAlbumGenre = 47, InfoAlbumGenre = 47,
InfoAlbumComposer = 48, InfoAlbumComposer = 48,
InfoAlbumSongs = 49, InfoAlbumSongs = 49,
InfoAlbumPurchaseUrl = 50,
/** \var Tomahawk::InfoSystem::InfoType Tomahawk::InfoSystem::InfoType::InfoChartCapabilities /** \var Tomahawk::InfoSystem::InfoType Tomahawk::InfoSystem::InfoType::InfoChartCapabilities
* Documentation for InfoChartCapabilities * Documentation for InfoChartCapabilities
@@ -212,36 +213,36 @@ namespace Tomahawk
* Clients of this InfoType expect a QVariant * Clients of this InfoType expect a QVariant
* *
*/ */
InfoChartCapabilities = 50, InfoChartCapabilities = 60,
/** /**
* Documentation for InfoChartArtists * Documentation for InfoChartArtists
*/ */
InfoChart = 51, InfoChart = 61,
InfoNewReleaseCapabilities = 52, InfoNewReleaseCapabilities = 62,
InfoNewRelease = 53, InfoNewRelease = 63,
InfoMiscTopHotttness = 60, InfoMiscTopHotttness = 70,
InfoMiscTopTerms = 61, InfoMiscTopTerms = 71,
InfoSubmitNowPlaying = 70, InfoSubmitNowPlaying = 80,
InfoSubmitScrobble = 71, InfoSubmitScrobble = 81,
InfoNowPlaying = 80, InfoNowPlaying = 90,
InfoNowPaused = 81, InfoNowPaused = 91,
InfoNowResumed = 82, InfoNowResumed = 92,
InfoNowStopped = 83, InfoNowStopped = 93,
InfoTrackUnresolved = 84, InfoTrackUnresolved = 94,
InfoLove = 90, InfoLove = 100,
InfoUnLove = 91, InfoUnLove = 101,
InfoShareTrack = 92, InfoShareTrack = 102,
InfoNotifyUser = 100, InfoNotifyUser = 110,
InfoInboxReceived = 101, InfoInboxReceived = 111,
InfoLastInfo = 102 //WARNING: *ALWAYS* keep this last! InfoLastInfo = 112 //WARNING: *ALWAYS* keep this last!
}; };
class InfoPlugin; class InfoPlugin;