Jump to content


Photo

inotifywait for OpenPli?


  • Please log in to reply
9 replies to this topic

#1 CescoAiel

  • Senior Member
  • 206 posts

+2
Neutral

Posted 5 April 2021 - 16:18

Hi,

 

I may be totally missing the correct search terms, but is there anything like inotifywait for OpenPLi?

 

I saw the thread on pyinotify, but since I just want to start a tiny script when a new file appears, that one is overly complex for my needs. If there is no other option, I'll dig into it, but I thought I would ask here first...


-- WaveFrontier T90 with LNBs on 13.0E, 19.2E, 23.5E & 28.2E, 17/12 dedicated GSO switch (Sharing the sat signal with the neigbours!)

-- Canal Digitaal DVB-S2[x]: 1x Vu+ Duo 4k (FBC Dual), 1x Xpeed LX S2 (dead-ish), 1x ET-9000 (unused and not updated for ages)

-- Ziggo DVB-C: 1x Vu+ Duo 4k (FBC)

 


Re: inotifywait for OpenPli? #2 WanWizard

  • PLi® Core member
  • 57,630 posts

+1,229
Excellent

Posted 5 April 2021 - 16:58

It's part of the inotify-tools package, but it is not being built at the moment.


Currently in use: VU+Duo 4K (2xFBC S2), Amiko Viper T2C (T2+fallback), Octagon SF8008 (S2+T2), Zgemma H9.2H (T2+fallback)

Many answers to your question can be found in our new and improved wiki.

Because to health reasons, I will not be active online very often anymore.


Re: inotifywait for OpenPli? #3 CescoAiel

  • Senior Member
  • 206 posts

+2
Neutral

Posted 5 April 2021 - 18:36

thanks, guess I'll have to dig in to the Python version then...


-- WaveFrontier T90 with LNBs on 13.0E, 19.2E, 23.5E & 28.2E, 17/12 dedicated GSO switch (Sharing the sat signal with the neigbours!)

-- Canal Digitaal DVB-S2[x]: 1x Vu+ Duo 4k (FBC Dual), 1x Xpeed LX S2 (dead-ish), 1x ET-9000 (unused and not updated for ages)

-- Ziggo DVB-C: 1x Vu+ Duo 4k (FBC)

 


Re: inotifywait for OpenPli? #4 blzr

  • PLi® Core member
  • 2,156 posts

+110
Excellent

Posted 5 April 2021 - 19:13

inotify-tools build just fine on develop in my home build, so I guess it may be safely added to feed...
PR?

[brt@LAPTOP-VU4CV3O3 build]$ MACHINE=vs1500 bitbake inotify-tools
NOTE: Started PRServer with DBfile: /home/brt/openpli-oe-core/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 38215, PID: 142355
Parsing recipes: 100% |##########################################| Time: 0:01:55
Parsing of 3326 .bb files complete (0 cached, 3326 parsed). 4486 targets, 612 skipped, 0 masked, 0 errors.
...
NOTE: Executing Tasks
NOTE: Setscene tasks completed
NOTE: Tasks Summary: Attempted 619 tasks of which 603 didn't need to be rerun and all succeeded.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 35 seconds

Edited by blzr, 5 April 2021 - 19:22.

True sarcasm doesn't need green font...

Re: inotifywait for OpenPli? #5 WanWizard

  • PLi® Core member
  • 57,630 posts

+1,229
Excellent

Posted 5 April 2021 - 19:28

I thought so. Yes please, I'll merge when I'm fit to get out of bed again (unless someone beats me to it)...


Currently in use: VU+Duo 4K (2xFBC S2), Amiko Viper T2C (T2+fallback), Octagon SF8008 (S2+T2), Zgemma H9.2H (T2+fallback)

Many answers to your question can be found in our new and improved wiki.

Because to health reasons, I will not be active online very often anymore.


Re: inotifywait for OpenPli? #6 blzr

  • PLi® Core member
  • 2,156 posts

+110
Excellent

Posted 5 April 2021 - 20:00

done

https://github.com/O...e-core/pull/946

//however, I am quite worried about your described health situation, I really hope it is only temporary...
take your time, rest easy, get well soon


True sarcasm doesn't need green font...

Re: inotifywait for OpenPli? #7 WanWizard

  • PLi® Core member
  • 57,630 posts

+1,229
Excellent

Posted 5 April 2021 - 20:40

No worries, not dying just yet... ;)  It has all the sympthoms of food poisioning over the weekend...


Currently in use: VU+Duo 4K (2xFBC S2), Amiko Viper T2C (T2+fallback), Octagon SF8008 (S2+T2), Zgemma H9.2H (T2+fallback)

Many answers to your question can be found in our new and improved wiki.

Because to health reasons, I will not be active online very often anymore.


Re: inotifywait for OpenPli? #8 blzr

  • PLi® Core member
  • 2,156 posts

+110
Excellent

Posted 5 April 2021 - 20:59

haggis? :ph34r:


True sarcasm doesn't need green font...

Re: inotifywait for OpenPli? #9 WanWizard

  • PLi® Core member
  • 57,630 posts

+1,229
Excellent

Posted 5 April 2021 - 21:25

Nah, I wish, wouldn't mind a good haggis! More like cheap chicken from Lidl...


Currently in use: VU+Duo 4K (2xFBC S2), Amiko Viper T2C (T2+fallback), Octagon SF8008 (S2+T2), Zgemma H9.2H (T2+fallback)

Many answers to your question can be found in our new and improved wiki.

Because to health reasons, I will not be active online very often anymore.


Re: inotifywait for OpenPli? #10 blzr

  • PLi® Core member
  • 2,156 posts

+110
Excellent

Posted 5 April 2021 - 22:09

ah, yeah, "2nd life chicken might/will kill you" as one sang... ;-)

 

// thankfully, I have put all these *m* problems behind me for a goood few years now...


True sarcasm doesn't need green font...




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users