Plex, Fritz!Box 6490 Cable ja Kaisanetin kaapeli-TV

Fritz!Boxin modeemi sisältää neljä kaapeli-tv virintä, jotka on mahdollista saada näkymään Plex-ohjelman kautta.

Tämä vaatii hieman säätöä, koska Plex tukee oletuksena vain muutamaa kaapeli-TV operaattoria, joihin Kaisanet ei lukeudu.

C:\Program Files (x86)\Plex\Plex Media Server\Resources\Tuner\Shared\scanners\dvbc\transponders

Yllä olevaan kansiopolkuun (Windows) pitää luoda uusi .ini tiedosto, itse tein 6666.ini-nimisen tiedoston.

Tiedoston sisältö on seuraava

[SATTYPE]
1=6666
2=DVB-C Finland (Kaisanet)
3=FI
 
[DVB]
0=32
1=210000,V,6875,,QAM128
2=218000,V,6875,,QAM128
3=226000,V,6875,,QAM128
4=234000,V,6875,,QAM128
5=242000,V,6875,,QAM256
6=250000,V,6875,,QAM256
7=258000,V,6875,,QAM256
8=266000,V,6875,,QAM256
9=274000,V,6875,,QAM256
10=282000,V,6875,,QAM256
11=290000,V,6875,,QAM256
12=298000,V,6875,,QAM256
13=306000,V,6875,,QAM256
14=314000,V,6875,,QAM256
15=322000,V,6875,,QAM256
16=330000,V,6875,,QAM256
17=338000,V,6875,,QAM256
18=346000,V,6875,,QAM256
19=354000,V,6875,,QAM256
20=362000,V,6875,,QAM256
21=370000,V,6875,,QAM256
22=378000,V,6875,,QAM256
23=386000,V,6875,,QAM256
24=394000,V,6875,,QAM256
25=402000,V,6875,,QAM256
26=410000,V,6875,,QAM256
27=418000,V,6875,,QAM256
28=426000,V,6875,,QAM256
29=434000,V,6875,,QAM256
30=442000,V,6875,,QAM256
31=450000,V,6875,,QAM256
32=458000,V,6875,,QAM256

Tiedoston tallennuksen jälkeen kaapelimodeemi lisätään Plexin Live TV & DVR-valikon kautta seuraavalla tavalla: https://support.plex.tv/articles/community-supported-tuners/

Kanavien skannaus-vaiheessa operaattorien listalta valitaan Kaisanet, jonka jälkeen skannaus löytää Kaisanetin välittämät kanavat.

Change Audio Output with Powershell in Windows 10

I have always wanted to change audio outputs in Windows 10 with a single key from my keyboard. I have a Steelseries Apex raw keyboard, which has a ton of macro keys, but there wasn’t a simple way to do it before. Not until I saw cdhunt’s WindowsAudioDevice-Powershell-Cmdlet. With this, I can simply create a one-line Powershell file for my Realtek Digital Output:

Set-AudioDevice -Index 3

Same goes for my Samsung TV and Acer monitor, which has inbuilt speakers. After this, I thought I was good to go, once I had set the script to one of my keyboard’s macro keys, but unfortunately Steelseries Engine 3 doesn’t support .ps1 files as executable macros. So, I had to turn to PS2EXE-GUI to turn my .ps1 files to .exe files. After this, I just had to point the macro key actions to right files and I was done.

Hopefully this helps someone else, who wants to do the same.

Fingerpori RSS-feed

Olen käyttänyt Kimmo Suomisen tekemää Fingerpori rss-feediä jo useamman vuoden ajan, mutta tämän vuoden puolella kyseinen feedi on mennyt rikki muutamaan otteeseen. Tästä johtuen päätin tehdä oman feedini HS:n Fingerporeille.

Feed löytyy osoitteesta https://darkball.net/fingerpori/.

HS:n sivun parsintaan olen käyttänyt siimeonin hs-sarjis bash-skriptiä, joka ei tosin toiminut HS:n muutoksista johtuen niin minun täytyi korjata se itse. Kyseinen skripti antaa minulle linkin uusimpaan Fingerporiin, jonka tallennan tietokantaan ja rss-syöte hakee sitten tietokannasta kaikki Fingerpori-linkit syötteeseen. Skriptissä on myös tarkistus sille, löytyykö Fingerporin osoite jo tietokannasta, jolloin sinne ei tallenneta mitään.

Logitech Driving Force GT (DFGT) Shenanigans

Some time ago I decided that I want to get myself a wheel and pedals set for some driving and rally games on PC. I looked around and decided that DFGT would be fitting wheel and pedals set for me since it wasn’t that expensive and many people said it is good for beginners. Since the wheel is not manufactured anymore, I had to look around for used wheels on the internet. I found one for 60 euros on Finnish site tori.fi

The problems started after I tested the wheel on my computer. Initial calibration was good, but as soon as I started playing with it, the wheel started “drifting” (it lost calibration) and became misaligned. I started googling and found out that this is very common fault with Logitech wheels (DFGT, G25 and G27) and it is caused by broken optical encoder disk.

There is an easy way to fix this, which I tried first but it didn’t work on my DFGT. At this point I contacted the person who sold me the wheel and informed him about the fault in the DFGT. There is a brass version of the encoder disk. It costs about 35 euros, shipping included. I demanded a refund of 35 euros from the seller since the fault had to be present before he sold the wheel to me. He denied this, but eventually refunded 20 euros because he sold me a broken item.

I ordered the brass version of the wheel, which came in 8 days from Thailand to Finland. Very fast shipping in my opinion. Turns out, I had ordered a wrong version of the encoder disk, since there are 30 and 60 slot versions. I looked at my broken encoder and thought “well, this must be the 60 slot version” and ordered that. Turns out it wasn’t. I contacted Glenn who sells these brass encoders and kindly asked him if I could do an exchange since I ordered a wrong version. He agreed and I paid 8 dollars re-shipping fee after I had returned the wrong version.

It took 6 days for the correct encoder to arrive. It took me several tries to get the wheel working with the correct encoder, since I had bumped the optical encoder sender and receiver components. I had to bend those and get them in proper angles, but eventually I got it right and wheel started working and it no longer drifts while gaming.

Scan quickly from terminal and convert image to .jpg

I played around with few different scanning softwares on Ubuntu, and noticed that it is possible to scan from terminal by issuing quickscan command. By searching more, I found out that the image it creates is in .pnm format. I decided to add converting images from pnm to jpg format in the script.

The script can be found at Github https://github.com/ikoutone/quickscan. You can also copy the file called ‘scan’ to /usr/bin/ folder on your linux distribution so you can access the scan command anywhere by just typing ‘scan’ in terminal.

Mobius WebGUI

https://darkball.net/cgi-bin/mobiusgui

If you click the link above, you’ll see a site filled with different options for Mobius actioncam. This site allows you to create your own SYSCFG.TXT file that you can save in your camera SD card. I moved from Windows 7 to Ubuntu 14.04, and discovered that the mSetup program for Windows didn’t recognise the mobius through Wine emulation software. I have taken inspiration from mobiusgui.com, which isn’t working with the newest Mobius firmware (2.25) when writing this post. The site I have created works at least with firmware 2.25, but I haven’t tested if it is backwards compatible with older SYSCFG files.

The code behind the site is simple, bash and some html to show the site and options. It also includes some javascript for disabling specific options just like mSetup does on Windows. If you find anything that is wrong with it or you have any comments, please contact me via email ilkka@darkball.net or below this post.

Parrot A.R Drone 2.0 Power Edition

I recently got myself a drone. I got interested in them after taking part of sweepstakes where you could win DJI Phantom 2 drone, but I missed my chances.

Below is the video of me doing my first outdoor flight with my drone. I had too steep angle, so my drone went too fast for the first time. That’s why the video is quite bumpy.

After this video, I ordered a sports cross from http://centralusdronesales.ecrater.com/. Kyle has good selection of mods, spare parts and such. While I was installing it, I also balanced and straightened my props. Before this there was small amount of “jello effect” on the videos it recorded, but after balancing it’s all gone. I’m very happy about this. Kyle did a tutorial with hairdryer, but since I didn’t have that I used a heat gun. I had to be careful because too much heat could melt the plastic propellers.

Below is a picture of my drone after I had finished the sports cross install and put it all back together. I’m very happy about the drone and think Parrot has done marvelous job with creating a device that is fully repairable and modifiable.