[personal profile] nowalmart
So more work on the UPnP server today. One big annoyance has been that Twonky would not correctly import my iTunes playlists. I finally sat down and hacked my own solution to this.

Some parts that went into this: A little bit of XSLT and Saxon to process the XML using the XSLT.

At first I thought I would have to generate Twonky style .playlist files, but Twonky will correctly show the original .m3u files if you just point it at a folder full of them. Easy enough!

Next was on to video sorting. I DVR a lot of television shows, and while I previously worked on a solution to get Twonky to work well with the scheme eyeTV uses for its recordings, I still ended up with a huge list of videos. I would have to skip through twenty or so episodes of "Boston Legal" to get to the first episode of "Chuck", for example.

In a very quick five minutes I got the script to not only create the well-named symlinks to the original eyeTV recordings, but also auto-generate folders to contain any series it finds. This means that all of the episodes of "Boston Legal" end up in a "Boston Legal" folder, and that means I only have to skip past *one* folder to get to episodes of "Chuck".

The plan is to eventually get some of these scripts (and maybe some better documentation) online.
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

nowalmart

September 2011

S M T W T F S
    123
45678910
111213 14151617
18192021222324
252627282930 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 9th, 2025 02:27 pm
Powered by Dreamwidth Studios