solofroto

joined 2 days ago
[–] [email protected] 4 points 21 hours ago (1 children)

You're my fucking hero.

[–] [email protected] 2 points 1 day ago

Okay I need a bit more information. Are you dual booting Linux with Windows? Tell me more about how this is setup, including what drives you're talking about

[–] [email protected] 2 points 1 day ago

Just marry me already.

[–] [email protected] 1 points 1 day ago (1 children)

Reolink My RLC-520A's can be configured through a web interface. No app required. I can just navigate to the camera's IP address through a web browser to configure it.

I -do- use the app, however, for live streaming and configuration because it's more intuitive for me. However, the app isn't necessary for these specific cameras. I can't speak for other models, though.

[–] [email protected] 1 points 1 day ago* (last edited 1 day ago)

I have three Reolink RLC-520A cameras. I tried integrating them with Frigate and ZoneMinder. Just way too many features and too much configuration for me. So, I wrote my own scripts to deal with it.

Reolink has a built-in feature that allows you to upload motion-triggered events to an FTP server. You can customize the length, size, frequency, etc through Reolink. It's not the best, intuitively, but it gets the job done.

I run a local FTP server on one of my Debian machines. I have a script written in Python that continually scans the FTP directory for new files. Once one is detected, it gets copied to a new directory, sorted and named to match which camera it came from, and its metadata information gets uploaded to a MariaDB database.

I also have a webserver. This is what I use to serve the interface for viewing my motion-triggered events. This is written in basic HTML/CSS/PHP/MySQL. Through this web interface, I can delete events that have been recorded, view them, and sort them by camera. I have the script set to delete motion-triggered events older than three days.

For continuous recording, I have another script written in Python that leverages ffmpeg to connect to the RTMP streams (this works better than RTSP for my cameras, for some reason) and continually record, but in 30-minute increments.

I have it configured to create directories specific to the camera and the date, for easy organization and retrieval.

It's worked very good for me so far -- and it's free -shrug-

As far as the quality of the cameras -- not the best, but certainly not the worst. I'm satisfied for the price. No complaints.

Also, I don't know what these comments mean by "not allowed outside of the LAN" but I can view my cameras' livestream through the Reolink app from anywhere, by default. I can definitely access my camera's configuration interface and live streams outside of my home network.

[–] [email protected] 2 points 1 day ago

You're most certainly welcome.

[–] [email protected] 2 points 1 day ago

Hehe you're welcome!

[–] [email protected] 2 points 1 day ago

FOKIN WOT M8?!

[–] [email protected] 2 points 1 day ago (2 children)

If I'm not mistaken, when you mount whatever you're mounting, you need to specify the read/write permissions with the mount parameters. Trying to change the permissions after it's already been mounted won't work, afaik.

[–] [email protected] 7 points 1 day ago (3 children)

Of course. Maybe someone will find it useful :D

[–] [email protected] 2 points 1 day ago (4 children)

Did you get this fixed?

[–] [email protected] 3 points 1 day ago (2 children)

I edited the original post to include the script.

 

Edit: Everyone is asking for the code, so here it is. Keep in mind, this code assumes a few things:

  1. You'd need to specify the virtual environment path for Python.
  2. You'd need to specify the directory for which the games are located.
  3. You'd have to put a "game_info" file in each game's root directory.
  4. You'd need to have steamcmd installed.
  5. The format of the game_info file is like this (I use CS.RIN.RU):
build: 17601020
steamid: 548430
csrinru: https://cs.rin.ru/forum/viewtopic.php?f=10&t=81377

Hope I'm not breaking any rules. This is my first post on Lemmy. I tried to post on garbage-ass Reddit but apparently being a new user means you can't do fuck-all. So, I'm gonna try to make Lemmy a home.

Anyway, I pirate games. Mostly because I'm broke, and somewhat because I hate spending money on a game and then hating it 15 minutes into it. But anyway..that's neither here nor there.

The entire purpose of this post is just to share this neat little thing I created. I'm not promoting it -- it isn't released. I just wanna share nerdy shit with other people.

The issue that I was having is that I figured, over time, my pirated game collection will get quite big. It will become increasingly more time-intensive to check back to the piracy forums for updated pirated versions of the game.

So I came up with a solution. Whenever I download a new pirated game, I will create a file called "game_info" in the directory which will include three little bits of data.

  1. The build number of the pirated game
  2. The Steam App ID
  3. The link to the forum topic about that game from the piracy site I go to.

I wrote a script that will scan my games directory for each game_info file. It will then use steamcmd to check SteamDB for the latest patches released and compare that to the current build number in the game_info file. Obviously if they don't match -- there's an update. And it will inform me. This way I can quickly check if there are any updates available for a game, then I can go to the piracy forum and check to see if anyone has released the updated version yet.

I thought it was cool. Anyway, just thought I'd share some nerdy shit.

Feel free to degrade me.

view more: next ›