-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrazione windows -->> Debian #5
Comments
Hi @Pava1955, I'm not fluent in your language and had to use a translator. Please consider replying in English. Kind regards, |
Hi Massimo and thanks for the quick reply.
|
Hello again, Interesting to know that Python 3.11 might break that date function. Will check that. Jellyfin-Migrator/jellyfin_migrator.py Lines 426 to 441 in bc9df41
Kind regards, |
Hello Mass, I have made the recommended update and now the procedure is completed (I would like to migrate from Win 10 to Debian 11). Where am I wrong?? Can I send you some data to get your valuable suggestion? Thanks again ! |
Hi Max, did you get to see my request? |
Hi @Pava1955, If I'm not misunderstanding you, this is to be expected. Quote from the Technical Documentation of the Readme:
The more important part is that the metadata folder itself (and the other folders like config, ...) end up where they should be. Kind regards, |
@MMMZZZZ hey just as an aside regarding the datetime thing - Using Python 3.11.2, if you get rid of the 'Z' (zulu) timezone marker then datetime.datetime.fromisoformat(s) works. I think this is because the 'Z' and the time offset are equivalent, where e.g. import datetime
# this with Z AND +00:00 is not OK
>>> s = "0001-01-01 00:00:00Z+00:00"
>>> time = datetime.datetime.fromisoformat(s)
>>> print(time)
ValueError: Invalid isoformat string: '0001-01-01 00:00:00Z+00:00'
# this is ok (No "Z", only timezone offset)
>>> s = "0001-01-01 00:00:00+00:00"
>>> time = datetime.datetime.fromisoformat(s)
>>> print(time)
0001-01-01 00:00:00+00:00
# this is also ok (only "Z" with no timezone offset)
>>> s = "0001-01-01 00:00:00Z"
>>> time = datetime.datetime.fromisoformat(s)
>>> print(time)
0001-01-01 00:00:00+00:00 EDIT: p.s. looking in my |
Grazie ! |
Carissimo MMMZZZZ, sto configurando e utilizzando l'applicazione di migrazione che hai reso disponibile.
Ho una installazione su Win 10 (ben configurata) e vorrei spostarla su una macchina con Debian 11.
Dopo la configurazione delle path e tutto il resto il programma nella esecuzione con il CMD Shell mi restituisce i seguenti errori:
Traceback (most recent call last):
File "C:\Users\claud\Desktop\Jellyfin-Migrator\jellyfin_migratorMio.py", line 1326, in
update_file_dates()
File "C:\Users\claud\Desktop\Jellyfin-Migrator\jellyfin_migratorMio.py", line 1257, in update_file_dates
date_modified_ns = jf_date_str_to_python_ns(date_modified)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\claud\Desktop\Jellyfin-Migrator\jellyfin_migratorMio.py", line 1179, in jf_date_str_to_python_ns
t = int(datetime.datetime.fromisoformat(s).timestamp())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: Invalid isoformat string: '0001-01-01 00:00:00Z+01:00'
Hai qualche idea o suggerimento ?
Grazie per la tua cortesia.
Claudio
The text was updated successfully, but these errors were encountered: