avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday May 20, 2022, 1:13 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - skwire [ switch to compact view ]

Pages: prev1 2 3 4 [5] 6 7 8 9 10 ... 221next
N.A.N.Y. 2014 / Re: NANY 2014 Release - epCheck
« on: October 19, 2019, 04:20 PM »
I have a question about TVmaze: how easy/difficult would it be to add as an option to use the TVmaze API? I mean in addition to TVDB, as a selectable option. I'm gonna go out on a limb and say it's probably not trivial, but I'm interested to know.

The main reason is that often for very recent episodes, TVmaze has the correct info, i.e. ep title and airdate sooner than TVDB. Occasionally it's the other way round but I find I often have to check their website when something doesn't match up.

This a bit disjointed to explain, so let me preface it a bit:

  • I'm not a huge fan of most web-browser based interfaces.  Some are awesome, though.
  • I like to think that I have a decent knack for desktop interface design.
  • I enjoy working with standard REST/SOAP APIs such as TVDB, OMDB, ChartLyrics, Subsonic, etc.  Most of these APIs return data in XML or JSON format -- I can easily work with either.
  • I enjoy making desktop apps for said APIs (frontends, basically).  A lot of the programs I've written are exactly this type of application.  Ask mouser...I have something of a listview fetish.   :P

So, that said, working with the TVmaze API wouldn't be any easier or harder than working with the TVDB API.  It's a matter of figuring out the particular endpoints you need for the data you want.  However, it gets tricky when you want to combine multiple APIs into one interface.  Namely:

  • You have to put up with the extra time it takes to query multiple websites.  This is more time-consuming than you might think.  Something as simple as adding a show becomes more complex.  Multiple searches for the show name, multiple user confirmations, and, now, multiple show IDs to deal with for a single show.  Because the show IDs are not going to match between sites, you basically have to maintain separate sets of data for each API you're dealing with.  It gets to be a [email protected]#$ really quickly.
  • You have to put up with potential API changes on multiple fronts now.
  • What if one (or more) of the sites is down?
  • What if one (or more) of the sites goes down permanently?
  • Which database's information takes precedence for a given field?
  • I often pay out of my own pocket for premium API access in order to make my apps better for the end user.  Faster API response times, more allowed API hits per day, access to more data, etc.  While I'm gainfully employed and writing freeware is a hobby, this type of investment is not insignificant.  Think hundreds of dollars per year across all the apps I've written that use APIs.    More APIs can mean more costs.

Indeed, all of this can be dealt with, but, as you can imagine, it can be a bit of a hot mess at times.  I really hope some of the above helps to clarify things.

Bonus question: Have you ever considered open sourcing the project to Github or similar?

Nope.  There's really no voodoo or magic going on here.  It's simple API calls and munging the returned text into an interface.

N.A.N.Y. 2014 / Re: NANY 2014 Release - epCheck
« on: October 19, 2019, 10:52 AM »
I've been trying to add HBO's Watchmen but Search returns only Watchmen: Motion Comic from 2009.  I checked in TheTVDB and that's there with Watchmen (2017) and the HBO Watchmen with their three IDs.  Never had any issues with HBO; just added His Dark Materials a few days ago.

Oddly enough, the API search returns different results than searching via the website.  It's even mentioned in the API docs and, unfortunately, can cause situations such as this.  There is no way to add by ID, but you can manually add a show using this process:

  • Within epCheck, add any show to a profile.  Make note of the name of the show and the profile you added it to.
  • Shut down epCheck.
  • Use a file manager to go into the "data" folder within epCheck's folder.  Find the <profile_name>.txt file and create a backup copy of it somewhere else.  Open the original in a text editor.
  • Find the show name you added and change the name and show ID to what you want.  Be careful not to mess up the tab characters between the name, show ID, and profile name.
  • Save the file and start up epCheck.  Find your show.
  • Right-click your show, choose "Refresh series data" and let it do its thing.
  • Once it's done downloading the show data, select a different show, and then reselect your show.  The data should be there.

It works almost perfectly now, just one issue remains: can I 'mute' the wheel output so that when it successfully sends a command to f.lux, it will not also scroll the browser window up or down or change the volume in the media player?

The issue is that the code isn't sending a command directly to f.lux.  Rather, it's just blindly sending the Alt+PgUp/Alt+PgDown commands.  Try this:

Code: Autohotkey [Select]
  1. CoordMode, Mouse, Screen
  2. myEdgePixels := 10
  4. WheelUp::
  5. WheelDown::
  6. {
  7.     MouseGetPos, myX
  8.     If ( myX <= myEdgePixels )
  9.     {
  10.         If ( A_ThisHotkey = "WheelUp" )
  11.         {
  12.             SendInput, !{PgUp} ; Send Alt+PgUp.
  13.         }
  14.         If ( A_ThisHotkey = "WheelDown" )
  15.         {
  16.             SendInput, !{PgDn} ; Send Alt+PgDown.
  17.         }
  18.     }
  19.     Else
  20.     {
  21.         SendInput, {%A_ThisHotkey%}
  22.     }
  23. }
  24. Return

Again, I don't have f.lux installed so this is untested with that application.

N.A.N.Y. 2014 / Re: NANY 2014 Release - epCheck
« on: September 28, 2019, 11:36 PM »
FWIW, I just updated my series data and epCheck appears to be working normally.   :up:

Skwire Empire / Re: Release: sWeather (tray-based weather app)
« on: September 17, 2019, 11:07 AM »
sWeather uses the Yahoo! Weather API so, unfortunately, it's at the mercy of the data it receives.  In other words, there isn't anything I can do about it programatically.  I suppose you could write an email to Yahoo!, but I'm going to assume it will fall on deaf ears.

Skwire Empire / Re: Release: sWeather (tray-based weather app)
« on: September 08, 2019, 11:21 AM »
I've been aware of sWeather for a number of years and am sure that skwire is a trustworthy developer, but is it possible that this file has been tampered with or are these all just false positives?
-leftdisconnected (September 08, 2019, 12:40 AM)

I just downloaded it and checked its SHA-256 hash against my local copy.  If you're downloading it from my DonationCoder site, it has not been tampered with.

SHA-256 hash: 33A19E4117DE230A0E9CBCF692BEEB4FEDC4075C8CA3001E91BB8C1AF1334779

Thank you for taking the time to write.  These are false positives that come and are due to the language my applications are written in (AutoHotkey/AHK).  In the past, as a test, I've  written a single line AHK script and compiled it:

Code: Autohotkey [Select]
  1. F1:: ExitApp

That's hotkey to exit the script.  Even that wouldn't come up clean on VirusTotal.  I know it's only my word, but I can state that there is no malware in any of my
 applications that are downloaded directly from my site.  That said, I cannot vouch for the various software repository sites that list my software as some of them wrap my software into their adware-bundled installers.  This perturbs me, but there is little I can do about it.  For the record, I do not submit my software directly to any of these types of sites; they pick my programs up automatically.

Years ago, when the AV companies were a lot fewer, I used to contact them about stuff like this.  Things would get fixed but, due to the AV updates, false positives would, inevitably, occur again. I got tired of dealing with it, so now I just shrug and trust that my body of work speaks for itself.  I know it sounds terribly apathetic, but fighting it just isn't worth the cycles anymore.  Cheers.

Skwire Empire / Re: sWeather Stopped Working on New Year.
« on: August 25, 2019, 10:54 PM »
I have Windows 7, and from to time sWeather just stops working for me - it doesn't start up with Windows, and when I try to start it manually, it simply won't open. I have to download a fresh copy from the website to make it start, and it happened to me twice already since May. What am I doing wrong?? Is it supposed to be installed in some kind of special directory? (mine installed in Program Files)

If you're going to run it from the Program Files folder, you will need to run it with Administrator rights.  To run it without Administrator rights, you will need to move it to a non-UAC protected folder.

Foobar can do this as well.

Living Room / Re: For those with a CrashPlan...
« on: July 30, 2019, 11:37 AM »
It seems pretty clear at this point that crashplan is malfunctioning silently on my pc;

Mouser, did you mean SpiderOak here and not Crashplan?

I have AutoHotkey installed, but couldn't get your code to work. No idea why... :(

Did you save out the code to a something.ahk file and then run it?

Do you have AutoHotkey installed?  If so, try out this simple script:

Code: Autohotkey [Select]
  1. myEdgePixels := 10
  3. ~WheelUp::
  4. ~WheelDown::
  5. {
  6.     MouseGetPos, myX
  7.     If ( ( A_ScreenWidth - myX ) <= myEdgePixels )
  8.     {
  9.         If ( A_ThisHotkey = "~WheelUp" )
  10.         {
  11.             SendInput, !{Up} ; Send Alt+Up.
  12.         }
  13.         If ( A_ThisHotkey = "~WheelDown" )
  14.         {
  15.             SendInput, !{Down} ; Send Alt+Down.
  16.         }
  17.     }
  18. }
  19. Return

If you don't have AutoHotkey installed, let me know, and I'll compile this into an executable.  Also, I don't have f.lux installed, so this is untested.

Skwire Empire / Re: sWeather Not Refreshing
« on: July 01, 2019, 04:02 PM »
Does the actual weather data that sWeather displays match with what shows in the raw weather data?

Skwire Empire / Re: sWeather Not Refreshing
« on: July 01, 2019, 03:53 PM »
Bring up sWeather and choose Options > Show raw weather data from the menu (or press F7).  In the webpage that comes up, look for the "lastBuildDate" line, e.g.: <lastBuildDate>Mon, 01 Jul 2019 03:49 PM CDT</lastBuildDate>

If it matches the "08:00 AM CDT" that's showing in sWeather, the problem is on Yahoo! Weather side.  If so, this usually works itself out over a matter of hours (sometimes days).

N.A.N.Y. 2009 / Re: NANY 2009 Release: Trout (audio player)
« on: June 23, 2019, 10:06 PM »
It's active.  Finding time to make changes is the hard part these days.

Post New Requests Here / Re: I work with classics movie files
« on: May 25, 2019, 09:36 AM »
Can't see any of the problem characters. Also would it be possible to default the naming to capitalizing? Just the actual name not the other listings.

Doh, that was an error on my part.  Please redownload.  It should be v1.0.0 build 15 now.

Also would it be possible to default the naming to capitalizing? Just the actual name not the other listings.

Do you mean you want to be able to type something like "a nightmare on elm street" and have it use "A Nightmare On Elm Street" in the actual rename?  If so, yes, it's possible, but I think it's completely counter-intuitive to what would be expected by the majority of users.  I think the majority of users would want the name to appear exactly how they typed it in the field.

Post New Requests Here / Re: I work with classics movie files
« on: May 24, 2019, 08:29 PM »
Give this a testing, please.


I have coded in quite a bit of error checking but, until we get any kinks worked out, please work on copies of your files.

Post New Requests Here / Re: I work with classics movie files
« on: May 24, 2019, 12:05 PM »
Here's a current screenshot:


Post New Requests Here / Re: I work with classics movie files
« on: May 24, 2019, 12:03 PM »
Apologies, got a bit side-tracked with work.  I have the basics mostly finished and should have something to share this weekend.

Post New Requests Here / Re: I work with classics movie files
« on: May 14, 2019, 08:27 PM »
Yes. Are there options to be able to add or remove things in the drop down menues?

Yes, the buttons next to the dropdown are edit buttons.  The "..." are just placeholders; they will be replaced with the typical edit image (pencil).

Post New Requests Here / Re: I work with classics movie files
« on: May 14, 2019, 05:06 PM »
Most of the functionality is in place.  I'm assuming the following screenshot is pretty close to what you had in mind?


Post New Requests Here / Re: I work with classics movie files
« on: May 14, 2019, 10:49 AM »
Here's a teaser screenshot of the GUI to this point.  Working on the actual functionality now.


If I use Phone Explorer to backup the apps, will it work?

We don't know.  Try it and report back.

Will the settings be backed up too?

Based on my own experiences as an Android user for over a decade, the answer is sometimes, for some apps, your settings will transfer over.  Sometimes they will not.  Sometimes, an app will offer a settings export feature that results in a file you can import on your new phone.  It's all part of the fun.  Haha.

Can I just restore the backup to my new device?

Try.  It.  You have absolutely nothing to lose by trying it.

Post New Requests Here / Re: I work with classics movie files
« on: May 12, 2019, 03:22 PM »
I'll start work on this tomorrow.   :Thmbsup:

Apologies for the delay.  I've been busy with family and work stuff the past few weeks.  I'll get to this when I can find some time.

Nice homage to your Pops.   :Thmbsup:

Pages: prev1 2 3 4 [5] 6 7 8 9 10 ... 221next