[HOWTO] Make an automated media server

Post Reply
Shanther
Posts: 40
Joined: Wed Feb 01, 2017 10:25 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

[HOWTO] Make an automated media server

Post by Shanther »

How to make a automated media server that downloads your movies, T.V. Shows, anime and cartoons. Tried and tested (and currently running) on ODROID XU4.

The following Programs will be installed:
Deluge
Sonarr
CouchPotato
Plex
Samba (optional)



Lets start with the operating system.

Download and install DietPi to your device. (works on SD card or eMMC).
I recommend Etcher to install to SD card. So do the people who make the operating system.
If you are using eMMC make sure nothing else is plugged in.


Once it is installed use PuTTy or similar program to access the device.

It will run through the normal setup options.
==If it fails to connect do the following
==Type sudo nano /etc/apt/sources.list
==add a slash to the end of each source
==to save and close a nano file type ctrl+x
==reboot and it should work this time.

In the setup if you are running an XU4 I have found the first thing to do is go to config, performance options and change the following;
CPU Governor: Conservative
CPU Throttle: 85%
Max Freq: 1000MHz

(I found it overheats so I lowered it to that. Faster will still work but those are safe settings for a stock heat sync)

Next go to Software optimized and tick Plex (not deluge) and if you want to create a shared folder on it then also install Samba

Click install and let it do everything. It will reboot once done.

Now the easy copy and paste game begins.

I have attached several files in txt format for compatibility I'll explain them each:
1.txt
Samba
(684 Bytes) Downloaded 216 times
Samba (optional)
2.txt
Deluge
(1.35 KiB) Downloaded 176 times
Deluge
3.txt
Sonarr
(3.54 KiB) Downloaded 221 times
Sonarr
Couch Potato.txt
CouchPotato
(923 Bytes) Downloaded 147 times
CouchPotato

Done.



A few helpful settings for people.
Sonarr Indexers.txt
Sonarr Indexers
(132 Bytes) Downloaded 186 times
to help you find the most shows.

More Indexes:

1.
ExtraTorrent
https://extratorrent.one/rss.xml?type=new&cid=8

2.


For those adding an SD card and/or an external hard drive. (I found that the USB 3.0 ports can be a little dirty and can be cleaned easily.

To add a drive type fdisk -l or blkid and then plug in your device. Then type the same command as before. Use the new information to add the drive.

sudo nano ../../etc/fstab

Then add your drive in the following format (if your drive isn't ntfs then change that)

/dev/sda2 /media/Plex ntfs defaults 0 2
/dev/mmcblk1p1 /media/Torrentz ntfs defaults 0 2

Once added test with the command mount -a

If you get any errors please google it after checking you added the correct drive.

If all is well a reboot will have you ready to open each program to input settings.

Sonarr port: 8989
Couchpotato port: 5050
Plex port: 32400
Deluge port: 8112

I suggest this plugin to keep your deluge clean: http://forum.deluge-torrent.org/downloa ... f1ad1bc686

If you found this helpful please comment. :D

Lastly change your dns to 8.8.8.8 and 8.8.4.4 if you live in Australia to unblock piratebay. ;)


=======================
UPDATE
=======================

24/March/2017
-CouchPotato txt to include changes to snatching magnets.

1/April/2017
-Another potential index option for Sonarr
Last edited by Shanther on Sat Apr 01, 2017 6:52 pm, edited 3 times in total.

Shanther
Posts: 40
Joined: Wed Feb 01, 2017 10:25 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: [HOWTO] Make an automated media server

Post by Shanther »

The following will allow you to update automatically if you don't have much experience.


==================================
UPDATE
==================================

Instructions file has been updated to working tested version.

Credit goes to - HalfEatenPie
Attachments
Updater.txt
(334 Bytes) Downloaded 164 times

Shanther
Posts: 40
Joined: Wed Feb 01, 2017 10:25 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: [HOWTO] Make an automated media server

Post by Shanther »

This is a simple edit to adjust the fan speed. I thought 65' was NOT an ok temperature. Very simple and quick edit that will allow you to keep your device cool with the default fan but it will make more sound as the fan will run more often.

I have changed my clock speed to 1,200 rather then the 1,000 previously mentioned and it stays safe.
Attachments
Fan.txt
(125 Bytes) Downloaded 121 times
Last edited by Shanther on Fri Mar 24, 2017 6:02 pm, edited 1 time in total.

User avatar
memeka
Posts: 4420
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Has thanked: 2 times
Been thanked: 59 times
Contact:

Re: [HOWTO] Make an automated media server

Post by memeka »

you can use Emby server instead of Plex, since Emby can now to hardware transcoding

http://forum.odroid.com/viewtopic.php?f=98&t=26390

Shanther
Posts: 40
Joined: Wed Feb 01, 2017 10:25 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: [HOWTO] Make an automated media server

Post by Shanther »

memeka wrote:you can use Emby server instead of Plex, since Emby can now to hardware transcoding

http://forum.odroid.com/viewtopic.php?f=98&t=26390


Emby uses Kodi. It would be good if you included instructions and if you plugged into a TV. I prefer Plex personally but people can offer opinion. I didn't use sickbeard or radar either. Plex vs Emby is like CouchPotato vs Radarr and Sonarr vs Sickbeard.

Please feel free to provide instructions (not a link but exact instructions for noobs) and I would love to hear the pro's vs cons. I nearly used it but knew plex from a few years back. Don't think this is sarcasm I believe that I haven't used it and therefor cannon say good or bad about it.


P.S. Plex is on consoles. Emby is on everything else the same as Plex but Plex is on consoles. I know Kodi is coming to XBOX ONE but until that great day Plex wins that one.

Shanther
Posts: 40
Joined: Wed Feb 01, 2017 10:25 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: [HOWTO] Make an automated media server

Post by Shanther »

Well most of this in now obsolete. Oh well. Hopefully it helped a few people out.

User avatar
odroid
Site Admin
Posts: 35355
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 1102 times
Been thanked: 832 times
Contact:

Re: [HOWTO] Make an automated media server

Post by odroid »

Your post was really helpful.
Can you please reupload the missing files?
We lost the attached files in our forum server accidentally. :(

Shanther
Posts: 40
Joined: Wed Feb 01, 2017 10:25 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: [HOWTO] Make an automated media server

Post by Shanther »

No problem. I fell 100x better knowing it actually helped.
Attachments
ODROID.rar
All my Odroid install notes.
(35.49 KiB) Downloaded 153 times

User avatar
odroid
Site Admin
Posts: 35355
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 1102 times
Been thanked: 832 times
Contact:

Re: [HOWTO] Make an automated media server

Post by odroid »

Great! Thank you for re-uploading.

Shanther
Posts: 40
Joined: Wed Feb 01, 2017 10:25 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: [HOWTO] Make an automated media server

Post by Shanther »

The NYAA index doesn't work on Sonarr any more. Here is a fix.


http://www.Nyaa.si
&f=2&c=1_2
Attachments
Sonarr - NYAA
Sonarr - NYAA
Sonarr - NYAA.png (137.6 KiB) Viewed 6285 times

Shanther
Posts: 40
Joined: Wed Feb 01, 2017 10:25 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: [HOWTO] Make an automated media server

Post by Shanther »

Some people are having issues with updating PiHole. Use this to fix it.
Attachments
Pihole Repair.txt
(105 Bytes) Downloaded 239 times

Shanther
Posts: 40
Joined: Wed Feb 01, 2017 10:25 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: [HOWTO] Make an automated media server

Post by Shanther »

Adding files upon request.

Remember most of this is obsolete due to dietpi adding the scripts to the auto install options. The fan is a new script and the Sonarr indexes might just be the same but it fixes nyaa.
Attachments
Sonarr Indexers.txt
(83 Bytes) Downloaded 57 times
Samba.txt
(435 Bytes) Downloaded 65 times
Fan.txt
(389 Bytes) Downloaded 48 times

Post Reply

Return to “Ubuntu (All Linux'es)”

Who is online

Users browsing this forum: No registered users and 1 guest