ricardorodrigues-ca / zoom-recording-downloader

Downloads and organizes all cloud recordings from your Zoom Business account
MIT License
124 stars 63 forks source link

End files have no extension and have 0 KB size #8

Closed sergeyartemenko closed 3 years ago

sergeyartemenko commented 3 years ago

Hello. This project could be saving grace to me, but something works not as I expected. Files in downloads folder do not have estensions and size is 0 KB Screenshot_1 But folders within downloads folder have size on disk Screenshot_2 What I did wrong?

ricardorodrigues-ca commented 3 years ago

Hi, a few things:

sergeyartemenko commented 3 years ago

Hello Ricardo. Thank you for your time posting reply on my request. Looks like I found cause of a problem. Title names (Topic) also can't contain ':' so I added replace and now everything seems works fine. Thank you!

ricardorodrigues-ca commented 3 years ago

An interesting observation, and thank you for sharing that bit of knowledge!

sergeyartemenko commented 3 years ago

Hello, Ricardo. Im sorry to bother you, but you got time to reply, I'd appreciate your help. Is there a way to apply timezone for filename format. I can’t figure it out how add 3 hours to time dates.

On Tue, 1 Dec 2020 at 20:14, ricardorodrigues-ca notifications@github.com wrote:

Closed #8 https://github.com/ricardorodrigues-ca/zoom-recording-downloader/issues/8 .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ricardorodrigues-ca/zoom-recording-downloader/issues/8#event-4058325189, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKANKFFZID54ORDMKI4RACTSSUQBDANCNFSM4UIAJKPA .

-- Kind regards, Sergey Artemenko.

ricardorodrigues-ca commented 3 years ago

Correct me if I'm wrong, but I believe the timezone is already applied to the filename when it is downloaded.

Could you show me an example of what you'd like to see?

sergeyartemenko commented 3 years ago

Hello, Ricardo. First of all, I'm very appreciate your help. Yes, the timezone is already applied to the filename and its UTC but it would be perfect if timezone can be adjusted to Russia/Moscow Time UTC+3 Naming I got now looks like this: 2020.11.11 - 14.06 PM UTC - Odgers Berndtson Zoom - Shared Screen With Speaker View

But what it would be perfect to have: 2020.11.11 - 17.06 PM UTC - Odgers Berndtson Zoom - Shared Screen With Speaker View

I'm not sure it can be adjusted here

def format_filename(recording, file_type, recording_type): uuid = recording['uuid'] topic = recording['topic'].replace('/', ' ').replace(':', '').replace('?', '').replace('|', '') rec_type = recordingtype.replace("", " ").title() meeting_time = parse(recording['start_time']) return '{} - {} UTC - {}.{}'.format( meeting_time.strftime('%Y.%m.%d'), meeting_time.strftime('%H.%M %p'), topic+" - "+rec_type, file_type.lower())

чт, 3 дек. 2020 г. в 18:14, ricardorodrigues-ca notifications@github.com:

Correct me if I'm wrong, but I believe the timezone is already applied to the filename when it is downloaded.

Could you show me an example of what you'd like to see?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ricardorodrigues-ca/zoom-recording-downloader/issues/8#issuecomment-738069082, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKANKFEYKRG262UIR6CCZODSS6TMRANCNFSM4UIAJKPA .

-- Kind regards, Sergey Artemenko.