Open tjenkinson opened 9 years ago
Also have a look at generating a transcript of the video during the processing which can also be indexed for searching.
media_items
table "pending_search_index_version" which should be an integer which is incremented by 1 every time something changes that should result in the item being reindexed (or removed from the index in the case of it becoming inaccessible).media_items
table "current_search_index_version" which should be set to the version number of the content that is currently indexed. This means if these 2 numbers are ever different the item should be indexed/reindexed/unindexed.playlists
table "pending_search_index_version"playlists
table "current_search_index_version"shows
table "pending_search_index_version"shows
table "current_search_index_version"There will be the following types:
{
id: <id>,
name: <name>,
description: <description>,
scheduledPublishTime: <publish time>,
playlists: [{
generatedName: <name of item when in this playlist>,
coverArtUri: <cover art uri for item when in this playlist>,
url: <url to this item>,
playlist: {
id: <id>,
name: <name>,
description: <description>,
coverArtUri: <cover art uri>,
scheduledPublishTime: <publish time>,
seriesNo: <series number>,
url: <url to this playlist>,
show: {
id: <id>,
name: <name>,
description: <description>,
url: <url to this show>
}
}
}]
}
{
id: <id>,
name: <name>,
description: <description>,
coverArtUri: <cover art uri>,
scheduledPublishTime: <publish time>,
seriesNo: <series number>,
url: <url to this playlist>,
show: {
id: <id>,
name: <name>,
description: <description>,
url: <url to this show>
}
}
{
id: <id>,
name: <name>,
description: <description>,
url: <url to this show>
}
Back end store work now completed https://github.com/LA1TV/Website/pull/644
Search is now available on desktops (https://github.com/LA1TV/Website/pull/656 https://github.com/LA1TV/Website/pull/657)
TODO
Probably use something like http://www.elasticsearch.org/