Browse Source

fix playouts that use shows or seasons (#65)

pull/66/head
Jason Dove 4 years ago committed by GitHub
parent
commit
c07e2afff4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ErsatzTV.Infrastructure/Data/Repositories/MediaCollectionRepository.cs

2
ErsatzTV.Infrastructure/Data/Repositories/MediaCollectionRepository.cs

@ -185,7 +185,7 @@ namespace ErsatzTV.Infrastructure.Data.Repositories @@ -185,7 +185,7 @@ namespace ErsatzTV.Infrastructure.Data.Repositories
public Task<bool> IsCustomPlaybackOrder(int collectionId) =>
_dbConnection.QuerySingleAsync<bool>(
@"SELECT UseCustomPlaybackOrder FROM Collection WHERE Id = @CollectionId",
@"SELECT IFNULL(MIN(UseCustomPlaybackOrder), 0) FROM Collection WHERE Id = @CollectionId",
new { CollectionId = collectionId });
private async Task<List<MediaItem>> GetItemsForCollection(Collection collection)

Loading…
Cancel
Save