News for hackers. Stuff that matters.
Re:Streama – A self-hosted streaming application with your o... by Terretta on Thursday January 12, 2017 @07:59AM (#13381834)
Hello world video hub could be the new hello world blog!

But one has only to review the (very frequent) release notes for Plex to see the devil is in the edge cases, not the basics.

In the meantime, Plex has a native server app for almost everything, including NAS boxes, and native players shipping with TVs and in game console app stores. It does a good job on both playback and admin UI across a fleet of media hosts for a household of users, and the latest release unlocks hardware encoding across an array of operating systems.

There's even a portable HDD + WiFI hub from Western Digital, to take Plex Server and 4TB of media on the go w/ 10 hrs battery life, in the size of a Sony Discman.

Re:Streama – A self-hosted streaming application with your o... by mistermann on Thursday January 12, 2017 @09:33AM (#13382442)
For me, Plex falls flat in that it seemingly can't handle non-formal video files like home movies, in that it isn't able to search for words within file names, and it is very painful to view long filenames.

I posted on the support forums at least twice and was told (not sure if by maintainers or just other users) that I'm basically an idiot for wanting to do that.

So, I am very looking forward to something new in this space.

Re:Streama – A self-hosted streaming application with your o... by crispyambulance on Thursday January 12, 2017 @10:17AM (#13382805)
Yes, for something that is so full-featured and sophisticated, I found the media filename issues to be exasperating.

For those that aren't familiar with it, Plex REQUIRES a particular filename format. If you happen to have a media file that is named "wrongly" it either won't show up or it will try to randomly guess what it is so that it can display DVD-title image in your library. There appears to be no way to just force it to accept whatever filename you want. (This might have changed in the last year or so since I uninstalled Plex).

Re:Streama – A self-hosted streaming application with your o... by ishields on Thursday January 12, 2017 @05:03PM (#13386560)
Actually there are various ways to get proper matches without the exact filenaming convention they recommend. There's a feature where you can "Fix Incorrect Match" described here:

https://support.plex.tv/hc/en-us/articles/201018497-Fix-Inco...

This lets you pick the movie/show/whatever manually from a few different sources. If your media isn't immediately recognized, you can do this to correct it.

Additionally, they have a "Personal Media" metadata agent you can select for media that's your own personal media (like home videos) which will allow plex to read the metadata directly from the file instead of searching for a match. There's more info on that here:

https://support.plex.tv/hc/en-us/articles/200265246

I have never had the issue you described where something doesn't show up at all, just that it's incorrectly matched (in which case the tile will just show a screenshot and the title will just be the filename)

Additionally, I've found that if you use their recommended folder structure, the filenames matter much less. For example, if you have this directory:

/Media/TV Shows/Show Name/Season 1/

It seems like as long as the file contains the season/episode like "S01E01" it will match correctly based on the directory information. I haven't messed with it much but I have never had to rename a file to get plex to recognize it when I use directories like this

Re:Streama – A self-hosted streaming application with your o... by crispyambulance on Thursday January 12, 2017 @05:15PM (#13386655)
Thanks, this makes me want to give Plex another try.
Re:Streama – A self-hosted streaming application with your o... by phusion on Thursday January 12, 2017 @05:25PM (#13386731)
It is really great, I have it running on two cheapo linux VMs as well as my gaming box back home. It's great to be able to watch on my phone, iPad, netbook, laptop, desktop etc and the Fix Incorrect Match feature works just fine.. I don't even create the Season XX folders, just /media/TV/ShowName/Filename.SxxExx.mkv{or whatever} and most multi-worded series dont match correctly by themselves, editing it once and putting spaces in works 95% of the time.
Re:Streama – A self-hosted streaming application with your o... by cookiecaper on Thursday January 12, 2017 @11:23AM (#13383490)
Agreed that the rigidity around library matching is disappointing; I've found this is the case with most of these media scanners, and not just Plex specifically. XBMC allowed the user to add his/her own regexes to the matchers last time I tried it, but I don't think that Plex does.

I understand that there are potentially infinite permutations, but I think at least a slightly broader set of default regexes and/or a better way to fingerprint would be a lot nicer. Seems one could hash chunks of the file and compare against a database to identify media without considering the filename at all; that'd be the most convenient.

If Plex isn't matching what you want, mark the media type "Home Videos". That matches everything.

Re:Streama – A self-hosted streaming application with your o... by mistermann on Thursday January 12, 2017 @12:39PM (#13384306)
> If Plex isn't matching what you want, mark the media type "Home Videos". That matches everything.

Does it do wildcard search then? Last time I checked Plex wasn't capable of "select * from movies where filename like 'whatever', and from reading the forums this was very much not accidental, it seemed to be a matter of principle to them for some reason.

Even if that works, the inability to view long filenames is a deal breaker anyways for me (again, I have a feeling the answer to this would be "you're doing it wrong").

Re:Streama – A self-hosted streaming application with your o... by calinet6 on Thursday January 12, 2017 @10:19AM (#13382830)
Most of the workflows that feed into Plex handle this pretty seamlessly. To be honest, I never even knew it had an issue, so I'm speaking out of a state of blissful ignorance of filenames—but that's how I want it to be, so can't complain.
Re:Streama – A self-hosted streaming application with your o... by dv_dt on Thursday January 12, 2017 @01:52PM (#13384985)
I moved from Plex to Emby for exactly that annoyance. (Emby is better but not perfect on that issue...)
Re:Streama – A self-hosted streaming application with your o... by nirav72 on Thursday January 12, 2017 @08:16PM (#13387675)
As a long time plex user, I'm tempted to try out Emby simply for one reason.- that is the GPU assisted transcoding. Plex still doesn't have hardware transcoder support.
Re:Streama – A self-hosted streaming application with your o... by degenerate on Thursday January 12, 2017 @03:19PM (#13385731)
Thanks for introducing Emby, never heard of it. The retarded handling of filenames was exactly why I stopped using Plex!
Re:Streama – A self-hosted streaming application with your o... by dv_dt on Thursday January 12, 2017 @03:30PM (#13385814)
TBH, I might have used something else entirely, but I had a Roku hooked to my TV which I've been completely happy with for the other channels it provides, and so Emby won out for me because it also has a Roku channel.
Re:Streama – A self-hosted streaming application with your o... by pyre on Thursday January 12, 2017 @11:34AM (#13383613)
I know that there are extensions to accept XBMC/Kodi-style .nfo XML files for metadata. I would think it possible to use those to tell Plex to use whatever you explicitly set as the title.
Re:Streama – A self-hosted streaming application with your o... by gregmac on Thursday January 12, 2017 @09:51AM (#13382598)
> can't handle non-formal video files like home movies,

FWIW I have videos on my Plex system ranging back for several years taken from at least 3 different cameras (highest end from only a Nikon V1 mirrorless though) and 5 phones/tablets.

I can't say I've played all of these back on all devices, but I have (or have had) a Nvidia Shield, Chromecast, Samsung ~2012 Smart TV, Roku2, Asrock Ion 330 running Plex Home Theater on Win8 and later Win10, as well as a couple phones/tablets and PC (via web UI) as an interface to Plex.

Really the only time I've ever had a playback issue is when my made-from-old-parts server has the CPU maxed out due to some other app going crazy, and then Plex playback will pause a couple times a minute. I really can't think of any time I've had content it just can't play.

I'm a big fan of Plex. I started using MythTV back in mid-2000s, switched to SageTV for a few years (due to the awesome HD300 devices), and very reluctantly (at first) switched to Plex ~3-4 years ago.

Re:Streama – A self-hosted streaming application with your o... by mistermann on Thursday January 12, 2017 @10:02AM (#13382699)
Oh, it will play them just fine, but good luck finding the video you're looking for when the keyword starts at the 50th character in the filename.

"Oh, that's such an edge case" - well, sure, but it is also completely not difficult to implement:

a) wildcard search on filenames

b) add a list mode that shows the complete filename, rather than having to sit and watch it scroll (say you've got 50 videos number #1 thru #50 and you want to play #39 - have fun with that)

Re:Streama – A self-hosted streaming application with your o... by djsumdog on Thursday January 12, 2017 @11:50AM (#13383790)
I use to use Plex and really liked it. If I ever got a TV again, that's what I was going to use, but I had no idea it had a 50 character filename search limitation. That's so weird!
Re:Streama – A self-hosted streaming application with your o... by mistermann on Thursday January 12, 2017 @12:40PM (#13384313)
Oh no, there's no limit, it just can't search filenames (last time I checked anyways), and there's no practical way to view long filenames.
Re:Streama – A self-hosted streaming application with your o... by gregmac on Thursday January 12, 2017 @01:35PM (#13384835)
I just checked on mine:

* Unless there is other metadata, the filename becomes the title, and the title is searchable.

* Text search appears to be fulltext-style:

  * A title like "2017-01-12 09-23-45.mpg" will be found with a search for "01-12". 

  * "20170112" is found when I search for "201701" but not if I search for "0112". 
* The web UI list view is quite wide, but still appears to truncate after about 80 characters (even though that's less than half the screen width on my 1920px wide monitor).
Re:Streama – A self-hosted streaming application with your o... by mistermann on Thursday January 12, 2017 @04:19PM (#13386215)
Well that's fantastic news, glad to see they changed their mind.

Sadly, it still fails for me as many of my file names are quite long with the differentiating aspect being beyond the 80th character. The option to wrap filenames would fix that problem.

Re:Streama – A self-hosted streaming application with your o... by Nadya on Thursday January 12, 2017 @12:47PM (#13384366)
There's a thumbnail view, a detailed view, and a list view. Does the list view truncate the title? I only started using Plex a few days ago but I don't recall it cutting names short when I swapped to the List View for a moment.

I'll check again tonight when I get the opportunity - but I imagine a name would need to be quite long for List View to not be good enough (assuming it doesn't truncate).

E:

Thank you gregmac for checking and reporting in with your findings. :)

Re:Streama – A self-hosted streaming application with your o... by cookiecaper on Thursday January 12, 2017 @11:13AM (#13383369)
You have to mark the right media type in Plex. "Movies" and "TV" will match against specific regexes, otherwise they won't show up. "Home Videos" will match everything. I host my home videos via Plex and it works fine. I also host a Downloads folder as media type "Home Videos" for miscellaneous videos because this is the only way to get it to match everything.

With XBMC, you used to be able to go back into the library settings and add/change the regexes yourself (was useful on shows like Avatar that would call seasons "books"). I wasn't able to figure out how to do this with Plex.

Re:Streama – A self-hosted streaming application with your o... by dawnerd on Thursday January 12, 2017 @01:20PM (#13384677)
Recently Plex has become quite unstable for me. Constantly causing clients to disconnect, even when they're on the local network. All started happening after they added in th "brain" feature.
Re:Streama – A self-hosted streaming application with your o... by Allower on Thursday January 12, 2017 @10:30AM (#13382934)
Plex doesn't manage your media, it just presents it and makes it accessible, if you want media managers look at Sonarr (https://github.com/Sonarr/Sonarr) and Radarr (https://github.com/Radarr/Radarr)
Re:Streama – A self-hosted streaming application with your o... by cookiecaper on Thursday January 12, 2017 @11:08AM (#13383327)
It looks like your posts are being autokilled (and mostly for good reason). I vouched for this one.
Re:Streama – A self-hosted streaming application with your o... by mastax on Thursday January 12, 2017 @12:04PM (#13383940)
See also https://sickrage.github.io/

I haven't seen Sonarr before, it looks quite polished.

Re:Streama – A self-hosted streaming application with your o... by Tactic on Thursday January 12, 2017 @02:31PM (#13385315)
I can recommend it. I have a setup with Sonarr, SABnzbd and Kodi plus a sub to a nice European usenet server. Hardware is my desktop, a 4 TB NAS and a fireTV. All told a few hundred dollars and TV shows show up automatically for me, often within an hour of airing.

This is the first I have heard of Radarr though. (Sonarr but with Movie retrieval). I'll have to check it out.

Re:Streama – A self-hosted streaming application with your o... by problems on Thursday January 12, 2017 @08:27AM (#13381979)
Yeah, there's also open source alternatives in this space too like Emby. I've had major issues with Plex (DLNA server crashing constantly) so I'm looking for an alternative. Currently just running a fork of PS3 Media Server called UMS which seems to work better, does transcoding and everything.
Re:Streama – A self-hosted streaming application with your o... by arghwhat on Thursday January 12, 2017 @08:34AM (#13382033)
What you're looking for specifically is a DLNA server, then. That's not necessarily a part of a media server solution.

I suspect it's a bit of a dying tech - it never worked that well, support was limited, and better options are available. Back when I played with it, Kodi née XBMC and Plex were basically the only options, and the UI of the devices tested was awful, and not geared for large collections. Furthermore, it lacks the ability to expose server-specific services, such as transcoding and additional subtitles in case of Plex.

Using specialized clients forego much of these problems. I personally use a raspberry pi with RasPlex, but if I wanted to, my TV itself and my Chromecast can both also run Plex clients (although I shall never do the former - Smart TV platforms suck).

Re:Streama – A self-hosted streaming application with your o... by problems on Thursday January 12, 2017 @09:36AM (#13382467)
Yeah, basically, I do appreciate the media server thing for other uses though.

I've had quite good luck with it on my Smart TV until Plex started shitting the bed.

> Furthermore, it lacks the ability to expose server-specific services, such as transcoding and additional subtitles in case of Plex.

No it doesn't, UMS and others allow you to enable these things. In fact it has transcoding profiles for different devices just like Plex does and you can select the subs you want on your TV, mine lets me at least. Just really glad I didn't pay for Plex as I was considering it prior to this incident.

Re:Streama – A self-hosted streaming application with your o... by arghwhat on Friday January 13, 2017 @06:13AM (#13389951)
Can you, from the device, chose how to transcode and apply subtitles, select different video/audio tracks, potentially trigger ahead-of-time transcoding, etc.?

Fixed device profiles are not particularly useful. I may be mistaken, but I do not recall DLNA as supporting any such "extended", server-specific capabilities.

Re:Streama – A self-hosted streaming application with your o... by distantsounds on Thursday January 12, 2017 @10:49AM (#13383115)
DNLA always felt fairly half-baked. VLC struggles to use it correctly, TVs stopped supporting it, and iOS/Android don't really use it out of the box.
Re:Streama – A self-hosted streaming application with your o... by distantsounds on Thursday January 12, 2017 @10:48AM (#13383103)
XBMC/Kodi has a DNLA server built in, just need to turn the feature on. It requires keeping the app running in the background, though.
Re:Streama – A self-hosted streaming application with your o... by problems on Thursday January 12, 2017 @10:52AM (#13383159)
Interesting, might consider it - does this support transcoding?
Re:Streama – A self-hosted streaming application with your o... by croon on Thursday January 12, 2017 @08:20AM (#13381951)
Agreed.

The only thing Plex does badly is subtitles, which both Kodi (of course) and simple players like BSPlayer does well.

Re:Streama – A self-hosted streaming application with your o... by ascagnel_ on Thursday January 12, 2017 @08:25AM (#13381969)
I wonder how much of that is because subtitles themselves are a mess, and it's highly dependent on the environment the player is running in.

Some subtitle formats (notably DVD & Blu-Ray, if you're ripping your own content) are actually image formats with timecodes. There are other text-based subtitle formats. If a player (say, the Apple TV) supports one type but not the other, Plex has no other option but to "burn in" the subtitles on playback.

Re:Streama – A self-hosted streaming application with your o... by jacobush on Thursday January 12, 2017 @09:47AM (#13382560)
Nah... you can only select subtitle BEFORE starting a movie. This detail must be fixable regardless of messy subtitle formats. I chalk it down to Plex being US centric, subtitles don't seem as important in that market I think.
Re:Streama – A self-hosted streaming application with your o... by KJKingJ on Thursday January 12, 2017 @10:35AM (#13382984)
I often use subtitles (often in ASS/SSA format) on content i'm streaming from Plex and have no issues changing the subtitle format mid-stream - if the subtitles are being burnt in because the player (e.g. Plex Web or mobile apps) can't natively render them then there's a few seconds delay before the video resumes. On players that can natively render them (e.g. Plex Media Player or Kodi with the PlexKodiConnect plugin), the changeover is instant.
Re:Streama – A self-hosted streaming application with your o... by jacobush on Friday January 13, 2017 @05:12AM (#13389746)
For me while playing, there is only one subtitle to choose from. The one I chose before starting the movie. No matter how many subtitles the file actually has. I'm using the Apple TV Plex app.
Re:Streama – A self-hosted streaming application with your o... by zbuttram on Thursday January 12, 2017 @11:58AM (#13383866)
From experience, that delay when you try to switch while it's using burn-in subtitles can increase quite a bit on slower servers, but as you said the switch does work (eventually).
Re:Streama – A self-hosted streaming application with your o... by Nadya on Thursday January 12, 2017 @10:45AM (#13383084)
Set the default language and set default subtitles to always use available subtitles and unless you're a niche case of always changing your dub/subtitle language you should be good to go for most, if not all, cases?

This was a problem with playing some of my anime collection with EN dub and no subtitles. Now it defaults to JP dub and any available subtitles (99% of the time is only EN Subtitles, sometimes there are JP/CN and I haven't seen what happens in that scenario yet)

Re:Streama – A self-hosted streaming application with your o... by cookiecaper on Thursday January 12, 2017 @11:30AM (#13383557)
This isn't the case on all Plex clients. I know on the Roku, you just have to hit the gear for stream settings and can change it mid-stream. I vaguely remember encountering something like this on the Android client and being really annoyed by it, but I don't use Plex on my phone very often so hasn't been a big deal for me. (and maybe there's a way around it?)
Re:Streama – A self-hosted streaming application with your o... by derrasterpunkt on Thursday January 12, 2017 @10:16AM (#13382798)
I think they are more important in the US than they are in europe, for example. Because foreign movies in the US are not being dubbed into english. In most european countries the movies are dubbed into the language where they are shown.
Re:Streama – A self-hosted streaming application with your o... by jacobush on Thursday January 12, 2017 @10:28AM (#13382912)
I think most people in the US and in Europe watch American movies.
Re:Streama – A self-hosted streaming application with your o... by netsharc on Sunday January 15, 2017 @08:48AM (#13403932)
I found it surprising that DVD subtitles are images, but then I realized it made sense back during the introduction of the DVD, with the crazy world of text encodings. Chances were high that the Elbonian-made player would get the encoding of a subtitle stream wrong and display Mojibake!

With images they had a benefit of being able to do fancy things like use different fonts.

Re:Streama – A self-hosted streaming application with your o... by vlunkr on Thursday January 12, 2017 @10:53AM (#13383169)
This is open source though, it's a great effort. I wouldn't write it off just because something else exists already.
Re:Streama – A self-hosted streaming application with your o... by pjc50 on Friday January 13, 2017 @08:45AM (#13390683)
While we're on the subject of Plex, does anyone here use it for recording broadcast digital TV (preferably including HD)?

I'm always confused about how most htpc systems only make sense for people with massive private ripped/downloaded libraries of media, while in the "golden age of TV" seemingly nobody watches actual TV.

Re:Streama – A self-hosted streaming application with your o... by speedkills on Thursday January 12, 2017 @08:22AM (#13381957)
Plex is great EXCEPT they don't care about your data. They have refused to provide backup and restore capability for years. Been using Plex for a while and like it so much you want to buy a dedicated device to put Plex on? Say goodbye to your watched shows and movie history.
Re:Streama – A self-hosted streaming application with your o... by soundwave106 on Thursday January 12, 2017 @11:13AM (#13383372)
The bulk of the user data (your movies, paths, what you watched) seems to be stored in a com.plexapp.plugins.library.db SQLite file (that you find in Plug-in Support\Databases on the Plex Media Server data storage folder, on Windows it is %LocalAppData%\Plex Media Server and someone linked to a support question with the rest).

So I imagine you can get a pretty solid backup just by using SQLite tools on that one file (though backing up the entire Plex Media Server folder might also be nice to do every now and then to save other things such as plug-in data).

The DB, although obviously undocumented, is also an interesting place to poke around for looking at the data for your own purposes. For instance, it looks like the statistics_media table stores your watched show history.

Re:Streama – A self-hosted streaming application with your o... by arghwhat on Thursday January 12, 2017 @08:30AM (#13382009)
Plex does DB backups. You just tell it where to do it, and it'll do backups at some specified interval.

I haven't tried to restore, but I keep the backup in a separate location.

Re:Streama – A self-hosted streaming application with your o... by givinguflac on Thursday January 12, 2017 @08:29AM (#13382004)
Re:Streama – A self-hosted streaming application with your o... by haylem on Thursday January 12, 2017 @02:44PM (#13385433)
Interesting. That never bothered me, and I've reinstalled Plex quite a few times over the past 2 years. For me it's quick to setup and re-index, so I don't really see an issue with its own data getting lost, as long as it leaves my files alone.

I guess it's because I don't use (or see the need, really) for these features. I mean, I can remember fine what I've already seen and I don't mind clicking through to my next episode when I get back into Plex, and I don't really care to know what I've watched in the past, how many times, or how I rated it.

I'm more bothered by its DLNA server crashing, its occasional screw-ups with multi-audio or multi-subtitle containers, or it's failure to transcode some files (though most of these might be due to the receiver more than Plex).

Re:Streama – A self-hosted streaming application with your o... by nofacade on Thursday January 12, 2017 @08:28AM (#13381993)
It's not the greatest solution as you have to manually run some commands but https://support.plex.tv/hc/en-us/articles/201154527-Move-Vie... has worked for me the multiple times I've moved Plex installs.
Re:Streama – A self-hosted streaming application with your o... by Speakeasys on Thursday January 12, 2017 @08:34AM (#13382030)
I find Serviio works well as well.