Windows Hydraulic

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
wireman99 Offline
Junior Member
Posts: 7
Joined: Mar 2012
Reputation: 0
Post: #11
Agree that the problem isn't solely with mpeg2 files but also with xbmc and pneumatic.

After posting above I went on to experiment with several other files, most of them mkv's. Getting failure to play and strangely some even return the error of no rar's in nzb file, yet sabnzbd is downloading them. Haven't looked at the log files yet but as a quick test I used an external newsreader to stream the same file using MPC-HC. No problems streaming using this method.

I like the direction your going by filtering by quality. Another way to possibly help filter the results returned would be to use file size. I took a quick look at the newznab docs and there appears to be an api call for file size. My thinking is that files like mpeg2 are considerably bigger than x264 for the same quality, or in the case of those that don't have a high enough bandwidth connections they could restrict it to those they could stream. This possibly might allow excluding files that pneumatic and xbmc have problems with also (although I think this is less likely to work consistently). This is all conjecture on my part as I don't have much coding experience, but I'm trying to learn, so not sure how hard things like this would be to implement.

Looking forward to the next release and thanks for the app. It has inspired me to redouble my efforts to learn to code.
(This post was last modified: 2012-03-19 08:02 by wireman99.)
find quote
ckergald Offline
Member
Posts: 83
Joined: Jun 2011
Reputation: 2
Post: #12
(2012-03-19 08:00)wireman99 Wrote:  Agree that the problem isn't solely with mpeg2 files but also with xbmc and pneumatic.

After posting above I went on to experiment with several other files, most of them mkv's. Getting failure to play and strangely some even return the error of no rar's in nzb file, yet sabnzbd is downloading them. Haven't looked at the log files yet but as a quick test I used an external newsreader to stream the same file using MPC-HC. No problems streaming using this method.

I like the direction your going by filtering by quality. Another way to possibly help filter the results returned would be to use file size. I took a quick look at the newznab docs and there appears to be an api call for file size. My thinking is that files like mpeg2 are considerably bigger than x264 for the same quality, or in the case of those that don't have a high enough bandwidth connections they could restrict it to those they could stream. This possibly might allow excluding files that pneumatic and xbmc have problems with also (although I think this is less likely to work consistently). This is all conjecture on my part as I don't have much coding experience, but I'm trying to learn, so not sure how hard things like this would be to implement.

Looking forward to the next release and thanks for the app. It has inspired me to redouble my efforts to learn to code.

I would recomend also testing the same release using popeye's newznab plugin, you should get the same results either it ends after a few minutes, or the message about no rar's in the file. I'm seeing these same items ocassionaly as well. Also Popey's newznab plugin has the feature to create a .strm file for a individual release just not in bulk as I'm doing with hyrdaulic. Try and create a strm file from his plugin and see if that works. If both these fail then it's either a bad usenet release or a problem with pneumatic. And if it work in a external player like mpc-hc that would indicate the release is fine.

Size may be a bit tricky as hour long shows would naturaly have larger file sizes then half hour shows, so there would need to be someway to look up the show first to find it's length then divide that by the file size. I think tvrage returns the length so I'll look into it.

With the quality checks I have in place on the latest version we shouldn't turn up to many mpeg2 releases anyways
i'm first looking at resolution, 1080p wins all, 720p wins over 1080i and any releases with no resolution in the title, and 1080i wins only over releases without a resolution in the title.
If resolutions match I then check codec, x264 and h264 have the same priority and will win over all others, next is mpeg2 and finaly is xvid.
I also look at source and prefer in this order bluray, web-dl,hdtv,bdrip,dvdrip,pdtv,anything else.

As far as coding goes, I understand how to code, but could never cut it as a full time programer. I really just threw this together to give me something similar to icelibrary now that pneumatic supports .strm files. If couchpotato and sickbeard start creating these strm files there really would be no need for this app, and I expect they probably will as popeye's plugin improves.
(This post was last modified: 2012-03-19 12:46 by ckergald.)
find quote
wireman99 Offline
Junior Member
Posts: 7
Joined: Mar 2012
Reputation: 0
Post: #13
(2012-03-19 12:43)ckergald Wrote:  I would recomend also testing the same release using popeye's newznab plugin, you should get the same results either it ends after a few minutes, or the message about no rar's in the file. I'm seeing these same items ocassionaly as well. Also Popey's newznab plugin has the feature to create a .strm file for a individual release just not in bulk as I'm doing with hyrdaulic. Try and create a strm file from his plugin and see if that works. If both these fail then it's either a bad usenet release or a problem with pneumatic. And if it work in a external player like mpc-hc that would indicate the release is fine.

ckergald didn't mean to imply that the problem was with Hydraulic. That is exactly what I did and it failed to launch either directly from the newznab or nzbmatrix plugin or after creating the strm files. Whats strange is that whether I use Hydraulic, newznab to create the strm file or even try to directly launch from the newznab plugin it fails. Yet it successfuly sends the request to sabnzbd and gets downloaded. Even trying to use the incomplete route from the plugin returns the same error messages.

Posted the problem and log to Popeye's thread to see what he makes of it.

(2012-03-19 12:43)ckergald Wrote:  As far as coding goes, I understand how to code, but could never cut it as a full time programer. I really just threw this together to give me something similar to icelibrary now that pneumatic supports .strm files. If couchpotato and sickbeard start creating these strm files there really would be no need for this app, and I expect they probably will as popeye's plugin improves.

That is exactly what drew me to your program. The ability to have a extensive library yet not require massive amounts of hard drive space.

P.S. Looking forward to the addition of movies to the program.
(This post was last modified: 2012-03-19 18:15 by wireman99.)
find quote
ckergald Offline
Member
Posts: 83
Joined: Jun 2011
Reputation: 2
Post: #14
I've updated Hydraulic to ver 1.3
Hydraulic_1.3.zip

It now will try to pick the best quality for a tv release, supports season folders, and I've started adding movie support as well.
find quote
ursli Offline
Senior Member
Posts: 138
Joined: Nov 2011
Reputation: 3
Post: #15
Thanks for this, working as expected here.

To my question: Anyone already managed to create a regex to only create 720p.WEB-DL .strm files if it doesn't find 1080p ones? I tried fiddling around with the regex.txt file already but I lack to knowledge to make it work.
find quote
ckergald Offline
Member
Posts: 83
Joined: Jun 2011
Reputation: 2
Post: #16
(2012-03-27 15:34)ursli Wrote:  Thanks for this, working as expected here.

To my question: Anyone already managed to create a regex to only create 720p.WEB-DL .strm files if it doesn't find 1080p ones? I tried fiddling around with the regex.txt file already but I lack to knowledge to make it work.

My regex knowledge sucks, I found those regexes online and found they worked for what I was looking for. If you wanted only web-dl releases you should be able to modify the regex so that it will not return a result unless it matches the web-dl tag. The way the code is written as long as you do not select the option to create .strm files for all releases it will try to match a regex and if not matched it will not write the .strm
the regex'es in the /txt file are processed in the order they appear so remove all regexes except the one you need.

If you need original functionality back just delete regex.txt and it will recreate it with the defaults.

I used a program called expresso to test the regex'es I'm using against a few example release names, you should be able to do this as well to tweak it to your needs.
find quote
kylehudgins Offline
Junior Member
Posts: 6
Joined: Mar 2013
Reputation: 0
Post: #17
So, I'm confused. Can I install this on one computer that has sickbeard installed and sync the .strm files to other (openelec) computers?
find quote
CarrollDugan Offline
Junior Member
Posts: 1
Joined: Mar 2013
Reputation: 0
Location: Southfield
Post: #18
that really great totally admire your post but i was not knowing that Hydraulic term also comes in window.
___________________________
hydraulic power units
find quote
Post Reply