topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Tuesday June 17, 2025, 10:00 am
  • 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

Recent Posts

Pages: prev1 ... 6 7 8 9 10 [11] 12 13 14 15 16 ... 225next
251
Post New Requests Here / Re: IDEA - Create a text doc of an artists discography.
« Last post by 4wd on November 07, 2020, 03:21 AM »
Thank you very, very much for taking the time to do this !

No problem, it was quite literally 20 minutes of playing around - working out the RegEx to remove everything I didn't want took the most time.

The MusicBrainz output is brilliant - but no dates means it's a pain to cross reference with my existing files.

You can get the dates, you just have to follow every album link but they do provide the info in JSON format without having to strip it out of the page.

For example, AC/DC's High Voltage:

XML
JSON

So it can be obtained, just grab the JSON and pull out the first date value, as an example:

Code: PowerShell [Select]
  1. $album = (Invoke-WebRequest -Uri "https://musicbrainz.org/ws/2/release-group/2b81e645-4586-4456-843a-9bc19a217470?inc=releases&fmt=json") | ConvertFrom-Json
  2. "$($album.releases[0].date) - $($album.title)"

The only problem being multiple release dates, eg. for that particular entry there are nine dates ... which one do you choose really?

Considering MusicBrainz provide album data in JSON, I'm kind of surprised that the artist page doesn't provide the same, (I mean including the album details, ie. combined artist+releases).
252
Post New Requests Here / Re: IDEA - Create a text doc of an artists discography.
« Last post by 4wd on November 06, 2020, 09:41 PM »
I'm not going to offer an all encompassing solution but here's something simple in PowerShell that uses Discogs - it might inspire someone ;)

Code: PowerShell [Select]
  1. <#
  2.   .\DiscoFile.ps1 <Uri>
  3.  
  4.   Given the URI from https://www.discogs.com for an artist it will retrieve the
  5.   discography.
  6.  
  7.   eg.
  8.  
  9.   .\DiscoFile.ps1 https://www.discogs.com/artist/84752-ACDC
  10.  
  11.   Will result in a file called 'AC_DC - Discography.txt' in the same directory as
  12.   DiscoFile.ps1
  13.  
  14. #>
  15.  
  16. param (
  17.   [string]$Uri
  18. )
  19.  
  20. $web = (Invoke-WebRequest -Uri $Uri).RawContent
  21.  
  22. $temp = $web -replace '[\s\S]+artist_schema..([\s\S]+?)<\/script>[\s\S]*$', '$1'
  23.  
  24. $json = $temp | ConvertFrom-Json
  25.  
  26. $outFile = ($json.name + " - Discography.txt").Split([IO.Path]::GetInvalidFileNameChars()) -join '_'
  27.  
  28. for ($i = 0; $i -lt $json.album.Count; $i++) {
  29.   "$($json.album[$i].datePublished) - $($json.album[$i].name)" | Out-File -FilePath $outFile -Append
  30. }

Using the example above, output will be to 'AC_DC - Discography.txt' and look like:
Code: Text [Select]
  1. 1975 - T.N.T.
  2. 1975 - High Voltage
  3. 1976 - Dirty Deeds Done Dirt Cheap
  4. 1976 - High Voltage
  5. 1976 - Dirty Deeds Done Dirt Cheap
  6. 1977 - Let There Be Rock
  7. 1978 - Powerage
  8. 1978 - If You Want Blood You've Got It
  9. 1979 - Highway To Hell
  10. 1980 - In Concert-215
  11. 1980 - Back In Black
  12. 1981 - For Those About To Rock (We Salute You)
  13. 1983 - Special Radio Interview Disc
  14. 1983 - Flick Of The Switch
  15. 1985 - Fly On The Wall
  16. 1988 - Blow Up Your Video
  17. 1990 - AC/DC Interview
  18. 1990 - The Razors Edge
  19. 1992 - Live

Why did I choose Discogs even though the album data is incomplete?

Code: PowerShell [Select]
  1. $json = $temp | ConvertFrom-Json

Album data is available in JSON format which makes retrieving it trivial.

Having a quick look at MusicBrainz, it appears to also be in JSON format - maybe I'll devote an extra 30 5 mins to this ;)

MusicBrainz version, they don't appear to include the year in the JSON data though:

Code: PowerShell [Select]
  1. <#
  2.   .\DiscoFile-MB.ps1 <Uri>
  3.  
  4.   Given the URI from https://musicbrainz.org for an artist it will retrieve the
  5.   discography.
  6.  
  7.   eg.
  8.  
  9.   .\DiscoFile-MB.ps1 https://musicbrainz.org/artist/66c662b6-6e2f-4930-8610-912e24c63ed1
  10.  
  11.   Will result in a file called 'AC_DC-MB - Discography.txt' in the same directory as
  12.   DiscoFile.ps1
  13.  
  14. #>
  15.  
  16. param (
  17.   [string]$Uri
  18. )
  19.  
  20. $web = (Invoke-WebRequest -Uri $Uri).RawContent
  21.  
  22. $temp = $web -replace '[\s\S]+application\/ld\+json..([\s\S]+?)<\/script>[\s\S]*$', '$1'
  23.  
  24. $json = $temp | ConvertFrom-Json
  25.  
  26. $outFile = ($json.name + "-MB - Discography.txt").Split([IO.Path]::GetInvalidFileNameChars()) -join '_'
  27.  
  28. for ($i = 0; $i -lt $json.album.Count; $i++) {
  29.   "$($json.album[$i].name)" | Out-File -FilePath $outFile -Append
  30. }
253
Living Room / Re: silly humor - post 'em here! [warning some NSFW and adult content]
« Last post by 4wd on November 05, 2020, 01:57 PM »
I'll just leave this here:

254
Living Room / Re: silly humor - post 'em here! [warning some NSFW and adult content]
« Last post by 4wd on November 01, 2020, 04:09 PM »
B+D together is bigger than C.

Nah, the station logo is overlaying part of column C, you'd need A+B+D to beat it.

I heard that in Japan audience always chose the wrong answer on purpose so the producers decided to end the show.

Considering some of the Japanese game shows I saw years ago, they probably decided it was too tame.
255
General Software Discussion / Re: How to manually set clock in Windows 10 Pro?
« Last post by 4wd on October 30, 2020, 10:04 AM »
Most of the rest of the world use the change of seasons to implement DST.

Except Australia where we made it easier by just making it the first Sunday in October to the first Sunday in April.

... but only in the southern/eastern states/territories, the northern/western states/territories don't bother with DST at all 😆
256
General Software Discussion / Re: How to manually set clock in Windows 10 Pro?
« Last post by 4wd on October 30, 2020, 07:29 AM »
Try changing the time server to something other than Microsoft.

The public servers at NTP.org have always been better for me, for the UK try: uk.pool.ntp.org

The above will round-robin through, currently, 329 NTP servers in the UK, (split 213 IPv4/116 IPv6).

And yes, to change the system time requires admin.

If it still won't sync then the usual culprits: firewall, service, etc, Event log may give more info.
257
Living Room / Re: When rubber (computer mouse) gets old and sticky, what can you do
« Last post by 4wd on October 28, 2020, 07:19 PM »
My experience is that once the external of the mouse is (severely) deteriorated, than the internals aren't that good as well.

After 11 years, my CM Sentinel Advance still works well, coating fully wore off about 5 years ago.

Apart from the coating about the only problems with it is that some of the OLED segments are a little dim and the coating they had on the metal mesh inserts started wearing off - so I removed them, cleaned to bare metal, then applied gun blue about 6 or 7 years ago.

IIRC, the removal of the metal mesh to gun blue it has been the only time I've had it apart to clean it ... must be time to give it another surprise 😬
258
Living Room / Re: When rubber (computer mouse) gets old and sticky, what can you do
« Last post by 4wd on October 28, 2020, 05:14 AM »
A light dusting of talcum powder well rubbed in over the surface?

Removed the stickiness for me, usually comes back after awhile though since the rubber coating is still deteriorating.

In the end the coating completely wore away which fixed the problem.
259
General Software Discussion / Re: Windows 10 Announced
« Last post by 4wd on October 26, 2020, 09:51 AM »
Meh, their crappy updates don't work on my system, only way I can update to the next versions are by reinstalling Windows, (probably not a bad thing).

Main computer is still sitting at 1909, won't update to 2004 or 20H2 using whatever means. Keep getting the same useless error messages that involve trying the same useless fixes.
260
General Software Discussion / Re: Virtual desktop tools?
« Last post by 4wd on October 25, 2020, 06:27 AM »
Yeah, I've considered going multi-monitor in the past, but couldn't justify it (yet?): hardware cost, desk space, energy usage...

Normally don't even have to buy them if you're happy with monitors that are a few years old, I've been given monitors that are left over from upgrades that still work perfectly well.  They might not be FHD but they're still useful, don't even have them turned on most of the time.
261
General Software Discussion / Re: Manage the display in the laptop
« Last post by 4wd on October 25, 2020, 06:23 AM »
The problem with other display off utilities is that they are reactivated...

If you're saying that the display turns on after getting it to turn off then one more thing to try that may, (or may not), show something:

  • Safe boot,
  • Run nircmd: nircmd.exe monitor off
  • When the display turns on again, (assuming you haven't used the keyboard or knocked the mouse), try powercfg -requests again, see if it shows a reason it turned on.

BTW, what happens if you set the Screen Saver to Blank after a minute?
Does it work?

4wd is right (as per usual), ...

Thanks but I think my wife would like to have words with you :P ;D
262
General Software Discussion / Re: Manage the display in the laptop
« Last post by 4wd on October 24, 2020, 07:28 PM »
Tried.

The display don't display off after the minute of inactivity.

Which still points to a problem within Windows itself so your only probable solutions, (that won't require installing Windows from scratch or otherwise trying to locate the fault), is Kodezwerg's software, (or similar), or an In-place Upgrade.
263
General Software Discussion / Re: Virtual desktop tools?
« Last post by 4wd on October 24, 2020, 04:06 PM »
There's also Desktops from SysInternals, (Microsoft), haven't used it in awhile, might be a bit minimalist though.

https://docs.microso...s/downloads/desktops

So far this has been quite a frustrating experience. Did everyone more or less give up working on software in this category when Windows 10 came around?

Most probably started going to multi-monitor, monitors became cheaper, which increased screen real estate allowing you to see it all at once rather than cycle through virtual desktops to the one you wanted.
264
General Software Discussion / Re: Manage the display in the laptop
« Last post by 4wd on October 22, 2020, 08:33 PM »
I also don't understand why we can't do the proofs in safe mode.
Even in safe mode the display off fails...

You can, try it.
265
General Software Discussion / Re: Manage the display in the laptop
« Last post by 4wd on October 20, 2020, 06:33 PM »
It would seem to indicate that Windows itself is the problem, no software has made any requests to keep the system awake or the display on, (if the output is to be believed).

Try again but wait for a longer period, say an hour or two.

There's always the option to try an In-place Upgrade as a last resort.
266
Less people around ... but unfortunately the good times are coming to an end as we get closer to exiting Stage 4 lockdown.
267
General Software Discussion / Re: Manage the display in the laptop
« Last post by 4wd on October 20, 2020, 04:44 PM »
Try this:
  • Set the screen timeout to a minute,
  • Reboot and wait a few minutes to see if the display turns off,
  • If it doesn't, enter 'powercfg -requests' in an admin CLI.

What does it say?
268
Post New Requests Here / Re: Show IP Address from domain name
« Last post by 4wd on October 15, 2020, 06:26 PM »
Not if you just output it to a grid :P

True, but I was thinking of a simple updating textbox, (possibly frameless? - haven't really looked), rather than a scrolling console, (though you could clear it between updates).
269
Post New Requests Here / Re: Show IP Address from domain name
« Last post by 4wd on October 15, 2020, 02:17 AM »
test.txt
Code: Text [Select]
  1. google.com
  2. cloudflare.com
  3. microsoft.com
  4. georgebloggs.org

Code: Text [Select]
  1. C:\> for /f %a in (test.txt) do ping -n 1 %a

Result:
Code: Text [Select]
  1. C:\>ping -n 1 google.com
  2.  
  3. Pinging google.com [216.58.200.110] with 32 bytes of data:
  4. General failure.
  5.  
  6. Ping statistics for 216.58.200.110:
  7.     Packets: Sent = 1, Received = 0, Lost = 1 (100% loss),
  8.  
  9. C:\>ping -n 1 cloudflare.com
  10.  
  11. Pinging cloudflare.com [104.17.176.85] with 32 bytes of data:
  12. General failure.
  13.  
  14. Ping statistics for 104.17.176.85:
  15.     Packets: Sent = 1, Received = 0, Lost = 1 (100% loss),
  16.  
  17. C:\>ping -n 1 microsoft.com
  18.  
  19. Pinging microsoft.com [13.77.161.179] with 32 bytes of data:
  20. General failure.
  21.  
  22. Ping statistics for 13.77.161.179:
  23.     Packets: Sent = 1, Received = 0, Lost = 1 (100% loss),
  24.  
  25. C:\>ping -n 1 georgebloggs.org
  26. Ping request could not find host georgebloggs.org. Please check the name and try again.

If you want to get fancy you could parse the reply for the IP only.

Or some PowerShell, this will loop every 60 seconds until it's killed:

Code: PowerShell [Select]
  1. $a = get-content ".\test.txt"
  2.  
  3. do {
  4.   foreach ($i in $a ) {
  5.     try {
  6.       $i + " -> " + [System.Net.Dns]::GetHostAddresses($i)[0]
  7.     }
  8.     catch {
  9.       $i + " -> Does not resolve"
  10.     }
  11.   }
  12.   Start-Sleep -Seconds 60
  13. } while ($true)

Result:
Code: Text [Select]
  1. google.com -> 216.58.200.110
  2. cloudflare.com -> 104.17.175.85
  3. microsoft.com -> 104.215.148.63
  4. georgebloggs.org -> Does not resolve

You could make a simple GUI for it, (see PoshGUI), but the code will blow out past 13 lines :P
270
Non-Windows Software / Re: Samsung J5 and free memory in the phone memory
« Last post by 4wd on October 14, 2020, 03:24 AM »
Install Google Files from the Play Store:
https://play.google....droid.apps.nbu.files

It'll tell you how much 'junk' can possibly be removed and/or what is using up space, (apps, documents, images, etc, etc).

Make sure you know exactly what is going to get removed before doing it if you do.
271
General Software Discussion / Re: How to make MakeMKV better?
« Last post by 4wd on October 14, 2020, 03:11 AM »
RipIt4Me, also discontinued but still can be downloaded, was a frontend to DVD Decrypter and DVDShrink.
It 'parsed' the .IFO files, pretty much the same way that a user would navigate the menus, and fed the result to DVD Decrypter to remove VOBs that weren't called, 'empty' VOBs, menu tricks, etc used by the manufacturers to complicate copying.
It was the first program to do so, then, IIRC, DVD Fab picked up on the same modus operandi.

I don't think I found a DVD it couldn't handle.

DVD43 worked pretty well for what it did, transparent decryption, but I think it sometimes had problems with some DVDs.  I haven't used it since Win7 days so no idea whether it still works, if it did then it's just a matter of opening the DVDs directly with HandBrake/VidCoder.

As for VidCoder, just drop the MKV on the interface, choose a preset under Builtin->General if there's one that matches framerate/dimensions, if there is multiple audio tracks or subs, select the ones you want to keep, then hit encode and see what the output is like.  If you need more quality you can pick another preset or tweak the video encoding settings, (it uses HandBrake cli as the encoding engine).

272
General Software Discussion / Re: How to make MakeMKV better?
« Last post by 4wd on October 13, 2020, 07:24 PM »
MakeMKV encodes the videos in MPEG2 format, and the audio in AC3 format.

MakeMKV does not encode, it remuxes the source streams into an MKV container.  Since DVDs are basically MPEG2 + AC3, that is what you will end up with.

Therefore:

Or should I just go back to using HandBrake for my DVD ripping needs?

Yes, if the visual/audio quality is sufficient for your needs.

BTW, if your DVDs have copy-protection then you'll still need something like MakeMKV to rip them first: eg.
AnyDVD, DVDFab Passkey - both commercial software,
Passkey Lite - free Lite version of DVDFab Passkey,
DVD43 - old device filter,
RipIt4Me - this or DVD43 are all I've ever really used.

AnyDVD, DVDFab Passkey (Lite), and DVD43 are implemented as driver filters, they will try to decrypt the DVD on-the-fly, eg. HandBrake will be able to read a copy-protected DVD directly.

If any DVDs you have already ripped had copy-protection then you really haven't wasted any time by ripping with MakeMKV first, just feed the MKV into HandBrake, (personally I prefer VidCoder).
273
General Software Discussion / Re: What Android Apps Do You Use?
« Last post by 4wd on October 13, 2020, 05:20 PM »
If you don't want to use K-9 Mail, what are you going to use?

I'll just use the current public release until it doesn't work anymore due to some stupidity on Google's part.
Then I'll have another look around to see what's available, if nothing is suitable I'll just not use email on the phone.
It's convenient but it's not essential, if it was essential they'd ring.

Most of the alternatives I glanced at wanted an insane number of permissions.

This is the fault of Google I think, bundling things together, eg. tying Bluetooth LE scanning to the need for location to be enabled.
What I've found even more annoying/stupid is that some email programs I've tried, instead of adding Gmail account settings within the email program, (as K-9 does), when they see you're adding a Gmail account they switch to the Add Account settings of the phone, get you to add your Google account there, then use them to get OAUTH permission to access the account.
End result is you have multiple Google accounts on your phone where you only originally might have had one - all wanting to sync info.
Some, like Bluemail, store the account info there but it isn't added to the phone as a separate Google account.
274
Find And Run Robot / Re: Openstreetmap alias(es)?
« Last post by 4wd on October 11, 2020, 06:51 AM »
There is one issue: this formulation doesn't cope with places with more than one word as a name (like New York, for example). Is there a solution to that, do you think?

Enclose it in quotes: dir "new york" chicago
275
Living Room / Re: Looking for smartphone
« Last post by 4wd on October 09, 2020, 07:04 AM »
Now that it is almost too late to do any good I found the slider in Developer Settings to disable automatic system updates.

PSA: To get to Developer Options, go to Settings->About Phone and tap on Build number seven times :)
Pages: prev1 ... 6 7 8 9 10 [11] 12 13 14 15 16 ... 225next