Suche im Streaming
{
let url = '/streaming/';
if (url.slice(-1) == '/') {
url = url.slice(0, -1);
}
if (value.search.length > 0) {
url += '/search/' + encodeURIComponent(value.search);
}
if (value.type.length > 0) {
url += '/type/' + value.type;
}
if (value.provider.length > 0) {
url += '/provider/' + value.provider.join('&');
}
if (value.genre.length > 0) {
url += '/genre/' + value.genre.join('&');
}
if (value.year.length > 0) {
url += '/year/y' + value.year.join('&');
}
if (value.fsk.length > 0) {
url += '/fsk/' + value.fsk.join('&');
}
if (value.popularity.length > 0) {
url += '/popularity/' + value.popularity;
}
if (value.rating.length > 0) {
url += '/rating/' + value.rating;
}
if (value.period.length > 0) {
url += '/period/' + value.period;
}
if (!value.search) {
url += '/sort/popularity:desc';
}
window.location.href = url + '/';
}"
>
Sortiert nach
{
let url = '/streaming/';
if (url.slice(-1) == '/') {
url = url.slice(0, -1);
}
if (value) {
url += '/sort/' + value;
}
window.location.href = url + '/';
}"
>