[HOWTO] Make an automated media server

Moderators: mdrjr, odroid, meveric

[HOWTO] Make an automated media server

Unread postby Shanther » Fri Mar 10, 2017 10:37 pm

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 113 times
Samba (optional)
2.txt
Deluge
(1.35 KiB) Downloaded 88 times
Deluge
3.txt
Sonarr
(3.54 KiB) Downloaded 108 times
Sonarr
Couch Potato.txt
CouchPotato
(923 Bytes) Downloaded 69 times
CouchPotato

Done.



A few helpful settings for people.

Sonarr Indexers.txt
Sonarr Indexers
(132 Bytes) Downloaded 82 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/download/file.php?id=3533&sid=06b471933cdb31336bd746f1ad1bc686

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: 33
Joined: Wed Feb 01, 2017 10:25 pm
languages_spoken: english

Re: [HOWTO] Make an automated media server

Unread postby Shanther » Fri Mar 10, 2017 10:46 pm

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 84 times
Shanther
 
Posts: 33
Joined: Wed Feb 01, 2017 10:25 pm
languages_spoken: english

Re: [HOWTO] Make an automated media server

Unread postby Shanther » Sun Mar 19, 2017 8:27 pm

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 66 times
Last edited by Shanther on Fri Mar 24, 2017 6:02 pm, edited 1 time in total.
Shanther
 
Posts: 33
Joined: Wed Feb 01, 2017 10:25 pm
languages_spoken: english

Re: [HOWTO] Make an automated media server

Unread postby memeka » Mon Mar 20, 2017 7:00 pm

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

viewtopic.php?f=98&t=26390
User avatar
memeka
 
Posts: 4024
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: [HOWTO] Make an automated media server

Unread postby Shanther » Tue Mar 21, 2017 7:34 pm

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: 33
Joined: Wed Feb 01, 2017 10:25 pm
languages_spoken: english

Re: [HOWTO] Make an automated media server

Unread postby Shanther » Sat Jul 08, 2017 11:31 am

Well most of this in now obsolete. Oh well. Hopefully it helped a few people out.
Shanther
 
Posts: 33
Joined: Wed Feb 01, 2017 10:25 pm
languages_spoken: english

Re: [HOWTO] Make an automated media server

Unread postby odroid » Sat Jul 08, 2017 12:11 pm

Your post was really helpful.
Can you please reupload the missing files?
We lost the attached files in our forum server accidentally. :(
User avatar
odroid
Site Admin
 
Posts: 28610
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: [HOWTO] Make an automated media server

Unread postby Shanther » Tue Jul 18, 2017 4:37 pm

No problem. I fell 100x better knowing it actually helped.
Attachments
ODROID.rar
All my Odroid install notes.
(35.49 KiB) Downloaded 74 times
Shanther
 
Posts: 33
Joined: Wed Feb 01, 2017 10:25 pm
languages_spoken: english

Re: [HOWTO] Make an automated media server

Unread postby odroid » Tue Jul 18, 2017 6:39 pm

Great! Thank you for re-uploading.
User avatar
odroid
Site Admin
 
Posts: 28610
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: [HOWTO] Make an automated media server

Unread postby Shanther » Tue Sep 12, 2017 2:13 pm

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.png
Sonarr - NYAA
Sonarr - NYAA.png (137.6 KiB) Viewed 1627 times
Shanther
 
Posts: 33
Joined: Wed Feb 01, 2017 10:25 pm
languages_spoken: english

Re: [HOWTO] Make an automated media server

Unread postby Shanther » Mon Dec 18, 2017 5:56 am

Some people are having issues with updating PiHole. Use this to fix it.
Attachments
Pihole Repair.txt
(105 Bytes) Downloaded 97 times
Shanther
 
Posts: 33
Joined: Wed Feb 01, 2017 10:25 pm
languages_spoken: english


Return to Ubuntu (All Linux'es)

Who is online

Users browsing this forum: No registered users and 1 guest