text stringlengths 9 408 |
|---|
[1692.18 --> 1695.26] This is a Python script and it is awesome. |
[1695.80 --> 1700.86] So this thing will go through using the Plex API of your local Plex server. |
[1700.86 --> 1707.98] It uses the token that you can generate by going to Vue XML and get the little token from up the address bar. |
[1707.98 --> 1718.52] And what it will do is it will basically match the TMDB ID of the movie against a list of different collections. |
[1718.52 --> 1725.52] So it's built me in my Plex library, for example, a bunch of different collections based on genres. |
[1725.52 --> 1729.86] Okay, yes, I already had genre filtering, but this is using Plex's smart search. |
[1730.30 --> 1731.30] It's just really cool. |
[1731.34 --> 1732.20] You've got to go check it out. |
[1732.20 --> 1739.60] I've got now a 90s, a noughties, a tensies, a twenties collection in my Plex library as well. |
[1740.36 --> 1742.62] It's just really, really cool. |
[1742.62 --> 1746.96] But what got me looking at this in the first place was my wife and I were browsing through. |
[1747.04 --> 1751.30] I've got a thousand movies or so on my server and we were just browsing through the other night saying, |
[1751.40 --> 1752.04] what should we watch? |
[1752.12 --> 1758.16] And neither of us could come to any kind of agreement about what we should watch. |
[1758.54 --> 1759.62] I know, it's so true. |
[1759.86 --> 1764.88] Well, first of all, why don't I have a bunch of collections of stuff that's, you know, recently added? |
[1764.88 --> 1775.10] And it's one thing that Plex does out the box, but there's no real kind of, you know, trending kind of collection like there is through the Plex Meta Manager, |
[1775.82 --> 1778.00] like a Netflix or Amazon Prime would give me. |
[1778.20 --> 1783.16] And with this, I'm able to sort of say, oh, hey, yeah, that new Wonder Woman movie. |
[1783.32 --> 1783.88] Okay, cool. |
[1783.94 --> 1785.14] I could go and watch that tonight. |
[1785.88 --> 1787.84] So that was really the motivation behind it. |
[1787.88 --> 1790.76] But this script takes a little bit of elbow grease to get set up. |
[1790.76 --> 1794.78] The documentation is very good, but it's also very verbose. |
[1795.16 --> 1798.16] So it almost put me off, but I'm very glad it didn't. |
[1798.74 --> 1805.82] You need to configure a couple of YAML files and then they actually provide a Docker container that you can run the Python script out of, |
[1806.00 --> 1808.04] which just floats my boat. |
[1808.66 --> 1811.56] I have it set to run every day through a systemd timer. |
[1812.38 --> 1820.18] And the main reason that actually we wanted to go into refreshing all the metadata every day was because of the critic ratings that Plex has. |
[1820.18 --> 1833.90] I noticed that several of the movies that I had, the critics rating and the Ross and Tomatoes rating didn't really seem to line up with what I thought the movie was, like not even a little bit. |
[1833.96 --> 1838.38] And it turns out that it was just a few thousand votes on those really early scores. |
[1838.38 --> 1843.42] And so the Plex Meta Manager goes through every day and refreshes things like critic ratings. |
[1843.64 --> 1845.36] It has a cache, which you can configure. |
[1845.52 --> 1847.22] And I think I've got mine set to 30 days. |
[1847.56 --> 1851.76] So it's not going to go and scrape every movie every day. |
[1852.06 --> 1855.90] But, you know, once a month, I think updating my critic ratings is probably worthwhile. |
[1855.90 --> 1866.06] So this Python script, you set it up to run through systemd every night, and then it goes out and gets all the updated information, and then it writes it to the Plex database directly? |
[1866.66 --> 1866.92] Yeah. |
[1867.08 --> 1870.68] So if you're running Plex in a container, are you running this script in that container? |
[1870.82 --> 1871.82] How's that working? |
[1872.20 --> 1873.94] You supply the Plex server URL. |
[1874.22 --> 1879.30] So in my case, it was just 192.168.port32400. |
[1879.44 --> 1880.56] So it's talking Plex. |
[1880.64 --> 1882.12] It's not like crawling the file system. |
[1882.42 --> 1882.64] No. |
[1883.02 --> 1883.34] Gotcha. |
[1883.52 --> 1885.46] And then how does it get access to the database, though? |
[1885.46 --> 1886.24] Through a token. |
[1886.54 --> 1890.68] So when you go into your media library, there is a Plex token that you can get. |
[1890.78 --> 1894.20] You can click on, I think it's Get Info, and then View Raw XML. |
[1895.02 --> 1901.50] And as part of that XML payload, up in the address bar, there is a 20-character long token. |
[1902.06 --> 1907.68] You give this script that token, and then it authenticates against the Plex API, and off it goes. |
[1908.20 --> 1910.52] That is so cool, Alex. |
[1910.52 --> 1915.42] Man, I love the idea of going out and getting the updated ratings, because I have observed that same exact. |
[1915.46 --> 1920.66] And I'm really glad you dug into it, because I had wondered, how exactly does that work? |
[1921.14 --> 1924.36] That is so cool that it goes out there and gets the trending stuff, too. |
[1924.70 --> 1929.66] I noticed, too, that you came across Movie Match, which is what I actually thought was going to do some of this. |
[1930.12 --> 1932.02] Yeah, it's like Tinder, this thing. |
[1932.14 --> 1934.68] Not that I've ever used Tinder, because I've been married for 10 years. |
[1934.92 --> 1936.12] Now you're more of a grinder guy. |
[1940.36 --> 1941.12] Oh, man. |
[1942.42 --> 1942.78] No. |
[1944.26 --> 1944.90] I'm not. |
[1945.48 --> 1945.92] Oh, okay. |
[1945.92 --> 1946.00] Yeah. |
[1946.36 --> 1952.14] But it is like, it's actually more of like, it's more of matching taste up with a group, right? |
[1952.18 --> 1954.62] It's more about like, hey, what do we all want to watch together? |
[1955.28 --> 1960.82] And when, again, going back to that problem, when you've got like a thousand movies in your library, it's harder. |
[1960.82 --> 1973.98] If a group of us were here in the studio, legitimately, if we were all just hanging out, you, me, and everybody were hanging out on the couch, and we were just flipping through live TV, and like Star Wars was like on one of the cable channels, we would just watch it. |
[1974.34 --> 1975.68] There wouldn't even really be a debate. |
[1975.80 --> 1976.76] That's what we would put on. |
[1977.26 --> 1983.96] But when you actually have to choose, and you want a group of people to decide, it's a real first world problem. |
[1984.36 --> 1985.48] Mesa likes Star Wars. |
[1985.68 --> 1986.54] Oh, no. |
[1986.78 --> 1987.58] Those ones even? |
[1987.58 --> 1990.18] Yeah, I was a kid when that came out. |
[1990.28 --> 1995.42] Episode one, I was like nine or ten when that came out. |
[1995.86 --> 2002.76] And I remember we were on, this is one for the British audience, we were on a Norfolk Broads holiday, and we were in Lowest Off that night. |
[2002.92 --> 2009.18] And I remember walking down the road with my dad to go to the cinema from the boat to go and watch episode one. |
[2009.44 --> 2011.22] And it's just one of those things that stuck in my memory. |
[2011.42 --> 2012.08] Ah, that's great. |
[2012.28 --> 2013.60] How can you not love pod racing? |
[2013.70 --> 2014.84] It's just the coolest thing ever. |
[2015.12 --> 2015.86] Yeah, that's true. |
[2015.86 --> 2017.66] The pod racing was super awesome. |
[2018.20 --> 2020.10] Yeah, I mean, I enjoy the Star Wars movies. |
[2020.24 --> 2021.86] The prequels, not as much. |
[2022.02 --> 2023.20] I think the writing's horrible. |
[2023.56 --> 2024.92] But I'm more of a Star Trek guy. |
[2025.20 --> 2028.18] I've kind of lost track of what's going on these days. |
[2028.78 --> 2037.80] So speaking of this movie match thing, essentially what you do is you and your partner or your group of friends set up this app to talk to your Plex library. |
[2037.80 --> 2043.66] And it presents you with a random bunch of movies that you swipe right, swipe left if you like it or don't like it. |
[2043.66 --> 2049.08] And if you and your group end up with a common set of movies, it will show you at the bottom. |
[2049.18 --> 2052.96] Here are the three movies that you all thought were worth watching. |
[2053.34 --> 2055.64] So it just narrows things down for you. |
[2055.98 --> 2058.90] You could set up like a group chat, like movie night group chat. |
[2058.90 --> 2065.46] And you drop that link in there a couple of nights before and have everybody go through and swipe right and left. |
[2065.78 --> 2069.70] And then when it comes time, use the new Plex watch feature and just watch it all together. |
[2070.12 --> 2071.28] Socially distanced movie night. |
[2071.52 --> 2072.70] Hey, it could be a thing again. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.