bgarrels / my-films

Automatically exported from code.google.com/p/my-films
0 stars 0 forks source link

Default start with "Show only films with media available" filter #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This would be useful in two cases:
1. I store half of my movies online and the second half offline (on DAS).
2. I want to use only one database on more HTPCs.

This already existing filter makes my searching for movies easier, although it 
would be great if the plugin would start with this filtered view.

Original issue reported on code.google.com by zavulon...@gmail.com on 25 May 2011 at 11:18

GoogleCodeExporter commented 9 years ago
Currently, the filter is only avilable AFTER a scan was performed.
If it should be available as "start option" one of the following changes is 
required:
- make online status persistant and start with "last known" - update with scan 
results "later"
- make scan at start and wait with initial display until it's finished
The latter imho is not acceptable, as it would take way to long for big 
collections.
Thus only variant one makes sense - but requiring changes on DB handling.
Is this meeting the request?

Original comment by Mikeplan...@web.de on 10 Jul 2011 at 8:57

GoogleCodeExporter commented 9 years ago

Original comment by Mikeplan...@web.de on 10 Jul 2011 at 9:05

GoogleCodeExporter commented 9 years ago
That 'last known' is the way to go.

About DB handling: I think that plugin should have its own database file. Users 
change their AMC database frequently, therefore any changes that plugin made in 
xml file can be gone anytime.
Here's how I think this:
Plugin creates an empty database (can be xml) for itself. While plugin searches 
for movies, it updates its own database by grabbing all necessary infos from 
the user database.
When plugin starts in GUI, it starts with its own database, then - when update 
finished, it will refresh the list. TVSeries does something similar.

Original comment by zavulon...@gmail.com on 11 Jul 2011 at 8:06

GoogleCodeExporter commented 9 years ago
What you describe is quite exact the behaviour MyFilms has for external 
catalogs. This would be easily possible for AMC catalogs too - but you would 
loose the great feature to update the DB from MyFilms into AMC also.
TVseries has ONE internal DB and does not import external DBs - but only 
collects data from films and stores them in that internal DB.
But back to the initial feature request: I think when implementing / making 
availability status persistant by storing it into an extended DB field and 
starting with "last known" (which can be updated, when scan has run at a later 
time) this would fit best the wish to have a quick start and that feature 
available.
IN most cases, you would be fine - only in case, where you have significant 
changes to your availability you would have to wait for the scan to have 
finished.

Original comment by Mikeplan...@web.de on 11 Jul 2011 at 7:08

GoogleCodeExporter commented 9 years ago
"you would loose the great feature to update the DB from MyFilms into AMC also."
Can't see why would it be bad. I mean, any user update will be used only by 
MyFilms, right?
So why can't MyFilms use an internal DB only, which can be updated by user, 
user selected grabber scripts, AND an external AMC DB, which could have e.g 
Plots in foreign languages? AMCUpdater supports only english (and maybe 1-2 
more) language.

"TVseries has ONE internal DB and does not import external DBs"
It surely does: from theTVDB.com - and when any info changes on that website, 
tvseries updates its DB accordingly. But TVseries can't update theTVDB.

"making availability status persistant by storing it into an extended DB field"
No way. That DB field (along with the entire DB) will be deleted/overwritten 
once a week by me. I have multi-purpose DB, can't let it be managed by anything 
else than AMC.

"only in case, where you have significant changes to your availability "
Every time when I turn on NAS/DAS :)

So this thing seems tricky :)

Maybe this way: plugin makes a copy of my DB, writes any necessary info into 
that, and uses that copy when it starts (as Last Known Good Config).
Then after start, it checks for any new user DB, and if found one, it refresh 
itself.
This requires that you handle AMC DB as any other external catalog. But this 
must be optional, so users can still have the AMCUpdater feature - and lose 
this feature.
Mixing these features - I think it's near impossible without using an internal 
DB.

Original comment by zavulon...@gmail.com on 11 Jul 2011 at 8:07

GoogleCodeExporter commented 9 years ago
MyFilms now offers ability to check availability on startup plus a filter to 
only show available movies.
If both enabled, it will start with full list - and update to only available as 
soon as check is finished.

Original comment by Mikeplan...@web.de on 5 Nov 2011 at 10:19

GoogleCodeExporter commented 9 years ago
Sounds great, I would like to test it :)

Original comment by zavulon...@gmail.com on 6 Nov 2011 at 5:38

GoogleCodeExporter commented 9 years ago
Additional Tooltip info in rev#1719

Original comment by Mikeplan...@web.de on 13 Nov 2011 at 11:33

GoogleCodeExporter commented 9 years ago
Updated Screenshot and notes in Wiki: Filters Setup > Default Filter Settings, 
to show 'Show only available movies' filter. And a note on Filters page that 
you can now choose it as a default filter.

Scan media on startup was already done previously.

Original comment by Dade...@gmail.com on 14 Dec 2011 at 11:24

GoogleCodeExporter commented 9 years ago

Original comment by Guzz...@googlemail.com on 13 Jun 2012 at 8:02

GoogleCodeExporter commented 9 years ago

Original comment by Dade...@gmail.com on 16 Sep 2012 at 1:48