User(s) browsing this thread: 1 Guest(s)
|
Bierdopje 4 NMT
|
|
10-17-2010, 02:12 AM
|
|||
|
|||
|
Hi guys,
I've build a script that automatically downloads subtitles from bierdopje.com. IMHO the best site for dutch subtitles for tv series. I have my B-110 set up in such a way that TV series are automatically downloaded and added to OverSight. I have the following chain: Medianzb.com RSS feed » Feedtime » NZBget » Oversight. Works like a charm and very happy with it. The only annoying bit left was that I had to download the subtitles from bierdopje myself and place it in the correct folder. So I got bored of doing that so I automated the process. ![]() It scans your whole /share/Tv folder for .mkv and .avi files without a .srt file. It then extracts the showname, seasen and episode information from the path and filename. It then checks if there are subtitles available and downloads the best possible subtitle and renames it appropiately. It's written in PHP, and I used the Bierdopje PHP API wrapper from these dudes: http://bit.ly/cvG4VM However some features of the newer version of the API wasn't implemented yet so I had to adjust their API. I've been running this for a couple of weeks now and seems pretty stable. I really would like to have some ppl try it out, any feedback/ideas would really be appreciated! ![]() Installation instructions: 1. Download the zip file from here: bierdopje-v0.1.zip 2. extract the contents to /share/Apps/AppInit/websites/bierdopje_web 3. point your nmt or webbroser to http://popcorn:9999/bierdopje_web/sub.php That should work. In case you have copied videos using windows explorer and thus permissions are screwed up, add the following line to /share/start_app.sh: Code: ln -s /share/Apps/AppInit/websites/bierdopje_web /opt/sybhttpd/default/bierdopje_web(you will run the script as root so no permission errors should show up.) To do:
Cheerio! |
|||
3 users say Thank You to SilverViper for this post |
|
10-17-2010, 12:06 PM
|
|||
|
|||
|
RE: Bierdopje 4 NMT
Great work,
i'm going to give it a try right away! A good feature you could add on your ToDo-list would be to use to USER-key too, this way downloaded subs get marked. My PCH-A110 Stats | Samsung LE32A656 | Logitech Z-2300 | Harmony One Oversight | |
|||
|
10-17-2010, 02:36 PM
|
|||
|
|||
|
RE: Bierdopje 4 NMT
Thanks for trying it out!
The API is read-only for the time being... I would need to reverse engineer the whole site to do that and that would be kind of silly
|
|||
|
10-17-2010, 04:56 PM
(This post was last modified: 10-17-2010 04:59 PM by Slevin.)
|
|||
|
|||
|
RE: Bierdopje 4 NMT
I see in your code you get the subs every time,
maybe you can get them from the personal feed of every user using the userkey Code: http://external.bierdopje.com/subtitles/BDUSR1A2B3C4D5E6F7G8H9/nl/[code]Note: the BDUSER-ID used in the examples are fake My PCH-A110 Stats | Samsung LE32A656 | Logitech Z-2300 | Harmony One Oversight | |
|||
|
10-17-2010, 05:20 PM
|
|||
|
|||
|
RE: Bierdopje 4 NMT
Hmm that might work yes... I'll play with that soon. Not sure if want to have the marked as watched... Since I haven't watched it yet
![]() And I don't download every sub every time. I do use my api key every time... |
|||
|
10-17-2010, 05:36 PM
|
|||
|
|||
|
RE: Bierdopje 4 NMT
It isn't marked as watched,
just as "Verkregen" on Bierdopje only the first circle will be marked green My PCH-A110 Stats | Samsung LE32A656 | Logitech Z-2300 | Harmony One Oversight | |
|||
|
10-17-2010, 06:00 PM
|
|||
|
|||
|
RE: Bierdopje 4 NMT
Hmm that would be really sweet
![]() I'll try it out and let you know
|
|||
|
10-17-2010, 07:18 PM
|
|||
|
|||
|
RE: Bierdopje 4 NMT
Ok I download using the following url:
Code: http://www.bierdopje.com/downloads/sub/48666/House.S07E04.HDTV.XviD-LOL/apikey/4B11A785B6465ADAYou suggest downloading using the following url: Code: http://www.bierdopje.com/downloads/sub/48666/House.S07E04.HDTV.XviD-LOL/userkey/BDUSR9B8E2105AEDBxxxxxxxHowever, it does not mark it as downloaded either way... Any idea? |
|||
|
10-17-2010, 07:24 PM
(This post was last modified: 10-17-2010 07:25 PM by Slevin.)
|
|||
|
|||
|
RE: Bierdopje 4 NMT
When i use the link with my own userkey, it downloads & gets marked as downloaded
Note: you have to reload the page to see the circle change green My PCH-A110 Stats | Samsung LE32A656 | Logitech Z-2300 | Harmony One Oversight | |
|||
|
10-17-2010, 07:29 PM
|
|||
|
|||
|
RE: Bierdopje 4 NMT
Ah never mind, it's a setting in the user options:
Markeer een aflevering als "verkregen" zodra ik een ondertitel download. Ja/Nee |
|||
|
10-18-2010, 01:15 AM
(This post was last modified: 10-18-2010 01:16 AM by SilverViper.)
|
|||
|
|||
|
RE: Bierdopje 4 NMT
Ok I managed to implement the userkey thing...
However, as it turns out, you need to be logged in to have it marked as downloaded... Not sure if I can manage to login using wget... |
|||
|
10-23-2010, 02:01 PM
|
|||
|
|||
|
RE: Bierdopje 4 NMT
Wow, this looks very interesting indeed.
I think lordy might find use for the script, as he wants oversight to be able to download subs as well. Though I don't know if he uses PHP or is planning to use it for the Oversight subtitle downloader. He could definitely help you out with creating a CSI package of course. Maybe something to work out together. I have a question, though, is it possible to set another location for the downloads? I download directly to my External HDD, so the Share folder isn't an option for me. Great app, though! PCH-A100 (FW 01-17-100317-15-POP-402-000) (00-17-091216-15-POP-402 NMT Apps) Philips 28PW9611/01 PAL SD, connected with Composite Old skool
|
|||
|
10-30-2010, 02:25 AM
|
|||
|
|||
|
RE: Bierdopje 4 NMT
Yeah I knew he was busy working on subtitle downloads, didn't wanted to wait so built my own script. And since there wasn't anything useful for Bierdopje I decided to share it. And I've looked if I could append it to OverSight but that didn't seem so easy
![]() Somewhere near the bottom of the file you see the following: PHP Code: # start the scanEdit this to the path of your external HDD and it should work ![]() I also use /share/tmp/ for downloading the files... That's in function downloadfile... You might need to edit that as well... Oh, and make sure you use a proper texteditor with Unix support (eg. TextPad or Notepad++). Else it would go titsup
|
|||
|
11-02-2010, 02:25 PM
|
|||
|
|||
RE: Bierdopje 4 NMT
(10-30-2010 02:25 AM)SilverViper Wrote: Yeah I knew he was busy working on subtitle downloads, didn't wanted to wait so built my own script. And since there wasn't anything useful for Bierdopje I decided to share it. And I've looked if I could append it to OverSight but that didn't seem so easy Well, it's certainly a good pro active behaviour ![]() I use notepad++ so they can point in any direction they want to
PCH-A100 (FW 01-17-100317-15-POP-402-000) (00-17-091216-15-POP-402 NMT Apps) Philips 28PW9611/01 PAL SD, connected with Composite Old skool
|
|||
|
12-11-2010, 11:54 PM
|
|||
|
|||
|
RE: Bierdopje 4 NMT
Wow this is what I was looking for !
Always found it sucked to be able to get downloads in automatically but still having to download and rename subs manually. Thanks ! Just one question, is there a way to automate the process, so the NMT checks for subs once a day or something? The 'no dutch subs available -> download english ones instead' option would also be a great addition! Hope you are still working on the project
|
|||
|
« Next Oldest | Next Newest »
|

Twitter
Facebook
NMT Wiki
Search
Member List
Help
A-400 [13 May 2013]






![[+]](images/collapse_collapsed.gif)



