Can I ask how exactly it know when files are added or deleted?
Thanks.
Hitcher
Skilled Skinner Joined: Aug 2007 Reputation: 67 Location: Eastleigh, UK |
2012-05-09 17:20
Post: #11
![]() |
| find quote |
takoi
Fan Posts: 506 Joined: Oct 2009 Reputation: 6 Location: Norway |
2012-05-09 17:29
Post: #12
(2012-05-09 17:20)Hitcher Wrote: Can I ask how exactly it know when files are added or deleted?Through system calls. inotify on linux, winapi on windows, otherwise it takes a snapshot of a folders 'modified' timestamp every second or so and compare. |
| find quote |
tinybutstrong
Senior Member Posts: 192 Joined: Sep 2010 Reputation: 0 |
2012-05-09 23:51
Post: #13
Cool addon idea, but after installed it, XBMC refuses to close. Stuck on this log message:
18:49:22 T:2232 NOTICE: WATCHDOG: BaseObserver.on_thread_exit() |
| find quote |
takoi
Fan Posts: 506 Joined: Oct 2009 Reputation: 6 Location: Norway |
2012-05-10 00:34
Post: #14
(2012-05-09 23:51)tinybutstrong Wrote: Cool addon idea, but after installed it, XBMC refuses to close. Stuck on this log message: Can you please post a complete debug log? I need some more info to see why this happens.. |
| find quote |
tinybutstrong
Senior Member Posts: 192 Joined: Sep 2010 Reputation: 0 |
2012-05-10 00:58
Post: #15
|
| find quote |
Hitcher
Skilled Skinner Joined: Aug 2007 Reputation: 67 Location: Eastleigh, UK |
2012-05-10 08:30
Post: #16
(2012-05-09 17:29)takoi Wrote:(2012-05-09 17:20)Hitcher Wrote: Can I ask how exactly it know when files are added or deleted?Through system calls. inotify on linux, winapi on windows, otherwise it takes a snapshot of a folders 'modified' timestamp every second or so and compare. So my hard drives will be constantly spinning? ![]() |
| find quote |
Aenima99x
Member+ Posts: 1,030 Joined: Aug 2007 Reputation: 7 Location: California |
2012-05-10 16:50
Post: #17
(2012-05-10 08:30)Hitcher Wrote:I can't speak for the windows part, but on ubuntu when using iotop and dstat to monitor the activity on my SSD and RAID, I don't see any activity.(2012-05-09 17:29)takoi Wrote:(2012-05-09 17:20)Hitcher Wrote: Can I ask how exactly it know when files are added or deleted?Through system calls. inotify on linux, winapi on windows, otherwise it takes a snapshot of a folders 'modified' timestamp every second or so and compare. |
| find quote |
takoi
Fan Posts: 506 Joined: Oct 2009 Reputation: 6 Location: Norway |
2012-05-10 18:42
Post: #18
(2012-05-10 16:50)Aenima99x Wrote:(2012-05-10 08:30)Hitcher Wrote:I can't speak for the windows part, but on ubuntu when using iotop and dstat to monitor the activity on my SSD and RAID, I don't see any activity.(2012-05-09 17:29)takoi Wrote: Through system calls. inotify on linux, winapi on windows, otherwise it takes a snapshot of a folders 'modified' timestamp every second or so and compare. This is correct. It's event based so it won't do anything until you write something to the disk. |
| find quote |
takoi
Fan Posts: 506 Joined: Oct 2009 Reputation: 6 Location: Norway |
2012-05-10 19:51
Post: #19
(2012-05-10 00:58)tinybutstrong Wrote: Hmm got more info this time, check log bellow: Fixed. Should be in repo soon |
| find quote |
tinybutstrong
Senior Member Posts: 192 Joined: Sep 2010 Reputation: 0 |
2012-05-10 20:23
Post: #20
(2012-05-10 19:51)takoi Wrote: Fixed. Should be in repo soon Now XBMC is crashing on exit, log: http://pastebin.com/QQsCftQc |
| find quote |

![[Image: sig_zps3af3b48e.jpg]](http://i620.photobucket.com/albums/tt289/Arcanthur/Celestium/sig_zps3af3b48e.jpg)
Search
Help