Project

General

Profile

Actions

Bug #340

closed

Drop UI's videos array

Added by Hammel over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
UI
Target version:
Start date:
02 Jun 2014
Due date:
% Done:

100%

Estimated time:
Severity:
03 - Medium

Description

The UI keeps a list of Video objects separate from the LocalDB class. This causes problems. The fix is as follows.
  1. A directory scan computes the ListName and queries the DB for it.
  2. If found then the ListName is used in the list.
  3. If not found, then a new Video object is created and the ListName set and used in the list. The video object is added to the db.

From that point on the localDB should be queried for Video objects and the UI's videos array should be removed.

Actions #1

Updated by Hammel over 7 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

The use of a private array for Video objects in the UI has been removed and now only the LocalDB is used to store Video objects. The UI makes use of the db whenever it needs to access a video object.

This issue can be closed.

Actions

Also available in: Atom PDF