[Enhancement] Add Media Center support for videos uploaded on the same day (#221)

* Added upload date index field to media_items

* Added incrementing index for upload dates

* Added media item upload date index to download option builder

* Added new season_episode_index_from_date to UI; updated parser

* Improve support for channels

* Hopefully fixed flakey test
This commit is contained in:
Kieran 2024-05-02 11:06:10 -07:00 committed by GitHub
parent 112c6a4f14
commit 04b14719ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 261 additions and 16 deletions

View file

@ -0,0 +1,11 @@
defmodule Pinchflat.Repo.Migrations.AddUploadDateIndexToMediaItems do
use Ecto.Migration
def change do
alter table(:media_items) do
add :upload_date_index, :integer, null: false, default: 0
end
create index("media_items", [:upload_date])
end
end