Use Jellyfin to build a secondary meta media library

Ten years ago, my uncle began to buy copyright, and opened the chip station to catch up with the fans anytime and anywhere.

Ten years later, even if you "swim" to Hong Kong, Macao and Taiwan, you can only see a small amount of honey content.

As for the members of big grievances? Oh, they can only watch three body animation

Why Jellyfin

In fact, the first thing Amway did was Emby However, the company seems to have fallen into the money trap:

  • Play on different devices requires internal purchase
  • Downloading files to local offline playback requires internal purchase
  • Hardware decoding also needs to be purchased internally

It's ridiculous. Don't you want to buy on every platform? Then you need to subscribe to Premiere (I still can't understand why this feature can sell for $54 a year)

For the sake of just bad money, even Shut down their code

and Jellyfin It is an open source Fork of Embey 3.5.2, free and free.

Jellyfin seeks to continue development of the original Emby project with a Free Software ethos. It is committed to bringing all its users access to the best possible Media System, developed entirely by a community of volunteers who contribute code, documentation, translations, and support to the project.
About Jellyfin

The installation of Jellyfin is very simple. You can use Docker to download and run it directly. My choice is simpler—— AUR
After all, it is NET software, which has no dependence on the running environment, can be directly handed over to systemd for management

Read more

Started blogging again

You may wonder why my blog has not been updated since August 14, 2018.

Well, how can I explain this matter... I didn't mean to worry

The main thing is... work is very busy

And I'm not good at writing. When I write, it seems like constipation

I don't think the original blog is too ugly, and then I want to design a new theme by myself or find someone to give up

Anyway, I finally got a new blog and used the domain name kk.sb that I bought a long time ago

The goal of using Hexo is also very simple. I hope the new blog can focus on the content and not tidy up the fancy things

I don't know if anyone has read it. I will complain about the blog system I considered before Sharply review all major blog systems

Read more

Install macOS High Sierra on Ryzen platform

First, simply drop the current computer configuration:

CPU: AMD Ryzen 5 1600X Processor

a main board: ASUS PRIME B350M-A

Memory: G.SKILL Ripjaws V Series 16GB (2 x 8GB) DDR4 Memory

Hard disk: Samsung MZVLW256HEHP (PM961) 256GB SSD

Hard disk: SanDisk 250GB Ultra 3D NAND SATA3 SSD

Graphics card: ASUS Strix GEFORCE GTX 970

This is the basic configuration. Of course, SanDisk SSD was bought for the installation of the black Apple system. Because it does not want to affect the original Windows partition structure.

The first step is to download the latest High Sierra image and write it to the USB flash drive (I use SanDisk CZ80, and the latest upgrade is CZ880 )。

In fact, installing Black Apple is not without Apple devices. On the contrary, I have a MacBook Pro at hand. The most attractive aspect of Black Apple is its performance. For example, if my Ryzen is used for daily development, its construction and compilation speed is much better than Intel's mobile CPU.

Besides, you need a Mac to install High Sierra.

Read more

A game PC is installed

It has been more than 4 months since I came to Shenzhen. I usually have only one Macbook Pro issued by the company, A game that is not enjoyable at all

In addition, before using raspberry pie to make NAS, the 100M network interface and USB 2.0 speed simply cannot meet the demand

So at the beginning, I prepared to set up a NAS, but I originally planned to set up a J1900 or something. However, I occasionally wanted to set up a World of Warships, so I simply added i3 (i3 default second full)

In terms of configuration, use the hottest chicken Generation 7 Core i3 7100 , the default frequency is up to 3.9G, which is really exciting!
The B250 chipset was chosen for the motherboard, because I have a good opinion of Gigabyte B250M-D3H This one. On the one hand, because the Micro ATX chassis is ready for installation, only small boards can be selected; Plus the silly clothes I bought before U2417H In the end, it was found that this monitor only has two interfaces, HDMI and DP (including MiniDP), so the motherboard uses the one with DP/HDMI output first.
In terms of memory, I randomly selected an 8G * 2 package on the second-hand store (the screen was always blue, and finally I found that one of them had been smoked, so I contacted JD for a home exchange, and I had to say that the service of the second-hand store was so simple)
If the chassis is made of aluminum Josep C3 There is also the popular large side repeater (after all, the motherboard said that it was equipped with a lamp, so it felt that it was wasteful to measure the penetration). Although this chassis is ITX/Micro ATX, it can use standard ATX power supply, which is much more convenient.
Considering the need of the graphics card and multiple hard disks, the power supply adopts the Atiq Neo ECO 550 After all, it is also used before. The interface is sufficient, and the key is that it will not explode.
In addition, because the motherboard has an M.2 interface, a 256G exploder is directly installed PM961 , just plug it into the motherboard, and it does not need to occupy the chassis space. After all, SSD is still standard for installation.
Finally, connect the 3T hard disk attached to the raspberry pie.

After a few weeks of using it, I occasionally visited Warship World, and found that even low frame rate can not be seen.
Alas, we can't help it. Who called us Spicy Chicken Jixian? So we weighed Lao Huang's 1060 and the master of stealing electricity RX 480, and finally supported agricultural enterprises. After all, the games we want to play, such as Skinhead, have always been N card negative optimization.

At last, it took about 4500 for the whole machine to come down, and there was no pressure on the highest picture quality of all kinds of games.
At present, I only found that GTA 5 seems to drop frames... Who told me that we are a fake 4 core? We need to adjust the image quality to a higher level to play. The CPU still doesn't need to be upgraded... After all, most of the time we don't need him to be fully loaded.

Warship World Auto Sign In

In fact, this pit has been dug for a long time

The earliest excavation was mainly for This activity But now this so-called permanent activity is over

It was the first time to use Go to realize automatic identification of verification code. This time, Dalao rewrites it with python, and then modifies the learning algorithm of verification code to make the samples obtained more accurate (now the recognition rate of verification code is almost 100%)

Because the script of python is easy to change, it can be realized by adding a configuration if there are new activities. At present, the main check-in is Land and Sea The new activities will be added

We have studied the interface of the lower fool air network. Now when we sign in, we will automatically detect whether we have signed in

The PIL is used to read image pixels, and then requests are sent

Hands on production of a super compact mobile phone QQ (limited by Android)

What should I do if mobile QQ becomes slower and slower?
What if the chat version and international version are not fully functional?

With this script, you can easily simplify Android QQ and only retain basic chat related functions.

usage method:

  • Transfer to mobile phone
  • Execute with root permission

PS: See the note for detailed steps
PSS: Script requires Root permission
PSSS: Partial reduction can be carried out without Root permission (data partition cannot be operated). If necessary, you can modify the script execution

Read more

When the sign in assistant of the post bar meets the Go language

This summer three years after the official launch of the sign in assistant in the post bar
Today, two years after the development stopped
Finally, there is a major update

It took 2 days to rewrite the relevant code
Mainly for PHP 7.0 compatible processing, so that the code can run under PHP 7.0

Secondly, the sign in part is implemented in Go language. The measured peak CPU usage of multithreaded sign in is about 0.3%, and the memory usage is 4MB
It can greatly reduce the consumption of server resources for check-in, and can be deployed simultaneously with other services

Due to the change of Baidu login interface in three years, the original login interface has been abandoned and can not be used, so this time we rewrite the Chrome access extension of BDUSS
Can be accessed via https://api.ikk.me/reborn/proxy.htm The page requests extension to obtain cookies

In addition, since the sign in part (Go) has been separated from the main program, it can now be deployed separately from the web page.
I suggest that the database be placed at the sign in end to ensure system stability, and the webpage end can be remotely connected to the database for management operations.

At present, the new version is under closed test. Two digit users can sign in all users within 2 minutes
Now we are considering testing more users. If I know you, I believe you have received the invitation code. If not, you can contact me privately

New: Join Telegram Group , send invitations irregularly

Solve the problem of inaccurate currentTime attribute of audio element

One problem with the previous KK Player is that dragging the progress bar in Internet Explorer/Microsoft Edge will make the playback time weird.
A few days ago, I found that there was also a problem under Firefox. Click to jump to 2 minutes. Although it shows that it is here, it actually only takes more than 1 minute and 50 seconds

This problem has been known for a long time, but I thought it was a bug of Microsoft at that time, and then I temporarily put it aside because there were not many IE users.

How does this question look like a browser question? So I prepared to ask the question at stackOverflow. I accidentally saw the system recommended A similar question

Generally speaking, MP3 is a lossy compression format, and the browser can't find the corresponding file stream location according to the time (however, I don't know how Chrome does it), so there will be such a ghost time.
The only solution is to use lossless audio in OGG format

However, the problem is even bigger. IE/Edge does not support this format at all... Yes Click here to check the browser compatibility of OGG

According to the browser compatibility report, it seems that only MP3 format has the best compatibility
Until the AAC format was found later, the compatibility report was here
And there is no problem with the current time in ACC format

So at present, we will store songs in ACC format first, and then consider using OGG when browser compatibility improves

CentOS 7 Recovery Network Record

Go out today Do something , on the way home Sendya, who didn't want to be named This fool has been harassing me:

[15:31] Just now
[15:31] When firewalld port scanning is enabled, it is enabled, but it does not work
[15:31] It took an hour or two to get it done
[15:31] Big fire - y remove iptables
[15:31] ……..
[15:31] The network is gone
[15:31] 233

[15:32] I was thinking.
[15:32] What about the database
[15:35] Terminal can enter
[15:36] But there is no network==
[15:36] Am I a fool
[15:36] NetworkManager
[15:36] No
[15:36] Only 127.0.0.1

Read more

Time Machine for Windows - File History

File History is a backup application that continuously protects personal files stored in libraries, desktops, favorites, and contact folders. It periodically scans (by default hourly) for changes in the file system and copies the changed files to another location. Whenever any of your personal files changes, a copy of them will be stored on a dedicated external storage device of your choice. Over time, File History will establish a complete history of changes made to any personal file.

This is a new feature introduced in Windows 8+, which can provide consumers with a new way to protect files. It will replace the existing Windows backup and restore functionality in Windows 7.

The most important point is that it is an incremental backup. Don't worry about thousands of backups taking up a lot of disk space

The configuration mode is very simple. Click "File History" in the control panel and set the backup disk to enable

To add a custom directory, you can create a new library, such as a code library, and then add the folder to be included (such as E: Workspace) to the library. Then the files inside will be automatically backed up

Read more