Pages

Tuesday, September 19, 2017

Excluding New Content in PLEX media center with .plexignore

When scanning in new content for your libraries, you can tell the scanner to ignore files or patterns by adding a .plexignore file to any folder in your Library's content location. ".plexignore" is the exact name of the file to use; nothing more and nothing less (e.g. it does not have a separate file extension).
If you add the ".plexignore" file to the root (top-level) folder in the content location, the ignore rules will apply to all sub-folders.
Note: Many text editors (e.g. Notepad and Text Edit) will save files with a .txt extension by default. In such a case, you'll need to manually rename the file to .plexignore exactly by removing the extension. (If you leave it as "plexignore.txt" or ".plexignore.txt" it will not work.)
Add one pattern per line for things you'd like to ignore. The file is interpreted as follows:
  • Blank lines are ignored.
  • Lines starting with # are comments.
  • Patterns without '/'s (e.g. *.mkv) match filenames in the same directory as the .plexignore file, or anywhere in the tree if .plexignore is a root of the section.
  • Patterns with '/'s (e.g. somedir/*) match directory and file patterns relative to the directory containing the .plexignore file.
Tip!: Always use forward slashes (/) as path delimiters, even on Windows.
Example contents of a .plexignore file:
# Ignore all files with "trailer" in the name
*trailer*

# Ignore files with the extension ".cr2"
*.cr2

# Ignore directories called "Modified"
Modified/*

# Ignore all ".tif" files in the "thumbnails" subdirectory
thumbnails/*.tif
Credit to: https://support.plex.tv/hc/en-us/articles/201375253-Excluding-New-Content-with-plexignore

What to do if FTP speeds are slow - Segmented Downloading from Seedboxes

If you are finding that your FTP speeds have become slower than usual, there is a workaround that can be applied by increasing the number of concurrent connections that your FTP client will use when connecting to your Feral box.

In Filezilla (and similar clients)


Locate your Site Manager and go to your Feral box entry. Click on the Transfer Settings tab and increase this number to 7. Experiment with the number and your speeds should increase somewhat.

These are parallel (concurrent) downloads and not multi segmented. Filezilla does not support multiple segments. Please see this FAQ for more info What is multisegmented downloading - how does it help

Bitkinex multi segmented downloads


BitKinex 3.2.3 (windows platform) you can use up to 50 segments, locate your feral server entry in the Control window. Right-click on the feral server and select:

Properties > Connections > Total number of connections used by this data source:







You can set this individually for each connection instead, to do this right click on the relevant connection go to it's properties. then:

Increase this number to 50 connections (default is 5 connections, you can experiment with this number later). First uncheck in the same window: Inherit properties from the parent node (SFTP/SSH), otherwise the options stay greyed out.





Another option that can massively increase the download speed on very high bandwidth connections is increasing the minimum part size for multi part downloads. In the connection properties under Transfer set the minimum part size up to a maximum of 32767 and see if your speeds are increased!



In CuteFTP Pro


You can use Multi-Part. When using this mode, the file you are downloading is split into several chunks in the background which are then transferred in several threads simultaneously, and then reassembled, once complete, on your local computer. This is the fastest method of transferring large files.

Go to Tools > Global Options > Transfer > When selecting MAX in multi-part transfer, use...

When selecting a file to download, right-click on File > Download Advanced > Multi-part Download > MAX (7 parts)

LFTP


The Windows and OSX versions are port from the Unix version. Once you have lftp installed for your platform you can use the Unix section below to run lftp via a terminal like Putty or terminal in OSX

Once you have lftp installed continue with the unix section of this FAQ for LFTP.

In lftp (Windows via cygwin)


For Windows users to install lftp - Cygwin and lftp on Windows 

In lftp (OSX via Homebreww)


For Mac users to install lftp - OSX - Homebrew

In lftp (Unix)


The first thing you will do is open your terminal program and type this command:

lftp sftp://user-name@server.feralhosting.com

Where user-name is your Feral username and server is the name of the Feral server your lost is hosted on, for example:

lftp sftp://peterpan@aphrodite.feralhosting.com

At this point you will be asked for your Feral FTP / SFTP / SSH password. Enter it now then press enter.

If you connect successfully then can do this command to save your connection and password for future use:

set bmk:save-passwords true
bookmark add Feral

Now you can navigate your slot using lftp just like normal:

cd ~/private/rtorrent/data

Will put you inside this folder.

lftp usage


You can use the command pget to transfer a file with several connections (specify -n maxcon). You can also use mirror to transfer a folder but specify:

--use-pget[-n=N]

or 

--parallel[=N]

The former uses pget to transfer each file, the latter specifies to transfer multiple files at once. You can set whatever default combination you like in your ~/.lftp/rc file, such as the following:

set pget:default-n 10
set mirror:use-pget-n 10
set mirror:parallel-transfer-count 2
set mirror:parallel-directories true

Progressive Downloader for OSX


You can max out your connection with progressive downloader as an alternative to FTP by playing around with the thread count in Progressive downloader -> Preferences -> Maximum thread count: try 10-15. I was having problems with slow FTP speeds but after some experimenting this solution worked for me and i'm now able to max out my connection with no problems. For this to work you will need to put your public_html folder to use, you can do that by following the guide in the wiki located here

aria2c


1: Follow this FAQ - Putting your WWW folder to use

2: Use this FAQ - aria2c 

For Mac users to install aria2c - OSX - Homebrew

While this FAQ appears Windows only, the commands and set-up of aria2c work exactly the same across platforms.

Further Problems


If you continue to have problems then it is likely out of our direct control and down to network issues. We will need to collect data about your connection: 

Bug in lftp's mirror-over-sftp 

If you use sftp with lftp and "mirror" freezes, it's a known bug in lftp-4.4, upgrade to version >= 4.4.8 
or downgrade to 4.3 - discussion and fix is here

Credit to Defunct https://www.feralhosting.com/faq/view?question=28

Thursday, June 1, 2017

Guide to Download Facebook Videos to Computer without any Software or Online Tool [Trick]

Facebook is one of the most popular social networking website provides you platform to get connected with your loved ones. You can also share image, videos and related stuff with your friends. Lots of people love to share videos, you can even stream videos and share it again. But when it comes to download Facebook video to your hard disk , there is not official way to make that thing happen.

To download videos from Facebook you need to have some software or online tool to download it from Facebook. This process some time consume lots of precious time and user get nothing, as most of the software and tool are full of malware or do nothing.

What if you’re able to download Facebook videos to your computer without using any software and online tool? I know this will be best thing ever you’ve seen over the web. Below in this article you’ll actually going to see the trick on which this whole article is based.

Guide to Download Facebook Videos to Computer without any Software or Online Tool [Trick]

1. First of all visit the video page on Facebook and check the URL of the video. Let us have an example:

https://www.facebook.com/photo.php?v=447322355399140

2. Now what you need to do is change above url to the mobile version url. All you need to do is switch “www” with “m” as shown below: For Example

https://m.facebook.com/photo.php?v=447322355399140

3. Here on this page, play video and watch it for 5-10 second and, then pause the video. (If possible, view full video)

4. Make right click on video and you will get the option “Save video as” just click on it.


5. Now you will get pop up to download the video. Simply rename the video and save where ever you want to store it in your hard.

This is the only Facebook trick which works 100%. So if you don’t have time for downloading extension and software give a try to this.

I find this trick over the web and decided to share with you. I give all the credit to owner of site. You can check the original guide here: Save Facebook video

Try this trick and let me know was this trick helpful? If you’ve any other use comment section below and share it with my readers.                 

Remove Crouton from Chromebook for Fresh Install

https://github.com/dnschneid/crouton/issues/10

Yep. It's probably easiest to let crouton do the checking for you, though:
cd /usr/local/chroots && sudo delete-chroot -y * && rm -rf /usr/local/bin
but if you're curious, you can confirm there are no lingering bind mounts via mount | grep ' /usr/local/chroots/'

Wednesday, March 29, 2017

Fixing .cbr displaying in Calibre


I recently had a problem viewing .cbr files even though I had Calibre 2.5.0 6 bit installed on my system. I discovered that each time I was trying to open the .cbr it kept adding the file to calibre, even when I clicked view from inside Calibre.

Fixing .cbr displaying in Calibre

I fixed this by changing the file association for the .cbr to use ebook-viewer.exe which is located in the x:/Program Files/Calibre2 folder on my Windows 8.1 PC.
To change which program is used to open .cbr files, find the file you want to view, right-click the file, click “Open with” and then “Choose default program…”, now choose “More options”, scroll down to the bottom of the window and click “Look for another app on this PC”, now browse to x:\Program Files\Calibre2 and choose the ebook-viewer.exe and click open.
Now you should be able to open .cbr files with Calibre.

For Apple Mac

  1. Right click an .cbr file
  2. Choose “Get info” in the menu that appears
  3. In the window that appears scroll down to the section “Open with:” and pick ebook-viewer from the list of apps available.
  4. Make sure to click on the button “Change all” just below the drop-down after you have picked the app. This ensures that osx will use this app to open .cpr files in the future.
    Close the info menu and you should be set.
    (OSX Yosemite; Calibre 2.7.3)

Sunday, March 19, 2017

How to delete hiberfil.sys in Windows 7 free to up hard drive space

The best way to delete hiberfil.sys or disable hibernate:
  • Go to Start menu, type “cmd” open up command prompt
  • Type “powercfg.exe -h off” [make sure you are an Administrator]
  • ENTER
  • Type “exit”
  • ENTER

Friday, March 17, 2017

Debian sudo doesn't work - How to make Sudo work

Debian, by default, creates a root user, and does not configure sudo. During the installation, you will have been asked to enter a root password. You need to use that to enable yourself to become root through sudo. First, run:
su -
This will ask for your root password. Enter that. Next, add yourself to the sudo group:
usermod -aG sudo your_username
Alternatively (Debian-specific), you can also use adduser to add yourself to a group:
adduser your_username sudo
Now log out of the root shell. You will be able to use sudo from now on.
If you don't know your root password, talk to the person who installed your machine and ask them to give you sudo rights. If that was you and you've forgotten it, you can create a new one:
  • Reboot your machine.
  • At the grub boot menu, highlight the "Debian GNU/Linux" option, then hit the e button on your keyboard. This will give you a sort of editor window where you can modify the boot commands.
  • In the editor, search for the line that starts with linux. At the end of that line, add init=/bin/bashDo not change anything else. If you've made a mistake, hit the Esc button to go back to the menu and start over.
  • If you now hit ctrl + x, the system will boot to a bash prompt. The normal boot sequence will be completely bypassed, which means (amongst other things) that only the root filesystem will be mounted, and it will be mounted read-only.
  • Run mount -o remount,rw / to remount the filesystem in read-write mode.
  • Run passwd. The system will ask for a new password (twice, to confirm you didn't enter any typoes).
  • Run mount -o remount,ro / to put the filesystem back in the (safe) read-only mode
  • Run exec /sbin/init. The system will now boot as normal.
Note: doing this on a system that isn't yours will earn you the (rightly earned) wrath of the system's owner. Don't do it without their permission :-)