fix: resolve AttributeError when accessing sqlite3.Row in api_get_channel_videos
All checks were successful
Docker Build / build (push) Successful in 12s

This commit is contained in:
wander 2026-03-08 06:48:54 -04:00
parent 568601181d
commit b7ca75b57e

View file

@ -1479,7 +1479,7 @@ def api_get_channel_videos():
"filename": Path(row['symlink']).name if row['symlink'] else meta.get('title'), "filename": Path(row['symlink']).name if row['symlink'] else meta.get('title'),
"source_path": meta.get('filesystem_path'), "source_path": meta.get('filesystem_path'),
"ta_source": meta.get('channel_name', channel_name), "ta_source": meta.get('channel_name', channel_name),
"is_live": bool(row['is_live']) if 'is_live' in [k[0] for k in row.description] else False "is_live": bool(row['is_live']) if 'is_live' in row.keys() else False
}) })
return jsonify(videos) return jsonify(videos)