Commit d8726e1e authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

parser: Add comments

(cherry picked from commit a3e98574)
Signed-off-by: 's avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
parent adfeb8a5
...@@ -159,6 +159,9 @@ void Parser::done( std::shared_ptr<Task> t, Status status ) ...@@ -159,6 +159,9 @@ void Parser::done( std::shared_ptr<Task> t, Status status )
m_opToDo -= m_services.size() - serviceIdx; m_opToDo -= m_services.size() - serviceIdx;
} }
updateStats(); updateStats();
// We create a separate task for refresh, which doesn't count toward
// (mrl,parent_playlist) uniqueness. In order to allow for a subsequent
// refresh of the same file, we remove it once the refresh is complete.
if ( t->item().isRefresh() == true ) if ( t->item().isRefresh() == true )
Task::destroy( m_ml, t->id() ); Task::destroy( m_ml, t->id() );
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment