Comments (5)
Another possibility would be to create a new class ImportForcedTask
I will basically take all NFOs, and reapply normal process
from service.nfo.sync.
Maybe we could add a return code to save_nfo(): True if actually saved, False if skipped
This way we could detect whether we should issue a refresh
from service.nfo.sync.
save_nfo() now returns True / False: 0e7466c
from service.nfo.sync.
also having a full export could be useful, to synchronize userrating for example, as we have no proper trigger to detect changes
from service.nfo.sync.
We could arrange a slightly different approach than the existing one:
- create class
ManualImportTask
, whose process is basically:- for each of the entries in library, export without rebuilding to save the watched state
- useful? Risky?
- scan outdated NFOs (or all if param force is set)
- for each of them, if XML is different, remove the entry from library
- launch a library scan
- optionally: launch a library clean-up
- for each of the entries in library, export without rebuilding to save the watched state
- add action in settings (or real dialog?)
- if possible, allow some params: force, ...
This could help wrapping the operations within a task, rather than asynchronously trigger many refreshes that we don't control.
from service.nfo.sync.
Related Issues (18)
- make addon compatible with Kodi v17 (Krypton) HOT 1
- add other triggers for export
- scripts are not applied on new videos HOT 5
- initiate a wiki HOT 2
- design a nicer icon HOT 1
- nfo that are exported will be processed again at next import, what should we do? HOT 7
- only allow 1 script to be run for both import and export phases HOT 1
- settings for toggling import and export specifically are useless HOT 1
- integrate TV shows and music videos
- allow import of a single entry HOT 2
- reorganize notifications in tasks HOT 3
- import problem in export_single.py HOT 2
- reorganize export task classes HOT 1
- review processing in tasks HOT 1
- don't set autoclean by default
- review log levels
- dump task results to files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from service.nfo.sync.