fix: better bodge
This commit is contained in:
parent
e7a88e8143
commit
ff913c7488
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ fn find_season_children(
|
||||||
for entry in entries {
|
for entry in entries {
|
||||||
if let (Some(stem), Some(ext)) = (entry.file_stem(), entry.extension()) {
|
if let (Some(stem), Some(ext)) = (entry.file_stem(), entry.extension()) {
|
||||||
if let (Some(stem), Some(ext)) = (stem.to_str(), ext.to_str()) {
|
if let (Some(stem), Some(ext)) = (stem.to_str(), ext.to_str()) {
|
||||||
if stem.contains("Episode") && ext == "nfo" {
|
if !(stem.contains("season") || stem.contains("tvshow")) && ext == "nfo" {
|
||||||
let data = read_data(entry)?;
|
let data = read_data(entry)?;
|
||||||
let video = entry.with_extension("mp4");
|
let video = entry.with_extension("mp4");
|
||||||
let url = get_url(
|
let url = get_url(
|
||||||
|
|
Loading…
Reference in a new issue