Opened 11 years ago

Closed 11 years ago

#3679 closed Enhancement (invalid)

Request: Local filename/directory mapping and local charset

Reported by: starmoon Owned by:
Priority: Normal Milestone: None Set
Component: Daemon Version: 2.11
Severity: Normal Keywords: charset, rename, mapping
Cc: starmoon@…


I have too many torrent download and seeding. (to keep upload ratio on some PT sites). and I need to catalogize these files and rename the directory name and/or filenames to more familier names. (eg. add Chinese name, movie formats, movie year etc).

I suggest that transmission add this feature to make local file arrangements flexable. methos to implement this may save the local file mapping infomation to .resume files. That will keep tracking localfile locations.

(Q: why i need this? A: BitTorrent? is NOT only downloading, but also SHARING)

Another feature I request is local filesystem charset settings. I HAVE TO use local charsets insdeed of UTF-8 encoding. This may implemented by hooking any local file open/directory search function. Done by iconv_open or so functions. local charset convertion should be done on message log too.

Thanks, looking forward for develop team responese.

currently I do filename translation to local charset by using a "finish script".

but when file and/or directory was renamed. no future seeding is possiable. so i just stop seeding by sending back a stop command.

#! /bin/sh
# by starmoon



if [ -e "$TR_TORRENT_NAME" ]; then
NAME=$(echo $TR_TORRENT_NAME | iconv -f utf8 -t gb18030)
echo -n `date "+[%F %T]"` $TR_TORRENT_HASH $NAME >> $LOGFILE
chown -R --reference=. "$TR_TORRENT_NAME"

CNT=$(convmv -f utf8 -t cp936 -r --notest "$TR_TORRENT_NAME" | wc -l)
if [ $CNT -gt 0 ]; then
   echo ' *' >> $LOGFILE
   transmission-remote -n admin:pass -t $TR_TORRENT_ID --stop &
   echo >> $LOGFILE

cd $PWD

Change History (5)

comment:1 Changed 11 years ago by starmoon

  • Cc starmoon@… added

comment:2 Changed 11 years ago by starmoon

  • Summary changed from Edit postReport this postReply with quote Request: Local filename/directory mapping and local charset to Request: Local filename/directory mapping and local charset

comment:3 Changed 11 years ago by livings124

  • Priority changed from High to Normal
  • Resolution set to duplicate
  • Status changed from new to closed

Since seems to cover the same ground as #1220. Closing this in favor of that.

comment:4 Changed 11 years ago by starmoon

  • Resolution duplicate deleted
  • Status changed from closed to reopened

the gaol of this ticket is local charset. as well as local filename and diretory mapping(not only top dirname).

comment:5 Changed 11 years ago by livings124

  • Resolution set to invalid
  • Status changed from reopened to closed

A single ticket should only cover a single issue, but anyway, anything more than renaming at the top-folder level isn't going to happen. Open a separate ticket for the charset issue.

Note: See TracTickets for help on using tickets.