Skip to content

Commit

Permalink
Change variable name from SongId to TrackId. It's song_id in the data…
Browse files Browse the repository at this point in the history
…base, but better described as a track internally.
  • Loading branch information
stuartm committed Sep 10, 2013
1 parent f1dffbe commit 1f81373
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mythtv/programs/mythbackend/services/content.cpp
Expand Up @@ -345,13 +345,13 @@ QFileInfo Content::GetVideoArtwork( const QString &sType,
//
/////////////////////////////////////////////////////////////////////////////

QFileInfo Content::GetAlbumArt( int nSongId, int nWidth, int nHeight )
QFileInfo Content::GetAlbumArt( int nTrackId, int nWidth, int nHeight )
{
// ----------------------------------------------------------------------
// Read AlbumArt file path from database
// ----------------------------------------------------------------------

MusicMetadata *metadata = MusicMetadata::createFromID(nSongId);
MusicMetadata *metadata = MusicMetadata::createFromID(nTrackId);

if (!metadata)
return QFileInfo();
Expand Down
2 changes: 1 addition & 1 deletion mythtv/programs/mythbackend/services/content.h
Expand Up @@ -65,7 +65,7 @@ class Content : public ContentServices
QFileInfo GetVideoArtwork ( const QString &Type,
int Id, int Width, int Height );

QFileInfo GetAlbumArt ( int SongId, int Width, int Height );
QFileInfo GetAlbumArt ( int Id, int Width, int Height );

QFileInfo GetPreviewImage ( int ChanId,
const QDateTime &StartTime,
Expand Down

0 comments on commit 1f81373

Please sign in to comment.