mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-12-17 18:38:50 +00:00
Use ProblematicTimelineItem as needed in playlists
This commit is contained in:
@@ -296,7 +296,13 @@ module Invidious::Routes::Feeds
|
||||
xml.element("name") { xml.text playlist.author }
|
||||
end
|
||||
|
||||
videos.each &.to_xml(xml)
|
||||
videos.each do |video|
|
||||
if video.is_a? PlaylistVideo
|
||||
video.to_xml(xml)
|
||||
else
|
||||
video.to_xml(env, locale, xml)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user