Bit Che > Bugs & Feature Requests
new entry - context menue "add to synology station"
chip!:
--- Quote from: regi100 on February 21, 2014, 02:38:33 am ---hey chip! - that was kinda quick -thx!
I just downloaded the 2.0 b67 and I see a few .ini files here [wink]
Put those (win7) right in here C:\Users\XYZ\AppData\Roaming\Convivea\Bit_Che\2
well whats next with those and how to set this up chip?
thanks and blessings!
--- End quote ---
1. make a folder: "C:\Users\XYZ\AppData\Roaming\Convivea\Bit_Che\2\external"
2. put those .ini & .html files in there
3. open up Bit Che 2.b67
4. on a result, right click 'Open Torrent With...' and choose 'FireFox-HTML'
5. if your firefox is in the default location (C:\Program Files (x86)\Mozilla Firefox\firefox.exe) then you should get a webpage with a link to the torrent which is already saved locally, so you just then right click and 'Open in Synology'..
note, we might need to edit the "firefox-html.ini" cmd= line to this (not sure without having one to properly test):
--- Code: ---cmd="C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -url "file://%appdir%/external/webpage.html?file=file://%file%"
--- End code ---
regi100:
pretty nice discription, could get along with that easily, thx!
I tried the default both .ini files:
"open torrent with - firefox"
and
"open torrent with - firefox html"
too.
you can easily reproduce the little bug with the default both .ini files - just choose "open torrent with - firfox html", the url pops up in a new tab, but when you right click the URL and choose from the context menu "save target to" nothing happens at all.
seems to me that this is just the same bug when trying to "open torrent with - firefox" and choose "download with synoloader" - also nothing happens.
I just checked the temp folder, the .torrent´s are just fine there... weird.
Now I changed the firefox-html.ini to
--- Code: ---cmd="C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -url "file://%appdir%/external/webpage.html?file=file://%file%"
--- End code ---
-> now -from context menu- "save target to " is available, I can save the temp\.torrent file (as a workaround) just easily to my nas folder to get the download started ;)
-> but -from context menu- "download with synoloader" will not work *hrmpf*
do you want to check this issue please?
thanks & bye for now, cheers chip!
chip!:
oh.. thank you :)
i did a little research and the "problem" is that SynoLoader is designed to send "URLs" to the Synology and not local "files".. so thats why "Download with Synoloader" doesnt work.. the Synology is expecting to get a 'URL' and then it would download the file from a web server using a HTTP request (not receive a local file)..
so, its possible to send a local file to the Synology using the API. but in order for Bit Che to send it, im going to either have to hack the script engine a bunch or create a separate standalone synology app to 'push' the local file to the Synology.. its just not going to work with SynoLoader unless that author can update the extension to support creating a task based on 'file' instead of 'url'.
back to the drawing board :) thanks for testing!
chip!:
ok i have a new version that I will need some testing.. the synology API documentation is horrible but I am confident I am getting close to have it working (but I dont have one to test).
chip!:
--- Quote from: regi100 on February 22, 2014, 06:36:22 am ---
--- End quote ---
hey regi100, ok can you grab the latest version here:
http://convivea.com/forums/index.php?topic=2131.msg20734#msg20734
1. then in the 'external' folder, you'll need to edit the synology.ini file:
2. put your server host/login in where it says #configure variables:
--- Code: ---#configure variables
host=put(`http://demo.synology.com:5000`)
user=put(`admin`)
pass=put(`synology`)
--- End code ---
(dont edit anything else)
let me know if that works? :)
Navigation
[0] Message Index
[*] Previous page
Go to full version