ViihdeHelper 4.2 released

A new version of the Chrome Extension is released. Head over to the ViihdeHelper page to download it.

Nyt, suuren kysynnän vuoksi, löytyy myös suomenkieliset asennusohjeet.

This version also works on the “Kohta poistuvat” page and when downloading, it provides the name of the recorded programme + time when the recording happened as the filename. Furthermore, it also provides a textfile with the same name with recording description, tv channel, duration, and date recorded.

Example:

Downloaded recording:
Elokuva. Die Hard - Koston enkeli (K15)_22.10.2011 21.00.00.ts

Downloaded text file:
Elokuva. Die Hard - Koston enkeli (K15)_22.10.2011 21.00.00.txt

Elokuva: Die Hard – Koston enkeli (K15)
(Die Hard: With A Vengeance/USA 1995). Vauhdikas toimintatrilleri käynnistyy, kun sankaripoliisi John McClane (Bruce Willis) on pidätetty virastaan ja hänen avioliittonsa on hajoamassa käsiin.
2 h 35 min
Nelonen 22.10.2011 21:00:00

Please try it out and let me know what you think.

Advertisements

9 thoughts on “ViihdeHelper 4.2 released

  1. Simo May 11, 2017 / 22:09

    I prefer alphabetic order by recording date: yyyy-mm-dd hh:mm + recording name. Additionally it would be nice to be able download all files from a folder at once. I used console jquery script as a work-around but that might be difficult for non-techical users.

    Here is my quick changes for the file naming:

    function createBaseFileName(data) {
    return formatStartTime(data.start_time) + ‘ ‘ + sanitize(decodeURIComponent(data.name), ‘.’);
    }

    function formatStartTime(startTime) {
    var match = startTimeRe.exec(startTime);
    var day = zeroPad(match[1]);
    var month = zeroPad(match[2]);
    var year = match[3];
    var hour = match[4];
    var min = match[5];
    return year + ‘-‘ + month + ‘-‘ + day + ‘ ‘ + hour + ‘.’ + min;
    }

    function zeroPad(str) {
    if (str.length == 1) {
    return ‘0’ + str;
    }
    return str;
    }

    var startTimeRe = /(\d+)\.(\d+)\.(\d+) (\d+):(\d+):(\d+)/

    • Andreas Finne May 11, 2017 / 22:19

      Thank you for your comment.
      Hmm… I see what you mean. I suppose it depends on what you are downloading. For instance, if you download all episodes of a series, it would be nice to have them ordered after each other by name.
      I’ll see what I can do, could be configurable in the options perhaps.
      I was thinking of implementing something like “download selected”, but that would be limited to the number of recordings visible on the page. On the other hand, I’m not sure how many concurrent downloads are possible to have.
      Please keep suggestions coming 🙂 It’s nice to get feedback.

      • Simo May 11, 2017 / 22:43

        Thank you. Yes, that is the case, I wan’t to have my episodes in correct order :).

        Well, more than 50 concurrent downloads would be inconvenient so maybe the “download selected” would be the best option. Even though technically you could download all by paging in JS tallenteet/api/recordings/ for the current folder. I guess, Chrome limits amount of concurrent downloads in any case.

    • Andreas Finne May 14, 2017 / 23:38

      Better time format and “download selected” are now implemented in version 4.3 of the extension. Please let me know how it works 🙂

  2. MARIA May 13, 2017 / 11:09

    I have some problems with the downloading – only half of the programme is downloaded. What should I do?

    • Andreas Finne May 14, 2017 / 16:37

      Does it simply stop downloading in the browser, or does it say that download is completed? Is the entire programme available to watch normally?

  3. Mikko May 14, 2017 / 22:13

    Thank you for your nice work! This is extension is great! As Simo commented it would be helpful if the file naming could be in alphabetic order. I used Viihde Helper to download all the episodes of some series and problem is that files are not in the correct order.

    • Andreas Finne May 14, 2017 / 22:16

      I actually implemented this feature today 🙂 I just haven’t released nor written up a post for it. The new version also supports “Download selected”. Stay tuned 🙂

    • Andreas Finne May 14, 2017 / 23:31

      The new version is available now 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s