Python Forum
Monitoring a Directory for new mkv and mp4 Files
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Monitoring a Directory for new mkv and mp4 Files
#3
I do use them

at Line 32,33 i fill the list with content in Series initially

at Line 46 i scan the Folder again and fill "resseries" with content,
then after return i compare old_series with resseries , but the compare is wrong somehow. It always returns the full content of the folder and not just the files not in list old_series.

also it jumps back from line 55 to 46 after the 10 seconds elapsed.

The lists get filled properly , checked that with a print of each list during the loop. Somehow my compare approach doesnt match
Reply


Messages In This Thread
RE: Monitoring a Directory for new mkv and mp4 Files - by lastyle - May-07-2023, 08:26 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  deleting files in program files directory RRADC 6 2,965 Aug-21-2024, 06:11 PM
Last Post: snippsat
  Filer and sort files by modification time in a directory tester_V 5 2,316 May-02-2024, 05:39 PM
Last Post: tester_V
  Loop through all files in a directory? Winfried 10 4,191 Apr-23-2024, 07:38 PM
Last Post: FortuneCoins
  uploading files from a ubuntu local directory to Minio storage container dchilambo 0 1,333 Dec-22-2023, 07:17 AM
Last Post: dchilambo
  change directory of save of python files akbarza 3 3,348 Jul-23-2023, 08:30 AM
Last Post: Gribouillis
  Using pyinstaller with .ui GUI files - No such file or directory error diver999 3 7,792 Jun-27-2023, 01:17 PM
Last Post: diver999
  Read directory listing of files and parse out the highest number? cubangt 5 5,127 Sep-28-2022, 10:15 PM
Last Post: Larz60+
  How to save files in a separate directory Scordomaniac 3 14,366 Mar-16-2022, 10:17 AM
Last Post: Gribouillis
  monitoring the temperature of the CPU with Python apollo 2 13,763 Apr-13-2021, 05:39 PM
Last Post: apollo
  IoT Air Monitoring System project_science 0 2,342 Mar-26-2021, 08:14 PM
Last Post: project_science

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020