Skip to content

Instantly share code, notes, and snippets.

Created August 29, 2017 12:29
Show Gist options
  • Save anonymous/ec67a1f078fc79128dcce4c539c7c79d to your computer and use it in GitHub Desktop.
Save anonymous/ec67a1f078fc79128dcce4c539c7c79d to your computer and use it in GitHub Desktop.
Медиа сервер raspberry pi

Медиа сервер raspberry pi


Медиа сервер raspberry pi



Raspberry Pi Plex Server: Setup Your Very Own Media Server
Plex Media Server on a Raspberry Pi 3
Install Plex Media Server on Raspberry Pi 2


























I wanted to document the instructions shared on Episode to supplement the episode. On the show, Jeff and I demonstrated how to turn a Raspberry Pi 3 with Raspbian Jessie into a Plex Media Server, giving you the chance to stream your entire video and music library to all your devices. And there you have it! The IP address will most likely be different for yours, and you might even want to set it up as a static IP. Good luck, and if you have any questions or comments, please leave them below. I have a issue, after perform the installation, i go to I had a quick question though. If i set up my RPi3 with the plex server at home and want to bring the RPi3 with me to my college apartment, would I need to redo these steps to set up the server since I have disconnected and powered off the RPi3? A nice portable media server! For example, if at one location you go to Fantastic guide, thank you for taking the time to write it! Had me up and going very quickly. Yeah this really gets into the fstab as mentioned in the show please review the video. Thanks for the comment. I think there are a lot of people out there struggling with this issue so a video would be awesome! So is Plex working? Please help very frustrated. Say you have a Network location that contains your movies. In this case we will use a Western Digital my cloud. Find the IP addre on your Network Attached Storage NAS Now mount aka map network drive for windows users. Say we have a NAS located at I have exactly the same problem like Sameer. I know my Ip-addres My PI 3 is listed in my rouret. During the install of Rasbian and the Plex Media Server i had no problems. The server is running. Are you certain you are putting the correct IP Address http: Can you ping out from the Pi? Thanks for the reply. Yes the IP Address is correct. I can SSH Raspberry from my mac. I can also Ping google. Any guidance is greatly appreciated. I was up and running perfectly fine, watching a movie and the day after I could not connect to the server. Perhaps pop me an email? Can you email me if you still need me? Last night after a few days of smooth running, I ran into this issue again. However, this time I solved it by running sudo apt-get clean followed by sudo apt-get autoclean. Do you know what these commands do or where they operate that could be affecting Plex? I want to know if I should expand a partition on the Pi installed using NOOBS to give me some more room wherever Plex thinks it needs it. No space left on device. Sounds like your MicroSD Card is out of room. You SHOULD NOT use your Plex server until you resolve this or you will cause irreparable damage to your Plex deployment. The reason you had to do an apt clean is because your drive ran out of space while trying to update, so this will cause all kinds of odd issues and possibly entirely break things. I have also followed this tutorial and get the same error. Previous to this I followed another tutorial on htpc guides — again unable to get it going. I have created the image of my SD Card. Please let me know how to send you? I really appreciate your help and effort. You can email the link to me — contact category5. Still not working after trying what Steve told. How can i give you SSH access of pi? Hi Steve, Basically you just need to open up a port in your firewall to pass through the SSH connection and then tell me your IP address confidentially. Here is my modified version of rpi-mkimg which I use to create the NEMS images: This is a new report. So I start to wonder, did an update occur which broke something in the underlying OS? YOu mention you can run updates, so I presume you are manually doing things like apt-get upgrade? I am curious if something there broke something to do with Plex. Just fixed up my server last night with the help of these commands. Hopefully this helps you. Will keep you posted on if my server stops with the same error again:. My Pi has a 64 Gb Micro SD. Yet Plex only loads around 50 movies. Is there something I can do to get it to load the whole disk worth? How can I send files to the Disk — as Plex is a Media Server, it seems sensible to be able to SSH files to the HDD without having to disconnect it from the Pi, connect it to the Mac, transfer, connect it to the Pi etc. Thank you for the setup, got plex installed, but now i am trying to add my wd 6 tb nas to my pi and I am not able to can some one please help me, I can see it in the gui as afp, but i cant mount the drive to the pi to add it to plex. Followed the instructions to install plex media server and tryvto get the key it wint load says the file doesnt exist did all the upgradesand updates as well as the https transport. Sorry to hear you hit a snag Neil. At which step did you have trouble. That should be - not — hyphen, not em dash. Perhaps your copy and paste is messing it up as two of them are incorrect in your comment. The file exists confirmed January 25, As you can see if you try to open that key via your web browser, it does exist. Download the key to a file: Having some trouble unmounting my external HDD, though. Does it have something to do with the name of the HDD? Otherwise the Linux terminal sees each word as a separate item. You can do either of the following for the same effect: The written tutorial is meant to supplement the video, not the other way around, so the video is bound to have some extra tidbits. If it is causing confusion though, I can certainly update the text. Let me know the timestamp in the video and the step in the blog to help me find what you mean. Believe it or not it was the name of the HDD causing issues, so I renamed it and it worked. Make sure you use the correct filesystem type in the fstab file before running mount -a. I feel like I am missing something else obvious…. Unmount the drive and then type: Then with it mounted, run: That just gives you a starting place to see why your permissions seem off. Regarding your keyboard problems and pipe missing… After wasting couple hours to set up my wifi pass on retropie, I realized that the problem is that Rettropie is done by UK ppl and they have by default the UK Locale in thre Raspi-Config. So best thing is to go to the config, 4th option internationalilsation options and change the locale to EN US Windows. Also deselect the EN UK using the space button. After changing your locale, in the internationalilsation options change also the keyboard layout from UK to US! You should be ok now. Grab a Pi 3 from our link https: Nothing like a real-world test to ensure it works for you. Another consideration though is, as you know, x is horrid on CPU. I personally would not use x for that reason alone. If direct playback is not possible with a particular file, Plex Media Server transcodes the stream to make it compatible with the viewing device in the bitrate desired. The advantage to is smaller filesize, but storage is cheaper than CPU power, so I would opt for when encoding my files. I used your instructions a few months ago and everything seems to be working perfectly — thanks! One question — When I logged into my server today through my browser, it said an update to Plex Server is available to Version 1. If I follow the instructions posted above will it upgrade me to this version? Also, do you have any idea if it is even worth it to upgrade if things seem to be working smoothly as-is? Yes, Plex often brings out new features and performance improvements. Easiest way for a self-professed non-coder to do this is to open it using the GUI. Once detected, you can see things like filesystem type, dev assignment or UUID, etc. Bald Nerd The Musings of Robbie Ferguson Search Main menu Skip to primary content. Blog My Gear NEMS Who is the Bald Nerd? RSS Feed Category5 TV Social Code:: Stats GitHub Twitter Facebook. Notify of new replies to this comment. Share On Twitter Share On Google. If i take it to a different place with a different IP address, wont I have to redo the setup? Let me know if you need any help. I am also stuck on step 8 it comes up no such and directory. Now I have Plex, I have a 1TB HDD which worked after using this edit for the fstab. Hope this helps someone. Plex Media Server Loaded: Plex Media Server… Mar 07 Successful su for plex by root Mar 07 Starting Plex Media Server: Some lines were ellipsized, use -l to show in full. Make a Local Directory on your Pi mkdir wdmycloud Find the IP addre on your Network Attached Storage NAS Now mount aka map network drive for windows users Say we have a NAS located at Make sure to change your keyboard layout from UK to US in order to use the. Any idea what is going on? To be sure, try: Here is link to my SD Card image. It will show me info about your filesystem and how much space you have. Did you remember to expand your filesystem during the installation? Will keep you posted on if my server stops with the same error again: Thanks for the update Steve. So it was indeed an update which broke it. I have added it as a new step to the tutorial Step 8. Hi guys — thanks for a really helpful video for this new guy! Hello, Thank you for the setup, got plex installed, but now i am trying to add my wd 6 tb nas to my pi and I am not able to can some one please help me, I can see it in the gui as afp, but i cant mount the drive to the pi to add it to plex. Which command has — i dont see it in this line wget -O — https: Great tutorial, really teaching this noob a lot. It always helps to know what the permissions are looking like. Then mount it and run the same command. Thanks for the labor saving explanations. I love the Pi 3 and all I can do with it. It is Debian, so you would SSH into the PMS Pi server and type: Proudly powered by WordPress.


Raspberry Pi 3. Установка медиасервера Plex


Только полноправные пользователи могут оставлять комментарии. TM Feed Хабрахабр Geektimes Тостер Мой круг Фрилансим. Geektimes Публикации Пользователи Хабы Компании Песочница. Это мой первый опыт работы с Debian и Raspberry pi 2. При первом же упоминание о том, что это можно сделать, было решено: Для меня все очень удобно и отлично, но… С малинкой это смотрелось куда вкуснее. На первое освоение Debian у меня ушло несколько дней, методом проб и ошибок, гугля каждую команду. Инструкции на русском не нашел, так что решил написать сам в помощь таким же юзерам, как я. Что немало важно, plex на малинке уже работает с транскодингом, ура, товарищи! Нам понадобится microSD на 16gb а лучше 32gb, win32DiskImager и образ Raspbian с официального сайта. Скачиваем все, распаковываваем Raspbian и с помощью win32DiskImager заливаем на microSD. Через несколько минут наш образ записан, вставляем microSD в Raspberry pi, подключаем к монитору, мышь, клавиатура, lan и включаем питание. Перед нами raspi-config извините за качество, фоткал с телевизора: Expand Fеlesystem для использования всего пространства microSD; 2. Chang User Password ставим удобный для нас пароль по умолчанию login: В Advanced Options включаем SSH для удаленного управления; 4. Настраиваем PMS по вкусу. Подключаем hdd с нашей медиатекой и монтируем: В терминале монтируем hdd sudo mount -a Добавляем в PMS нашу медиатеку: Вот и наш плекс готов к использованию. Для того, чтобы при запуске автоматически монтировался hdd: Настройку plexconnect описывать не буду, она уже есть здесь. Установил VNCserver для локального доступа, transmission, все доступно управляется с iPad и выводится на Apple TV. Вот такой получился медиа сервер на raspberry pi 2. Буду ждать советов по улучшению в комментариях. Хорошее начало — половина дела 1,1k 7. Добавить в закладки Вот первое, что пришло в голову при упоминании транскодинга. Просто у меня PMS крутиться на NASe под управлением Ubuntu Server на железе с двух ядерным Celeron и на рипах over 10Gb могут быть тормоза на iPad с просмотром через клиента. Кстати, пару недель назад, в качестве медиа-плеера, запулил первую малинку. Для управления использую iOS девайсы ;. Все равно не тащит fullhd over 9gb. Счас присматриваю чтото класса из этого класса с kodi xbmc на борту с прямым подключением по hdmi. Я про первый говорил ;. НЛО прилетело и опубликовало эту надпись здесь. С ext4 еще не разобрался как правильно примонтировать что бы plex медиатеку увидел. Но, похоже на велосипед. Есть красивый проект RasPlex , который, помимо собственно плекса позволяет ещё и настраивать систему и сеть из графического меню. То есть при наличии Flirc — с любого IR пульта. RasPlex, насколько я понял, это Plex Home Theater, то есть клиент, а не Media Server с транскодингом и вот этим всем. Однако Plex Server есть для любого NAS, включая самодельные, типа OpenMediaVault. Не очень понятно, зачем его городить из спичек и желудей. RasperyPi тем и прекрасен, что умеет h железно декодировать. В первую очередь вопрос денег малинка мне обошлась в 35евро а подходящий NAS начинается от евро, synology например. Обрел бесценный опыт, и получил много удовольствия. Да и Raspberry pi в хозяйстве всегда пригодится, надоело вставил новую sd и начинай новый проект. Сейчас хочу разобраться в автоматизации умного дома, уже реле для gpio заказал. Малина как сервер для PLEX это печально. Если конечно дело идет не о паре гигабайт сериалов в SD качестве. Обоснуйте, не чего печального для себя в этом не нашел. Работает стабильно, p тянет. Настроить управление можно как угодно под себя, я лично все делаю с iPad. За что стоит переплатить и купить нормальный NAS? Мета для моей медиатеки занимает 40 сорок гигабайт. Все фильмы в максимально хорошем качестве. Медиатека также доступна моим друзьям. Малина просто не сможет читать так быстро фильм с диска и стримить его в сеть. Хотя бы потому, что usb и ethernet там на одной шине. Ну не говоря уже о том, что мой NAS это 6x4tb. На таком объеме стоимость нормального компьютера против малины уже не значительно. Это я опускаю, что на том же NAS еще SickRage, CouchPotato, tranmission, SabNZBd. Согласен, ваши цели малиной не заменить, но в моем случае на друзей я не расшариваю, как тянет на два и больше потока еще не проверял да и нет необходимости в этом. А вот подключить несколько дисков хочу, посмотрим что из этого получится. А вот RasPlex меня радовал долго. HDMI-CEC из коробки, bt клавиатура, все что надо. Не был уверен и влепил на всякий случай. На самом деле не только sudo лишний, но и вся команда. Если в fstab не указан noauto, то и так все при загрузке подмонтируется. У меня уже несколько лет успешно работает miniDLNA. Чем это PMS лучше? Для меня в первую очередь было важно возможность смотреть мою медиа теку на Apple TV, iPad, и не покупать дорогущий NAS. А Plex достаточно удобен, и описание тебе к фильму сам найдет, трейлер добавит, и сериалы по сезонам от сортирует, сам медиатеку сканирует а что самое важное конвертирует большее количество форматов. Штука классная и качественная. Бывает конечно обновления новые версии содержат баги, но их достаточно быстро фиксят. А сериалы и фильмы нормально раскидывает? Особенно с кривыми названиями транслитом с буквами и цифрами и в хаотичной структуре? У меня Kodi самостоятельно не справляется с такой кучей, пришлось делать костыли filebot. В fstab еще до кучи nodiratime добавить. Лишнюю команду выше уже привел. И не совсем понял зачем установка самбы нужна? Файлы получаем с диска, раздаем плексом. Поставили, не сконфигурили и бросили. Если уж ставим, то хотя бы пояснить зачем. USB, внешний жесткий диск с автономным питанием. Других способов не знаю. Правильно понимаю, что такая конфигурация не может быть одновременно и сервером, и плеером? Можно попробовать, вопрос в производительности, потянет ли. Погуглил, это не возможно из-за образа rasplex, нужны два raspberry pi. Спасибо большое за статью! Давно хотел на RPI2 сделать PMS с Pleconnect для AppleTV — получилось! Метки лучше разделять запятой. Сейчас Вчера Неделя Как пенсионный фонд сливает персональные данные 27,9k Как я боролся с комарами. Личный опыт и тесты на себе 17,8k А вы хотели бы жить вечно? Интересные публикации Хабрахабр Geektimes. Хорошее начало — половина дела. Запуск Java классов и JAR-ов не по учебнику Хабр. Темные моменты SELinux Хабр. Анализируя Ethereum, Биткоин и более других криптовалют с помощью PostgreSQL. Критическая уязвимость механизма аутентификации BIND позволяет похищать и изменять DNS-записи серверов Хабр. Разделы Публикации Хабы Компании Пользователи Песочница. Информация О сайте Правила Помощь Соглашение Конфиденциальность. Услуги Реклама Тарифы Контент Семинары.


Инструкция по монтажу водосточной системы альта профиль
Take care в письме перевод
Авторы семейного права
Интерактивная карта камер
Dash berlin shelter перевод
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment