![]() I've been using minidlna for about two years. :-) Even in C one can split up a function into several sub-functions. The code if overloaded with comments and no there is absolutely no spaghetti code. I had a quick look at the source code - my god - terrible programming style. Most router vendors using minidlna hence use temp memory for the DB which makes it fast, but limits the number of files in the list as they quickly run out of memory.īut still thew software does a pretty good job. It would be much faster to cue the SQL INSERT / UPDATE statements and then run like 100 at a time at once in a single transaction / batch. Every file causes an I/O for reading and another I/O for writing the SQL DB. Now one could say but you can do this on the Linux PC and then copy the DB to the device - but that's just a workaround for a poor design.Īnother design issue is to write the media information for each file individually (meatadata.c). Once the scan is done the DB would simply be copied to a the device and used there. ![]() In this situation it would be great if you could use a fast PC to perform the scan an then save the result in to the SQL lite DB (maybe even with some GUI or at least some logging). But on a slow device with low memory like a WLAN router this can really take a while. Why: now if you run it on a PC / Table with lots of computational power the scanning process is done in a matter of minutes or up to an hour if you have a large library. It would be much better to separate the two tasks into two programs. But: every program should have one single purpose! This program does two things in one program: 1.) Scan directories for meta files and write extracted meta data into a DB, 2.) serve as DNLA server Completely overlooked when first released, this is an amiable comic fantasy with prescient paranoid elements.In principle great. The best parts of the film have Conried gloriously spazzing out and basted in booze, and the image of that damned television walking around is like some fragment from a comic mescaline hallucination. ![]() While we learn that the Twonky is actually a futuristic servant, lost in time. Eventually, the cops come after Hans for running a bordello, the feds for counterfeiting, and the film critics for outrageous overacting. ![]() For whenever Hans begins thinking about individualism and personal freedom, a little Twonky electroshock sets him straight, and all its hypnotized victims flatly utter "I have no complaints." When the college football team is recruited to destroy the Twonky, they too are turned into glassy-eyed zombies (not a big change, I admit). Underlying all this foolishness are several not-so-subtle barbs about the loss of free will and the suspicion that the TV will end up ruling people's lives. Nicknamed a "twonky" (something you can't explain) by an alcoholic neighbor, Conried slowly goes mad (in his own inimitable fashion) as the TV wiggles its antennae and creates havoc. The set has some very unique features, such as how it doesn't need to be plugged in, hilariously hobbles around on its wooden feet, and emits a magical beam which can (1) light cigarettes, (2) create five dollar bills, or (3) hypnotize the police. Directed by radio producer Arch Oboler (who obviously had no great love for the then-new-fangled medium of TV), it's the tale of college philosophy professor Conried and how his staid lifestyle is turned inside out when a television is delivered to his home. T) and an evil new mind-controlling abomination called a Television!. B-movie fluff starring everyone's favorite weaselly character actor, Hans Conried (THE 5,000 FINGERS OF DR. Though THE TWONKY is no masterwork, it features a brilliant story idea, a wonderful lead actor, and tons of adolescent-level stupidity. ![]() And you hope that decades later, when you see them again through more discerning, adult eyes, they don't end up completely sucking. Some movies, no matter how asinine, hold a nostalgic charm from when you first viewed them as a child. ![]()
0 Comments
Leave a Reply. |