filemanager plugin

jith45

Member
May 25, 2018
960
0
16
$topDirectory doesn't refer to the directory where rutorrent is install but the path where the torrent contents are stored.

$topDirectory could be the home dir of a shell user.
 

somus1735

Member
May 25, 2018
833
0
16
Hi !

Great plugin !
Im wondering if theres a way to add the "compress filename" option, when raring a file through the filemanager plugin ?

(Its "rar -hp<password>" in cli , instead of "rar -p<password>" ... unfortunately i cant find/understand in your code where u set the password thing )
 

shwetha17

Member
May 24, 2018
785
0
16
Quote
Hi !

Great plugin !
Im wondering if theres a way to add the "compress filename" option, when raring a file through the filemanager plugin ?

(Its "rar -hp<password>" in cli , instead of "rar -p<password>" ... unfortunately i cant find/understand in your code where u set the password thing )​


Line 91 -> flm.class.php
 

jith45

Member
May 25, 2018
960
0
16
Excuse me! I have a problem about rutorrent v3.4
My os is ubuntu 11.04 server 32bit.The version of rtorrent/libtorrent is 0.9.2/0.13.2

My rutorrent show a message but i don't know what does the message mean?
Could anyone tell me,is this a issue and how could I solve this message?

Quote
[01.09.2012 17:33:00] FILE MANAGER ignited​


print screen
----------------------------------------------------------------------------------------
urtorrent_issue.png
 

somus1735

Member
May 25, 2018
833
0
16
All normal, this is debug message from the filemanager plugin. I think, it's author simple add a superfluous letter to the word "inited" wink.gif
 

shwetha17

Member
May 24, 2018
785
0
16
i could see the confusion, ignited sounds like it caught on fire, but yah, this is a normal message and actually means the fire manager is running properly
 

dsouvik215

Member
May 25, 2018
896
0
16
im using a modified version of diskspace, which requires "/home" be set as topDirectory in config.php

is there a way i can still jail users for the filemanager without setting the topdirectory to the users specific directory? possibly i can change the variable to something different? so i could have $topDirectory and $flmDirectory?
 

das329717

Member
May 25, 2018
928
0
16
I'm trying to make it work on a chroot jail (using JailKit), but no matter of what I use in $topDirectory ("/", "/home", "/home/user/", "/home/user/jail/home/user", and some more...), it always give me the error: " FILE MANAGER: Directory does not exist : / ". I was trying to debug it to know wich directory it was refering to exactly, but when it gets inside xmlrpc it gets out of my knowlege. Can you give me some light? Paths in and outside the jail are not the same, but I can make them look like the same I just need to understand what's going on.

About CrAcKtR0 question: you might need to jail your user in it's home directoty, while still having $topDirectory pointing to a partition mount root path or any other dir, so I made some changes:

In the file .../plugins/filemanager/flm.class.php

Code: [Select]
global $topDirectory, $fm;

and

$this->userdir = addslash($topDirectory);change to

Code: [Select]
global $homeDirectory, $topDirectory, $fm;

and

$this->userdir = $homeDirectory ? addslash($homeDirectory) : addslash($topDirectory);


In the file /var/www/rutorrent/conf/users/<username>/config.php, add:


Code: [Select]
$homeDirectory = "/home/<username>"
 

jith45

Member
May 25, 2018
960
0
16
I can't get the screenshot feature to work in the filemanager plugin.

Ubuntu 12.04 server
rtorrent 0.9.2
libtorrent 0.13.2
rutorrent latest svn (2209)
filemanager plugin latest svn (48)
ffmpeg version 1.0 compiled with --enable-fontconfig --enable-libfreetype

This shows that the directory and mkv file both have full permissions and the ffmpeg and Ubuntu versions.



I right click the mkv and go to Create -> Screenshots and click Start.



A short time later this message pops up in the log. FILE MANAGER: Action has finished :



But there is no image in the directory. Yes, I clicked the refresh button and check the actual filesystem.



Any ideas as to why this isn't working?
 

shwetha17

Member
May 24, 2018
785
0
16
hwk, that the xombiemp quoted above also happens to me. My version of ffmpeg was compiled for 2 days. When the option to use the Files tab screenshot works perfectly, but although the Filemanager report concluded that the process of generating screen no image is generated. The problem with using the files tab and it only works (to my knowledge) with the torrents I've downloaded. I can not work with files that I did not and encoder are still torrents.

amY6q.png
 

dsouvik215

Member
May 25, 2018
896
0
16
I would like to ask about file manager plugin, how to disable function of archiving file/folder and extracting archive file (through right click context menu)?
The reason is, I made 2 accounts rutorrent, 1 for me and 1 for my friend on my vps. I just want to prevent cpu overloading due to archiving or extracting files.

Thank you for helping me
 

das329717

Member
May 25, 2018
928
0
16
Hi, hwk.

When I tried to make screenshots of an mp4 file, I got the following message in the console. Tried google, but with no luck. Could tell me what went wrong, please?

Code: [Select]
Video screenshots creation started. Please wait this could take some time
ffmpeg version N-47402-g5e2be27 Copyright (c) 2000-2012 the FFmpeg developers
built on Dec 3 2012 04:39:29 with gcc 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1)
configuration:
libavutil 52. 11.101 / 52. 11.101
libavcodec 54. 78.101 / 54. 78.101
libavformat 54. 42.100 / 54. 42.100
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 23.105 / 3. 23.105
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.101 / 0. 17.101
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '*':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isom
creation_time : 2012-11-30 22:27:14
Duration: 00:21:38.86, start: 0.000000, bitrate: 482 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 720x404, 374 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc
Metadata:
creation_time : 2012-12-01 21:04:02
handler_name : GPAC ISO Video Handler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 104 kb/s
Metadata:
creation_time : 2012-11-30 22:27:15
handler_name : GPAC ISO Audio Handler
[AVFilterGraph @ 0x1653ea0] No such filter: 'drawtext'
Error opening filters!
Done
 

jith45

Member
May 25, 2018
960
0
16
Hallo from germany,

i got a problem.

"FILE MANAGER: rar undefined"

Could someone explain to me, what do i have to do? ould be great. Im not the linux expert...

Thanx...and sorry for my english wink.gif
 

shwetha17

Member
May 24, 2018
785
0
16
How did you draw this conclusion? This plugin works with the rutorrent locale configuration, which can be changed in /php/util.php (look for set_locale line)
 

dsouvik215

Member
May 25, 2018
896
0
16
Hi hwk,
I have two questions.
1. Why the permission of a new archiving file is 660, Could I change the read/write permissionof the new archiving files?
2. Why can't I create a new torrent by file manager? It seems has some issue and I don't know why I feel he can't finish his action.
btw, I can create a folder or delete files or rename the folder name successfully, I just can't create a new torrent.

create_torrent.png