My current TV Episode process - Sharing Best Practices



I have the same question-- surely there's a good solution to this by now? If you haven't seen them, these files are named by date, not episode. For example: "The.Daily.Show.09.04.2008.DSR.XviD-iHT.[VTV].avi"

Thanks!

Best I can think of us modifying the file name :frowning:



+1 here and lovin it.


As you've probably seen, renaming is pretty commonly a neccessary step for having the library clearly understand what's going no. On the other hand, you can always use file mode (which is what I end up using anyway).


Not sure if you've already found this (original post was a while ago) but you can define your own regular expressions for filenames in advancedsettings.xml. From your description, I think my setup is similar to yours - each show is in a separate folder, with a folder inside that for each season, for example:

Heroes / Season 1 / 01 - Genesis.avi

Here's the contents of my advancedsettings.xml file (~/Library/Application Support/Plex/userdata/advancedsettings.xml):


<advancedsettings><br />
	<tvshowmatching><br />
		<regexp>Season[\._ ]([0-9]+)[\\/]([0-9]+)[^\\/]*</regexp><br />
	</tvshowmatching><br />
</advancedsettings>



Both the season and episode number can be multiple digits. Any text after the episode number is ignored - the title in the library will still be fetched by the scraper.

[This page](http://xbmc.org/wiki/index.php?title=TV_Shows#Custom_Directory_Structure_.26_File_Names) on the XBMC wiki explains how it works & gives examples for common naming conventions.

Now, if anyone manages to get a regular expression for two-part episodes working, please let me know!


I avoided putting this part as back then every new release of OSXBMC meant deleting your whole UserData folder. I should add this. My set-up is similar to yours. I can't check now but I might even consider two-parters in the RegEx.

Not sure, tho', as I rename the files and lately two- and three-parters are not named in a way that can be told apart.

Eduo

October 8th: Added a couple of edits to the original post, added alternatives for some of the programs.

This is a great guide, and I’m trying to incorporate tvrenamer.pl into a hazel job for sorting my downloaded shows.



Does anyone have any tips on how to do this?



First of all, how do you even run the script in Terminal? I moved it to my downloads directory, then I tried doubleclicking it (as suggested on the site), but that opens it in TextEdit. Then I tried dragging it to Terminal to run it. Permission denied.



Sudo run it: tvrenamer.pl: command not found



Is there some magic incantation you have to enter to make it run perl scripts?

Or even better: Can someone build tvrenamer.pl into an Apple Script or a nice GUI for the Mac?

Are you using SABNZBD to download? It can rename files for you when it’s done downloading…

No. I’m using TVShows and Vuze as I don’t have access to newsgroups (nor do I plan to pay extra for it).


The-Threatdown:Downloads *******$ /usr/bin/rename -v 's/\.[Ss]?([\d]{1,2})[Ee]?([\d]{2}).*\.avi/.S$1E$2.avi/ig' *.avi<br />
-bash: /usr/bin/rename: No such file or directory



:confused:


TIP: If noone has answered you might want to edit your original post instead of creating new posts. By the time I got to this I'm not sure what's happened.

tvrenamer.pl is a work in progress but currently only works on the terminal. "Double-Clicking" is only for Windows, and is applied only for the .EXE rob also distributes.

Back in the day I tried compiling tvrenamer.pl into a mac executable without luck. The problem is all the dependencies it relies on (something common in Perl but which makes it less portable than its proponents would lead you to believe).

I'm checking alternatives but it may all be for naught as Rob is creating a new version of the script these days. I'll try to attack the problem again or, at least, write a quick guide on how to make it run. It may as "simple" as installing all the dependencies with CPAN.

TVRenamer also has the "caveat" that it requires files to be placed in an orderly fashion, in "TV Show/TV Show 1x" or "TV Show 2x" directories where the 1x and 2x are season markers. In reality it picks up the season and show name from the directory and only picks the episode number from the file. It could be done differently but that's how it works for them.

I was trying to implement something like this in SolEol but I haven't really put a lot of effort into it yet. The absolute mess and chaos that the scene stupidly insists on maintaining in naming doesn't help, either.

They are separate posts describing separate issues. I’m not completely daft :stuck_out_tongue:



That particular post was in relation to the other seemingly non-dependent script that you could run straight from the Terminal.



In any case, the more automated one could make this solution the better. I know most people here are happy with SABNDZBSQ3¡ (whatever the f*ck that thing is, OS people: please learn sensible naming!), but for people who don’t have access to the more esoteric archaic parts of the internet and/or use torrents for whatever reason there ought to be a non-geeky way of automating this process. Something like TV Shows goes a long way. If only people distributed TV Shows that were sensibly named / sorted from the start there wouldn’t be a problem. But simplicity seem to be a curseword for the l33t warz0rs out there, so I guess I might as well hope for Duke Nukem Forever to be released. [/RANT OVER]



Anyone had any luck with Vuze scripts/plugins? Hazel + Apple Script?

I don’t use SABNZD and actually believe it’s not worth it, really. But since I saw some use it I included it in the thread.



I don’t care for Hazel, at all, either. Also stopped using Azureus long ago, as its bloat didn’t justify, to me, any of its advantages.



My own process is pretty much automated. I wouldn’t dream of having the episodes moved automatically so the only manual step is moving them over. It wouldn’t be hard to set-up a cronjob to copy every VTV file dropped in the “completed” folder onto the TV disk and also delete every VTV file whose last modification date is one week ago (to cover for seeding, which is only fair), but I haven’t seen what little I have to do manually to be worth the lack of visibility.



As I mentioned, I planned to include some of the functionality in SolEol, but I’m actually against fully automating the process, as I feel it’s actually a bad thing. Too disconnected.

It’s not a big deal…to each their own…



The main reason I use Usenet is because using Bittorrent exposes your IP. I had 2 DMCA take-down notices sent to me back in the days when I was downloading TV Shows via bittorrent, and didn’t feel like getting a third and getting kicked off the internet by my ISP.



The usenet server I use is free, I get line speed, and SAB automates everything, so it’s a beautiful thing. I can see why it puts people off though, since initially it is tough to get all the parts together and learn how they all fit together.



Anyhoo, whatever works for each person - it’s all good! B)


Really??? Wow. I have never received any notices/warnings at all, but that must be because I have been using usenet for almost 10 years.


I use usenetserver.com ($14.95 US/month ,$39.95/3months) and have not had any issues for at least 2 years. 10+mb connection maxed out. Are you using a free public server? How good is the retention? How would I get access?


Use newzbin.com... It's cheap, easy and works with SABnzbd. Honestly, everyone I teach to use usenet is amazed how easy it is once it's set up.
If anyone is concerned about security, this is the way to go. Just make sure your usenet provider does not log any sensitive information.


It depends also a lot on the country. According to Google my earliest Usenet post is from 1991 and I stopped using it for binaries around 2001. But I've lived in Mexico and Spain, where these topics are handled a little differently. For me Usenet stopped being attractive even before that, and even if I could automate a process that uses usenet with my eyes closed I just can't find the heart to do it. There's absolutely no incentive.

In Mexico there is no legal action taken, at all. In Spain there is a sort of tax on CDs and HDs that supposedly covers using them for "private copies", but this is being disputed as the spanish law allows for "art" to be shared privately (those "private copies") without legal repercussions, as long as there is no profit, direct or indirect.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.