Merge pull request #120 from ArabCoders/dev
FAQ.md remove outdated info about importing unplayed items.
This commit is contained in:
16
FAQ.md
16
FAQ.md
@@ -231,19 +231,3 @@ These are the agents we support for plex media server.
|
||||
* com.plexapp.agents.xbmcnfo://(id)?lang=en `(XBMC NFO parser agent)`
|
||||
* com.plexapp.agents.xbmcnfotv://(id)?lang=en `(XBMC NFO parser agent for tv)`
|
||||
* com.plexapp.agents.hama://(db)\d?-(id)?lang=en `(hama agent is multi db source agent)`
|
||||
|
||||
---
|
||||
|
||||
### Q: Marking items as unplayed and then importing does not change the status?
|
||||
|
||||
That's happens because the media servers API reset the last played date on the items, and there is no indicator that the
|
||||
status has changed, usually there are field called `updated_at` that would reflect any changes to the object. but that's
|
||||
not the case here. to import `mark as unplayed` items, You have to use the webhook frontend as those events indicate
|
||||
the date at which the event triggered. Unfortunately this will not work for `Plex` backend as they do not send events
|
||||
for `mark as played/unplayed`.
|
||||
|
||||
For backends that does not support those events, you can force sync by running the import command with `--ignore-date`
|
||||
and `--force-full`flags, this will allow you to reimport the items.
|
||||
|
||||
We are exploring different implementation to hopefully support syncing unplayed events via normal state:import
|
||||
operations.
|
||||
|
||||
@@ -41,11 +41,13 @@ class Command extends BaseCommand
|
||||
'UNIQUE_ID'
|
||||
];
|
||||
|
||||
$appVersion = getAppVersion();
|
||||
|
||||
$url = '/cli/' . $this->getName();
|
||||
$data['meta']['url'] = $data['meta']['simple_url'] = $url;
|
||||
$data['meta']['get'] = $data['meta']['env'] = [];
|
||||
$data['meta']['SERVER'] = array_replace_recursive($data['meta']['SERVER'], [
|
||||
'APP_VERSION' => getAppVersion(),
|
||||
'APP_VERSION' => $appVersion,
|
||||
'PHP_VERSION' => PHP_VERSION,
|
||||
'PHP_VERSION_ID' => PHP_VERSION_ID,
|
||||
'PHP_OS' => PHP_OS,
|
||||
@@ -54,7 +56,7 @@ class Command extends BaseCommand
|
||||
'DOCUMENT_ROOT' => env('IN_DOCKER') ? '/docker/' : '/cli',
|
||||
'REMOTE_ADDR' => '127.0.0.1',
|
||||
'SERVER_ADDR' => '127.0.0.1',
|
||||
'SERVER_NAME' => (env('IN_DOCKER') ? 'docker' : 'cli') . '.watchstate.' . Config::get('version')
|
||||
'SERVER_NAME' => (env('IN_DOCKER') ? 'docker' : 'cli') . '.watchstate.' . $appVersion
|
||||
]);
|
||||
|
||||
foreach ($removeKeys as $key) {
|
||||
|
||||
Reference in New Issue
Block a user