SSoft7 / upload

Automatically exported from code.google.com/p/upload
1 stars 1 forks source link

webui don't send to correct category #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Select AO as upload site
2. Configuration for .upload.rc is as follow 

# list of categories able to be uploaded into: look for options after select 
NAME=category
# if the option value is a number add it _after_ the category name
ALLCATS=(
        "Movies\|HD" 0 "Movies\|XviD" 1 "Movies\|DVDR" 2 "Movies\|Pack" 3 "Movies\|Pack-HD" 4 "Movies\|XXX" 5
        "TV\|XviD" 6 "TV\|HD" 7 "TV\|DVDR" 8 "TV\|Pack" 9 "TV\|Pack-HD" 10
        "Apps\|PC" 11 "Apps\|MAC" 12 "Apps\|Nix" 13 "Apps\|Mobile" 14
        "Games\|PC" 15 "Games\|Xbox" 16 "Games\|PS3" 17 "Games\|Wii" 18
        "E-Books" 19 "Misc." 20 "Apps\|Mobile" 21 "MP3" 22 "MP3\|Packs" 23 "0day\|xxx" 24 "AudioBook" 25 "MVID" 26
)

# is the option value different than the category name? 1 = yes, 0 = no
KEYVAL=1

3. Configuration in settings.php is as follow

    "AO" => array(
        "Movies|HD", "Movies|XviD", "Movies|DVDR", "Movies|Pack", "Movies|Pack-HD", "Movies|XXX",
        "TV|XviD", "TV|HD", "TV|DVDR", "TV|Pack", "TV|Pack-HD",
        "Apps|PC", "Apps|MAC", "Apps|Nix", "Apps|Mobile",
        "Games|PC", "Games|Xbox", "Games|PS3", "Games|Wii",
        "E-Books", "Misc.", "Apps|Mobile", "MP3", "MP3|Packs", "0day|xxx", "AudioBook", "MVID"
    )

What is the expected output? What do you see instead?

It should upload the 0day|xxx but instead it uploads to "Movies|HD"

What version of the product are you using? On what operating system?
Linux <hostname> 2.6.18-274.el5.028stab093.2 #1 SMP Tue Aug 23 16:46:17 MSD 
2011 x86_64 x86_64 x86_64 GNU/Linux

Used latest from SVN on October 13th 2011

Please provide any additional information below.

catsort=0

Debug line : 

sudo -u <user> '/home/<user>/upload/wrapper' webui '.ao.rc' '0day|xxx' 
'<torrent name>'

If i don't use webui, it upload to correct category!

Thanks

Original issue reported on code.google.com by david.la...@gmail.com on 14 Oct 2011 at 4:51

GoogleCodeExporter commented 9 years ago
Did you try to run the exact debug line, does it upload correctly then too? I 
am currently not active anymore at AO (too busy with other stuff), perhaps you 
could ask their upload team if they have a fix for this since I'm pretty sure 
they use the upload script themselves too (I helped them set it up when they 
opened).
If there's a bug in the .ao.rc or settings.php file that I should update let me 
know :-)

Original comment by code.or....@gmail.com on 22 Jan 2012 at 12:20