This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Folder scanning plugin and groups

Tags: None
(comma "," separated)
damaty
Registered Member
Posts
1
Karma
0
OS

Folder scanning plugin and groups

Tue Nov 02, 2010 4:04 pm
Hello. I really like plugin "folder scanning", but i need a little more. I save my torrents files in directories like this: {...}/torrent/video/some_torrent1.torrent
{...}/torrent/dist/some_torrent2.torrent
...
and have groups "video", "dist" and other. But if I enable this plugin and set the folder to scan "{...}/torrent/" - i should manually change groups. In settings is possible to set only one group which will be applied for all folders. It is possible to set unique group for each folder to scan? I read a wiki and found some way - use ktorrent scripts, signal "torrentAdded" , then check torrent dir and change the group. But it seems to be a little hard for me and looks not good :(

And some more questions:
Where located this plugin sources?
Can i change it without recompiling?
Where located the config for this plugin? I search in ~/.kde/share/apps but not found it.

And some request: it's not good to set not english name to the folder where loaded torrents in scanned folder are placed. I mean, that i have russian localization of ktorrent, but directory in my file system "загружено" looks very bad. And only way i found to fix it - edit translation files. I think it should be at ktorrentrc.
"loaded" directory

ktorrent version 4.0.3

p.s. Sorry for my English =)
George
Moderator
Posts
5421
Karma
1
damaty wrote:Hello. I really like plugin "folder scanning", but i need a little more. I save my torrents files in directories like this: {...}/torrent/video/some_torrent1.torrent
{...}/torrent/dist/some_torrent2.torrent
...
and have groups "video", "dist" and other. But if I enable this plugin and set the folder to scan "{...}/torrent/" - i should manually change groups. In settings is possible to set only one group which will be applied for all folders. It is possible to set unique group for each folder to scan? I read a wiki and found some way - use ktorrent scripts, signal "torrentAdded" , then check torrent dir and change the group. But it seems to be a little hard for me and looks not good :(


I will put it on the road map

And some more questions:
Where located this plugin sources?


In the source tarball

Can i change it without recompiling?


No

Where located the config for this plugin? I search in ~/.kde/share/apps but not found it.


~/.kde/share/config/ktscanfolderpluginrc

And some request: it's not good to set not english name to the folder where loaded torrents in scanned folder are placed. I mean, that i have russian localization of ktorrent, but directory in my file system "загружено" looks very bad. And only way i found to fix it - edit translation files. I think it should be at ktorrentrc.
"loaded" directory


I should make it configurable


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]