Just replying for future reference:<br><a href="http://www.makarevitch.org/cpShuffleSature/">http://www.makarevitch.org/cpShuffleSature/</a><br>could be used i think, will try this later this week.<br>Will report back if succesfull.
<br><br><br><div><span class="gmail_quote">On 11/11/06, <b class="gmail_sendername">Jon Vanderwoude</b> <<a href="mailto:jvanderw@gmail.com">jvanderw@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I setup autofs to automount the sd card when there is one there and<br>something trying to access it.<br><br>With something like that you could just put a file off the root of the<br>sd card, and then do something like<br>
<br>if [ ! -f $PATHTOSDCARD/$TESTFILE ]; then<br> echo "SD CARD NOT INSERTED"<br>fi<br><br>Or what ever else you'd need to do.<br><br>On 11/11/06, koen mythtv <<a href="mailto:koen.mythtv@gmail.com">koen.mythtv@gmail.com
</a>> wrote:<br>> I just set up a new userjob using the PDA Transcode script made by Jeff<br>> Volckaert.<br>> Great work Jeff!<br>><br>> I used to do i by hand but this is very nice, i like the filenaming a lot!
<br>><br>> But:<br>> I have a couple of questions i want to like to have some feedback on:<br>><br>> Is it possible to use hotplug to detect if i load a SD card into my<br>> cardreader<br>> and then fire up a (Bash / Perl) script that will:
<br>><br>> 1. Wipe all files present on card<br>> 2. Calculate how many of the transcoded files will fit on the card to fill<br>> it to the max. (respecting file dates)<br>> 3. Copy / move these files to the SD card, leaving the files intact that
<br>> won't fit on the card (ready for a next run)<br>> 4. Unmount cleanly<br>> 5. Beep (audible warning when ready)<br>><br>> Or:<br>><br>> Add a button to the Frontend menu that will run proposed script in a
<br>> terminal style window like the<br>> mytharchive progress / log monitor.<br>><br>><br>><br>><br>> _______________________________________________<br>> mythtv-users mailing list<br>> <a href="mailto:mythtv-users@mythtv.org">
mythtv-users@mythtv.org</a><br>> <a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>><br>><br>><br>_______________________________________________
<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
</a><br></blockquote></div><br>