Archive

Archive for the ‘Entertainment’ Category

Managing Downloaded TV Shows By Folder With Applescript

March 8th, 2010 Greg Smith No comments

I’m using the TV Shows Mac application to pull torrent files of TV shows and stream them to my PS3 using the PS3 Media Server application. The flow is something like this:

  • TV Shows looks for torrent files and places them in the Media Temp directory.
  • Transmission looks torrent files in the Media Temp directory, it deletes the torrent files and puts the in-process and incomplete torrent files in the Media Temp directory.
  • When Transmission is done downloading, it moves the file to the TV Shows directory.

What neither TV Shows or Transmission does is to organize shows into separate folders by show name. To achieve this I created a folder action Applescript that parses out the TV show name from the file name and creates a folder. The folder action will then move the file into the appropriate folder.

Here is the folder action that I attach to the TV Show folder. It runs every time a file is placed into the TV Shows folder. (note: This is used on Mac OS X 10.6)

–Organize TV shows by folder

–By Gregory J. Smith http://greginthedesert.net

on adding folder items to this_folder after receiving these_items

tell application “Finder”

try

set tvshowsfolder to this_folder

set thefilelist to these_items

repeat with i from 1 to number of items in thefilelist

set thefilename to name of (item i of thefilelist)

set OldDelims to AppleScript’s text item delimiters

set AppleScript’s text item delimiters to “.”

set Pasrsedfilename to text items of thefilename

set AppleScript’s text item delimiters to OldDelims

–Hopefullug there is never a TV show named SxxExx.

set LastPartOfShowName to (count of Pasrsedfilename) – 1

repeat with x from 2 to number of items in Pasrsedfilename

if (item 1 of (item x of Pasrsedfilename) is “S” and item 4 of (item x of Pasrsedfilename) is “E”) or (item x of Pasrsedfilename) is “REPACK” then

set LastPartOfShowName to x – 1

exit repeat

end if

end repeat

set OldDelims to AppleScript’s text item delimiters

set AppleScript’s text item delimiters to ” “

set TVShowName to (items 1 through LastPartOfShowName of Pasrsedfilename) as text

set AppleScript’s text item delimiters to OldDelims

log TVShowName

if not (exists folder TVShowName of tvshowsfolder) then

make new folder at tvshowsfolder with properties {name:TVShowName}

end if

move (item i of thefilelist) to ((tvshowsfolder & TVShowName) as string)

end repeat

on error theerror

display dialog “There was an error moving TV shows: ” & theerror

end try

end tell

end adding folder items to

The applescript seems to work pretty well when there is only one show that lands in the TV Shows directory. When I have manually added several files to the TV show directory, sometimes the folder actions just stop working or give a weird error.

My next project will be to automatically delete the TV shows based the last time they were viewed. The challenge here will be that the PS3 Media Server doesn’t do anything to mark a file as read and I don’t want to delete a file unless it has been watched.

Intel Infoscape Display At CES

January 15th, 2010 Greg Smith No comments

Intel had a display system built specifically for CES which they call Infoscape or “the Intel Cube”. It includes two touchscreen glass walls measuring at 7 x 7 feet (1920 x 1920 resolution). The walls are equivalent to two HD displayed stacked on top of each other but they are a single screen. I can’t image who they got to build these custom screens or what they cost.

These screen are there to demonstrate Intel’s 2010 Core i7 processor and Intel HD graphics chips. Many bloggers were impressed including Engadget but says Intel’s not going to make it a product.

Intel confessed that it has absolutely no plans of commercializing something like this itself — but that’s not to say someone else couldn’t grab a Core i7 and run with the idea themselves.

It’s too bad that some other company has to come out with a impressive product like this. Video of the display can be seen at Intel’s page on YouTube.

iPhone App Of The Week: DISH Remote Access

January 10th, 2010 Greg Smith 2 comments

Have a Dish Network DVR? Have it connected to the Internet? They you should have this free iPhone app that allows remote control and scheduling of TV shows.

DISH Remote Access is free on the iPhone App Storeicon.

0729D096-0477-49EE-8637-63544B8E3010.jpgIntroducing DISH Remote Access – a whole new way to manage your DVR and record your favorite shows – anytime, anywhere with your iPhone or iTouch. With the touch of a fingertip you can easily browse the program guide, schedule DVR recordings and manage your DVR library as if you were at home. You’ll never miss your favorite shows or sporting events with this must-have application.

FEATURES

Schedule DVR Recordings
-Schedule DVR recordings from anywhere
-One-touch recording – simply chose to record one event, all events or only new events

Browse and Search the Program Guide
-Search the program guide up to 9 days in advance
-Search for shows by title, genre, network, keyword or actor
-View graphics and posters of your favorite shows and movies

Manage your DVR Library*
-Set recording priorities
-Manage recording conflicts
-Delete shows you’ve already watched
-View and adjust your recording schedule

DISH Remote Access is compatible with the following DISH Network receivers: 522, 625, ViP® 612, ViP® 622, ViP® 722, ViP® 722k and requires an online DISH account. You must first access DISH Remote Access at least once from your PC, prior to using your iPhone – login to your online DISH account and click on DISH Remote Access to get started.

*Requires high-speed internet connection to one the following compatible receivers: ViP 612, ViP 622, ViP 722, ViP 722k

If you don’t have one of these compatible receivers, upgrade today by calling 1-800-333-DISH (3474)

Intel Wireless Display Announced At CES

January 8th, 2010 Greg Smith No comments

Intel CEO Paul Otellini announced a new product at CES called Intel Wireless Display, or Wi-Di. It consists as an adapter that plugs into a HD TV set and allows streaming video and audio from a computer. That’s it.

Other than purchasing the adapter, I would expect the only requirement would be that the computer has WiFi. I would be wrong.

Processor ONE of the following: Intel® Core™ i7-620M processor, Intel Core i5-540M processor, Intel Core i5-520M processor, Intel Core i5-430M processor, Intel Core i3-350M processor, Intel Core i5-330M processor

Chipset ONE of the following: Intel® HM57, Intel HM55, Intel QM57, Intel QS57

Graphics Intel® HD Graphics

Wireless ONE of the following: Intel® Centrino® Advanced-N 6200, Intel Centrino Advanced-N +WiMax 6250, Intel Centrino Ultimate N 6300

Software Intel® My WiFi Technology and Intel Wireless Display must be pre-installed and enabled

OS Windows* 7 64-bit, Home Premium, Ultimate or Professional

Not only does it require a computer with the very latest Intel chips, it has to have all Intel chips. I expect completing technologies to come out that do not have technical requirements around a specific brand of chips. Also note: not Mac compatible.

Shitty Cars Needed For Breaking Bad TV Show

January 7th, 2010 Greg Smith 1 comment
SafariScreenSnapz005.jpg

Assuming you can get the car to them the TV show Breaking Bad, which films in Albuquerque, needs some crappy cars.

Breaking Bad Season 3 is needing Beater vehicles for filming. Vehicles that have cracked or broken windows, paint peeling,chipped or faded. All vehicles must run and be drivable. Vehicles that have dents, missing bumpers, broken tail lights.
Please include:
Picture of yourself
Picture of vehicle
Full Name
Phone Number
Age
Height
Weight

Conan O’Brien Interviews Intel’s Co-Inventor Of USB

December 28th, 2009 Greg Smith No comments

Apparently, Intel sponsors The Tonight Show With Conan O’Brien. Here’s part of a segment Conan did (series 1, episode 84) where he interviewed, and subtly advertised for Intel, the co-inventor of USB Ajay Bhatt. I somehow forgot to post this when it aired on 9 October 2009.

Ajay was featured in an Intel “rockstar” commercial which featured a actor, not really Ajay. There are several other Conan and Intel segments but I don’t see they published.

Iron Man 2 Trailer

December 16th, 2009 Greg Smith 1 comment

The official Iron Man 2 trailer is available on Marvel’s YouTube and Apple’s Trailer’s site.

Apparently, they trailer is so good that they are going to make a movie out of it. It is due to be released 7 May 2010.

Can anyone familiar with the comic books tell me how close these two movies follow them?

What Up With That? What Up With That? Ewwwww… Weeeee…

December 15th, 2009 Greg Smith No comments

Here’s a little something for someone special. Answering the issues of today with soul. What Up With That?

From Saturday Night Live, episode 4 on 10/17/2009

From Saturday Night Live 11/21/2009

There’s still good stuff on SNL and Kenan Thompson is one such good stuff.

Children Need To Be Taught The Truth About Dinosaurs

December 13th, 2009 Greg Smith No comments

The local TV news stations KRQE has a news story about a preview event for the “Walking with Dinosaurs: The Arena Spectacular” show at the Santa Ana Star center in Rio Rancho. The show uses a combination of actors in costumes with animatronics to show very realistic dinosaurs which can walk freely.

In the preview event the video very clearly shows that they have what is reported to be a baby tyrannosaurus rex who interacts with children. Although the tyrannosaurus rex is not real, The children are allowed to pet it like it’s some sort of giant two-legged kitten (I have a kitten, they act just like this). The fact is that the tyrannosaurus rex is a very dangerous species of dinosaur much like all dinosaurs are.

Clearly the producers of Walking with Dinosaurs do not want children and adults to know the truth. If a child was to approach a real tyrannosaurus rex in real life, like they are in this preview event, the child would most likely be eaten. Parent’s need to teach their children the truth about how dangerous Dinosaurs are because clearly the makers of Walking with Dinosaurs cannot.

Update: More details of the show are on the Rio Rancho Observers website.

iTunes Free 20 Track Holiday Sampler

December 12th, 2009 Greg Smith No comments

2D12A5E5-EBFC-40D5-9F2D-32327693F341.jpg

Apple is giving away 20 free holiday (Christmas) related songs on iTunes. The free songs are only available until December 17th.

Download for FREE.

  • O Come All Ye Faithful Amy Grant
  • The First Noel David Archuleta
  • Silent Night Sarah McLachlan
  • Carol of the Bells / Jingle Bells Barry Manilow
  • It Snowed Meaghan Smith
  • Above the Northern Lights Mannheim Steamroller
  • Baby, It’s Cold Outside Lady Antebellum
  • We Three Kings Toby Keith
  • God Rest Ye Merry Gentlemen Rascal Flatts
  • Silent Night Wynonna
  • Twelve Days of Christmas Mexicani Marimba Band
  • We Wish You a Merry Christmas Weezer
  • A Snowflake Fell (And It Felt Like a Kiss) Glasvegas
  • Another Christmas Song Stephen Colbert
  • Greensleeves Vince Guaraldi Trio
  • Dream a Dream Charlotte Church
  • The Nutcracker, Op. 71, Act 2: Character Dances (Divertissement) – Dance of the Reed Pipes Kirov Orchestra & Valery Gergiev
  • Angels We Have Heard On High Aretha Franklin
  • O Holy Night Musiq Soulchild
  • Auld Lange Syne The Lonesome Travelers