CastagnaIT / plugin.video.netflix

InputStream based Netflix plugin for Kodi
MIT License
1.91k stars 259 forks source link

Problem with adding to library - * .nfo files are omitted #961

Closed notoco closed 2 years ago

notoco commented 3 years ago

Bug report

Your Environment

Used Operating system:

Describe the bug

When adding a file to the library, with my list synchronized with the library off, no NFO files for serials are added, only strm files. Which makes this function useless.

Expected behavior

This should work regardless of whether the list to library sync option is enabled.

Actual behavior

Currently only list synchronization imports nfo files

Steps to reproduce the behavior

  1. Go to any Netflix Series,
  2. Add to library

Debug log

kodi.log

Installation

Screenshots

ArcoLinux_2020-12-01_09-20-43 screenshot000

notoco commented 3 years ago

One more observation. If the show is on my list then everything works. If serial is not included in this menu item then nfo files are not added

CastagnaIT commented 3 years ago

I'm using other Netflix Repo

what other repository?

i tried to reply your problem under Windows and Kubuntu and to me all works good so nfo files are correctly exported can you screenshot your addon Library settings? to be sure we have same settings

notoco commented 3 years ago

what other

My mistake. Of course I'm using your repo. I'll send you the screenshots later.

Everything works fine on my list. But if I choose the show from the for example netflix originals and add it to the library, omitting my list then it doesn't add nfo files.

notoco commented 3 years ago

Weird ... really weird ... I've had this problem for some time, so I did the diagnostics on pure kodi. Today, after your post, I tested it again and it works ... This year continues to surprise me

notoco commented 2 years ago

I still have the same problem. Maybe I will describe it differently:

  1. On the netflix website I am adding a series / movie to my list
  2. The netflix plugin, at 1:00 am does an automatic update - strm files appear in the correct directories, they also appear in the exported menu. But without the tvshow.nfo file.
  3. Entering the exported plug-in, I select "Update inside the library" and then a window appears in which it first deletes 63 files and then adds 64 files - so this one nfo more
  4. Without tvshow.nfo, the local file-based library does not work Summary: nfo files are created but tvshow.nfo is not created when my list is automatically updated.
CastagnaIT commented 2 years ago

tvshow.nfo file is created only when Include all information in NFO files setting is enabled it is enabled in your addon settings?

notoco commented 2 years ago

yes, of course, and in step 3 it works. Does not work in step 2.

CastagnaIT commented 2 years ago

ok i will check

CastagnaIT commented 2 years ago

@notoco i found the bug can you test the PR?

notoco commented 2 years ago

Yes. But unfortunately I can't do it now. Tomorrow night or at the weekend

notoco commented 2 years ago

Well, unfortunately - it does not work. I set the update time to 4:20 pm - and this time nothing added - it did not add either strm or * .nfo files - I added 2 titles to my list Part of my settings.xml

    <setting id="lib_auto_upd_mode">2</setting>
    <setting id="lib_auto_upd_freq" default="true">0</setting>
    <setting id="lib_auto_upd_start">16:20</setting>
    <setting id="lib_auto_upd_wait_idle" default="true">false</setting>
    <setting id="lib_auto_upd_disable_notification" default="true">false</setting>
    <setting id="lib_sync_mylist">true</setting>

In the logs (only a fragment - because I have logs from 4 days and tests of other plugins) - nothing

2022-02-04 16:17:29.896 T:5116     INFO <general>: initializing python engine.
2022-02-04 16:17:29.914 T:5116     INFO <general>: [plugin.video.netflix (8)] Started (Version 1.18.3+matrix.1)
2022-02-04 16:17:29.915 T:5116     INFO <general>: [plugin.video.netflix (8)] URL is ParseResult(scheme='plugin', netloc='plugin.video.netflix', path='/directory/home/', params='', query='', fragment='')
2022-02-04 16:17:30.030 T:5142     INFO <general>: [plugin.video.netflix (0)] The profile guid J4XK7UEZOBDOLDT3E5JWVCLYUQ is already set, activation not needed.
2022-02-04 16:17:31.203 T:5116     INFO <general>: CPythonInvoker(44, /storage/.kodi/addons/plugin.video.netflix/addon.py): script successfully run
2022-02-04 16:17:33.198 T:5116     INFO <general>: initializing python engine.
2022-02-04 16:17:33.208 T:5116     INFO <general>: [plugin.video.netflix (8)] Started (Version 1.18.3+matrix.1)
2022-02-04 16:17:33.208 T:5116     INFO <general>: [plugin.video.netflix (8)] URL is ParseResult(scheme='plugin', netloc='plugin.video.netflix', path='/directory/video_list_sorted/myList/queue/', params='', query='', fragment='')
2022-02-04 16:17:37.256 T:5116     INFO <general>: CPythonInvoker(44, /storage/.kodi/addons/plugin.video.netflix/addon.py): script successfully run
2022-02-04 16:19:07.158 T:5116     INFO <general>: initializing python engine.
2022-02-04 16:19:07.170 T:5116     INFO <general>: [plugin.video.netflix (8)] Started (Version 1.18.3+matrix.1)
2022-02-04 16:19:07.170 T:5116     INFO <general>: [plugin.video.netflix (8)] URL is ParseResult(scheme='plugin', netloc='plugin.video.netflix', path='/directory/home/', params='', query='', fragment='')
2022-02-04 16:19:07.423 T:5116     INFO <general>: CPythonInvoker(44, /storage/.kodi/addons/plugin.video.netflix/addon.py): script successfully run
2022-02-04 16:19:09.271 T:6171     INFO <general>: initializing python engine.
2022-02-04 16:19:10.320 T:5116     INFO <general>: Skipped 1 duplicate messages..
2022-02-04 16:19:10.320 T:5116     INFO <general>: Python interpreter stopped
2022-02-04 16:19:10.583 T:6172     INFO <general>: Skipped 3 duplicate messages..
2022-02-04 16:19:10.582 T:6172     INFO <general>: CPythonInvoker(46, /storage/.kodi/addons/script.skinvariables/script.py): script successfully run
2022-02-04 16:19:11.627 T:6172     INFO <general>: Python interpreter stopped
2022-02-04 16:19:11.901 T:6171     INFO <general>: CPythonInvoker(45, /storage/.kodi/addons/script.skinshortcuts/resources/lib/entry_point.py): script successfully run
2022-02-04 16:19:12.947 T:6171  WARNING <general>: CPythonInvoker(45, /storage/.kodi/addons/script.skinshortcuts/resources/lib/entry_point.py): the python script "/storage/.kodi/addons/script.skinshortcuts/resources/lib/entry_point.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon7xbmcgui6WindowE,N9XBMCAddon9xbmcaddon5AddonE
2022-02-04 16:19:12.953 T:6171     INFO <general>: Python interpreter stopped
2022-02-04 16:20:38.200 T:6346     INFO <general>: initializing python engine.
2022-02-04 16:20:38.546 T:6347     INFO <general>: Skipped 1 duplicate messages..
2022-02-04 16:20:38.546 T:6347     INFO <general>: CPythonInvoker(48, /storage/.kodi/addons/script.skinvariables/script.py): script successfully run
2022-02-04 16:20:39.516 T:6347     INFO <general>: Python interpreter stopped
2022-02-04 16:20:39.773 T:6346     INFO <general>: CPythonInvoker(47, /storage/.kodi/addons/script.skinshortcuts/resources/lib/entry_point.py): script successfully run
2022-02-04 16:20:40.727 T:6346  WARNING <general>: CPythonInvoker(47, /storage/.kodi/addons/script.skinshortcuts/resources/lib/entry_point.py): the python script "/storage/.kodi/addons/script.skinshortcuts/resources/lib/entry_point.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon7xbmcgui6WindowE,N9XBMCAddon9xbmcaddon5AddonE
2022-02-04 16:20:40.731 T:6346     INFO <general>: Python interpreter stopped
notoco commented 2 years ago

After 10 min. - nothing - even no new files (strm)

CastagnaIT commented 2 years ago

in your partial log there is no "Triggering auto update library" debug line, means the library autoupdate is not started, maybe because has already started before then cannot start again or the value in database for some reason is wrong

you have to try change manually the value in the database to force run the autoupdate sync: on nf_shared.sqlite3 on shared_app_configtable modify library_auto_update_last_start value with a old date

i need to see also the nfo settings <setting id="enable_nfo_export" <setting id="export_movie_nfo" <setting id="export_tvshow_nfo" <setting id="export_full_tvshow_nfo"

notoco commented 2 years ago
    <setting id="disable_startup_notification">true</setting>
    <setting id="lib_auto_upd_mode">2</setting>
    <setting id="lib_auto_upd_freq" default="true">0</setting>
    <setting id="lib_auto_upd_start">18:00</setting>
    <setting id="lib_auto_upd_wait_idle" default="true">false</setting>
    <setting id="lib_auto_upd_disable_notification" default="true">false</setting>
    <setting id="lib_sync_mylist">true</setting>
    <setting id="enable_nfo_export">true</setting>
    <setting id="export_movie_nfo" default="true">1</setting>
    <setting id="export_tvshow_nfo" default="true">1</setting>
    <setting id="export_full_tvshow_nfo">true</setting>
    <setting id="enablelibraryfolder">true</setting>
    <setting id="customlibraryfolder">nfs://192.168.1.200/mnt/dietpi_userdata/Biblioteka/Netflix/</setting>

In nf_shared.sqlite3 I have now:

library_auto_update_start_time  2022-02-04 01:00:46.534289
library_auto_update_last_start  2022-02-04 01:04:00.455337

I don't understand what to change it for.

notoco commented 2 years ago

Ok - I changed according to the logic to

library_auto_update_start_time  2022-02-03 18:00:46.534289
library_auto_update_last_start  2022-02-03 18:04:00.455337

And reboot kodi....

CastagnaIT commented 2 years ago

yes good last_start is important the other no if you do not want reboot just only disable/re-enable the addon

notoco commented 2 years ago

Yeah - I accidentally clicked something while browsing settings.xml and it blasted me into space ...

I need to restore from the backup ... so it will take a while

CastagnaIT commented 2 years ago

just a note, IIRC

notoco commented 2 years ago

Yes, I was hoping that this would only apply to the newly imported ones But there is still something wrong. I added 2 series - The Witcher and Archive 81. Strm files are created - as can be seen in the logs - but tvshow.nfo is not:

2022-02-04 18:13:26.528 T:5281     INFO <general>: [plugin.video.netflix (0)] The debug logging is set as ENABLED
2022-02-04 18:13:27.067 T:5281     INFO <general>: [plugin.video.netflix (0)] Next library auto update is scheduled for 2022-02-04 18:14:00.455337
2022-02-04 18:13:27.579 T:5588     INFO <general>: initializing python engine.
2022-02-04 18:13:27.904 T:5589     INFO <general>: Skipped 1 duplicate messages..
2022-02-04 18:13:27.904 T:5589     INFO <general>: CPythonInvoker(37, /storage/.kodi/addons/script.skinvariables/script.py): script successfully run
2022-02-04 18:13:28.836 T:5589     INFO <general>: Python interpreter stopped
2022-02-04 18:13:29.158 T:5588     INFO <general>: CPythonInvoker(36, /storage/.kodi/addons/script.skinshortcuts/resources/lib/entry_point.py): script successfully run
2022-02-04 18:13:30.106 T:5588  WARNING <general>: CPythonInvoker(36, /storage/.kodi/addons/script.skinshortcuts/resources/lib/entry_point.py): the python script "/storage/.kodi/addons/script.skinshortcuts/resources/lib/entry_point.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon9xbmcaddon5AddonE,N9XBMCAddon7xbmcgui6WindowE
2022-02-04 18:13:30.111 T:5588     INFO <general>: Python interpreter stopped
2022-02-04 18:14:01.122 T:5281     INFO <general>: [plugin.video.netflix (0)] Next library auto update is scheduled for 2022-02-05 18:14:01.122484
2022-02-04 18:14:01.295 T:5597     INFO <general>: [plugin.video.netflix (0)] Start auto-updating of Kodi library (with sync of My List)
2022-02-04 18:14:01.738 T:5597     INFO <general>: [plugin.video.netflix (0)] The profile guid J4XK7UEZOBDOLDT3E5JWVCLYUQ is already set, activation not needed.
2022-02-04 18:14:56.235 T:5203     INFO <general>: NFS is idle. Closing the remaining connections.
2022-02-04 18:17:01.194 T:5597    ERROR <general>: Create - Error creating nfs://192.168.1.200/mnt
2022-02-04 18:17:01.195 T:5597    ERROR <general>: NFS: Failed to create(//) mkdir call failed with "NFS: MKDIR of // failed with NFS3ERR_ACCES(-13)"
2022-02-04 18:17:01.195 T:5597    ERROR <general>: Create - Error creating nfs://192.168.1.200/mnt/dietpi_userdata
2022-02-04 18:17:01.222 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Wiedźmin/S01E01.strm
2022-02-04 18:17:01.235 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Wiedźmin/S01E01.nfo
2022-02-04 18:17:01.258 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Wiedźmin/S01E02.strm
2022-02-04 18:17:01.272 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Wiedźmin/S01E02.nfo
2022-02-04 18:17:01.297 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Wiedźmin/S01E03.strm
2022-02-04 18:17:01.310 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Wiedźmin/S01E03.nfo
2022-02-04 18:17:01.341 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Wiedźmin/S01E04.strm
2022-02-04 18:17:01.355 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Wiedźmin/S01E04.nfo
2022-02-04 18:17:01.386 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Wiedźmin/S01E05.strm
2022-02-04 18:17:01.400 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Wiedźmin/S01E05.nfo
2022-02-04 18:17:01.424 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Wiedźmin/S01E06.strm
2022-02-04 18:17:01.438 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Wiedźmin/S01E06.nfo
2022-02-04 18:17:01.464 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Wiedźmin/S01E07.strm
2022-02-04 18:17:01.478 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Wiedźmin/S01E07.nfo
2022-02-04 18:17:01.505 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Wiedźmin/S01E08.strm
2022-02-04 18:17:01.519 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Wiedźmin/S01E08.nfo
2022-02-04 18:17:01.550 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Wiedźmin/S02E01.strm
2022-02-04 18:17:01.567 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Wiedźmin/S02E01.nfo
2022-02-04 18:17:01.596 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Wiedźmin/S02E02.strm
2022-02-04 18:17:01.611 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Wiedźmin/S02E02.nfo
2022-02-04 18:17:01.637 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Wiedźmin/S02E03.strm
2022-02-04 18:17:01.653 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Wiedźmin/S02E03.nfo
2022-02-04 18:17:01.678 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Wiedźmin/S02E04.strm
2022-02-04 18:17:01.693 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Wiedźmin/S02E04.nfo
2022-02-04 18:17:01.716 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Wiedźmin/S02E05.strm
2022-02-04 18:17:01.729 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Wiedźmin/S02E05.nfo
2022-02-04 18:17:01.753 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Wiedźmin/S02E06.strm
2022-02-04 18:17:01.766 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Wiedźmin/S02E06.nfo
2022-02-04 18:17:01.794 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Wiedźmin/S02E07.strm
2022-02-04 18:17:01.808 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Wiedźmin/S02E07.nfo
2022-02-04 18:17:01.832 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Wiedźmin/S02E08.strm
2022-02-04 18:17:01.845 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Wiedźmin/S02E08.nfo
2022-02-04 18:17:04.408 T:5597    ERROR <general>: Create - Error creating nfs://192.168.1.200/mnt
2022-02-04 18:17:04.409 T:5597    ERROR <general>: NFS: Failed to create(//) mkdir call failed with "NFS: MKDIR of // failed with NFS3ERR_ACCES(-13)"
2022-02-04 18:17:04.409 T:5597    ERROR <general>: Create - Error creating nfs://192.168.1.200/mnt/dietpi_userdata
2022-02-04 18:17:04.436 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Archiwum 81/S01E01.strm
2022-02-04 18:17:04.448 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Archiwum 81/S01E01.nfo
2022-02-04 18:17:04.478 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Archiwum 81/S01E02.strm
2022-02-04 18:17:04.493 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Archiwum 81/S01E02.nfo
2022-02-04 18:17:04.516 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Archiwum 81/S01E03.strm
2022-02-04 18:17:04.528 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Archiwum 81/S01E03.nfo
2022-02-04 18:17:04.551 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Archiwum 81/S01E04.strm
2022-02-04 18:17:04.564 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Archiwum 81/S01E04.nfo
2022-02-04 18:17:04.586 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Archiwum 81/S01E05.strm
2022-02-04 18:17:04.599 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Archiwum 81/S01E05.nfo
2022-02-04 18:17:04.621 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Archiwum 81/S01E06.strm
2022-02-04 18:17:04.635 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Archiwum 81/S01E06.nfo
2022-02-04 18:17:04.659 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Archiwum 81/S01E07.strm
2022-02-04 18:17:04.672 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Archiwum 81/S01E07.nfo
2022-02-04 18:17:04.698 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Archiwum 81/S01E08.strm
2022-02-04 18:17:04.723 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Archiwum 81/S01E08.nfo
2022-02-04 18:17:06.684 T:5597     INFO <general>: [plugin.video.netflix (0)] Auto update of the Kodi library completed

~As you can see here the plugin has no problem with writing to NFS which I use strm and nfo files~

2022-02-04 18:17:01.222 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Wiedźmin/S01E01.strm
2022-02-04 18:17:01.235 T:5597  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Wiedźmin/S01E01.nfo

~But he has a problem with saving tvshow.nfo (but you can see that he is trying to do it)~

I do not know where this error comes from - I see it for the first time, but - the access is correct because the files are created (see here: https://github.com/CastagnaIT/plugin.video.netflix/issues/961#issuecomment-1030210567)

2022-02-04 18:17:01.194 T:5597    ERROR <general>: Create - Error creating nfs://192.168.1.200/mnt
2022-02-04 18:17:01.195 T:5597    ERROR <general>: NFS: Failed to create(//) mkdir call failed with "NFS: MKDIR of // failed with NFS3ERR_ACCES(-13)"
2022-02-04 18:17:01.195 T:5597    ERROR <general>: Create - Error creating nfs://192.168.1.200/mnt/dietpi_userdata

1_005

But it is going in the right direction, because this attempt is at least taking place - it was not there before

notoco commented 2 years ago

It is also not a problem with the permissions to write to these folders because the export works - when you force a manual update, nfo files are created in these locations - as I wrote about at the beginning: https://github.com/CastagnaIT/plugin.video.netflix/issues/961#issuecomment-1002198129 - p.3 ~(that is, it worked in an earlier version - I have not checked this one yet)~

notoco commented 2 years ago

Logs from manual update - look at last line....? Errors on starts are the same... but tvshow.nfo is creating...

2022-02-04 18:41:46.430 T:5203     INFO <general>: Loading skin file: DialogConfirm.xml, load type: KEEP_IN_MEMORY
2022-02-04 18:41:46.820 T:5708    ERROR <general>: Create - Error creating nfs://192.168.1.200/mnt
2022-02-04 18:41:46.821 T:5708    ERROR <general>: NFS: Failed to create(//) mkdir call failed with "NFS: MKDIR of // failed with NFS3ERR_ACCES(-13)"
2022-02-04 18:41:46.821 T:5708    ERROR <general>: Create - Error creating nfs://192.168.1.200/mnt/dietpi_userdata
2022-02-04 18:41:46.857 T:5708  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Archiwum 81/S01E01.strm
2022-02-04 18:41:46.871 T:5708  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Archiwum 81/S01E01.nfo
2022-02-04 18:41:46.913 T:5708  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Archiwum 81/S01E02.strm
2022-02-04 18:41:46.928 T:5708  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Archiwum 81/S01E02.nfo
2022-02-04 18:41:46.962 T:5708  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Archiwum 81/S01E03.strm
2022-02-04 18:41:46.977 T:5708  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Archiwum 81/S01E03.nfo
2022-02-04 18:41:47.004 T:5708  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Archiwum 81/S01E04.strm
2022-02-04 18:41:47.018 T:5708  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Archiwum 81/S01E04.nfo
2022-02-04 18:41:47.045 T:5708  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Archiwum 81/S01E05.strm
2022-02-04 18:41:47.066 T:5708  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Archiwum 81/S01E05.nfo
2022-02-04 18:41:47.092 T:5708  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Archiwum 81/S01E06.strm
2022-02-04 18:41:47.107 T:5708  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Archiwum 81/S01E06.nfo
2022-02-04 18:41:47.142 T:5708  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Archiwum 81/S01E07.strm
2022-02-04 18:41:47.158 T:5708  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Archiwum 81/S01E07.nfo
2022-02-04 18:41:47.186 T:5708  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Archiwum 81/S01E08.strm
2022-02-04 18:41:47.201 T:5708  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Archiwum 81/S01E08.nfo
2022-02-04 18:41:47.221 T:5708  WARNING <general>: FileNFS::OpenForWrite() called with overwriting enabled! - //Biblioteka/Netflix/shows/Archiwum 81/tvshow.nfo
notoco commented 2 years ago

Ok - I'm finishing the tests today - we're starting the movie night, after the weekend I will keep looking - finally the end of quarantines :)

CastagnaIT commented 2 years ago

i have done other tests, and updated the PR, i am sure that at least locally the export of tvshow.nfo works now will be created also for previoulsy exported tvshows (where this file was missing)

instead for the previously exported tv shows, that not have nfo files, on each episode, these files currently cannot be re-created automatically on the auto-update

to allow the code to check if nfo files of each episode exist or not, and then re-create or delete it depending on the nfo settings, it is necessary to change a large part of the code to handle nfo files job separately

I'm not willing to spend all this time reviewing all the code for nfo files, the quick fix in this case is done a manually full re-sync from settings and on all next sync-updates will work as expected

CastagnaIT commented 2 years ago

since i have to make a new release shortly i merge the PR, you can do your own tests later if necessary some minor fix we will do later

notoco commented 2 years ago

Of course, I understand, this is a really minor function and probably not many people use it. Thanks for the contribution you made to the improvement. After the weekend, I'll check. Thanks for the help.

notoco commented 2 years ago

You are amazing - everything works. Thanks - I'm closing :)