function string_2_duration(str)
local index = string.find( str, ':' )
if( index == nil ) then return str
function string_2_duration(str)
local index = string.find( str, ':' )
if( index == nil ) then return str
local channel = podcast.children_map['channel'][1]
local arturl = ''
local books = {}
for _, item in ipairs( channel.children ) do
local channel = podcast.children_map['channel'][1]
local arturl = ''
local books = {}
for _, item in ipairs( channel.children ) do
- if(books[book_title] == nil) then
- books[book_title] = vlc.sd.add_node( { title = book_title } )
+ if( books[book_title] == nil ) then
+ books[book_title] = vlc.sd.add_node( { title = book_title,
+ arturl = arturl } )
books[book_title]:add_subitem( { path = item.children_map['link'][1].children[1],
title = item.children_map['title'][1].children[1],
album = item.children_map['itunes:subtitle'][1].children[1],
books[book_title]:add_subitem( { path = item.children_map['link'][1].children[1],
title = item.children_map['title'][1].children[1],
album = item.children_map['itunes:subtitle'][1].children[1],