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

parser: Add comments

parent 31e04efb
......@@ -159,6 +159,9 @@ void Parser::done( std::shared_ptr<Task> t, Status status )
m_opToDo -= m_services.size() - serviceIdx;
}
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 )
Task::destroy( m_ml, t->id() );
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