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> &lt;<a href="mailto:jvanderw@gmail.com">jvanderw@gmail.com</a>&gt; 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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; echo &quot;SD CARD NOT INSERTED&quot;<br>fi<br><br>Or what ever else you'd need to do.<br><br>On 11/11/06, koen mythtv &lt;<a href="mailto:koen.mythtv@gmail.com">koen.mythtv@gmail.com
</a>&gt; wrote:<br>&gt; I just set up a new userjob using the PDA Transcode script made by Jeff<br>&gt; Volckaert.<br>&gt; Great work Jeff!<br>&gt;<br>&gt; I used to do i by hand but this is very nice, i like the filenaming a lot!
<br>&gt;<br>&gt; But:<br>&gt; I have a couple of questions i want to like to have some feedback on:<br>&gt;<br>&gt; Is it possible to use hotplug to detect if i load a SD card into my<br>&gt; cardreader<br>&gt; and then fire up a (Bash / Perl) script that will:
<br>&gt;<br>&gt; 1. Wipe all files present on card<br>&gt; 2. Calculate how many of the transcoded files will fit on the card to fill<br>&gt; it to the max. (respecting file dates)<br>&gt; 3. Copy / move these files to the SD card, leaving the files intact that
<br>&gt; won't fit on the card (ready for a next run)<br>&gt; 4. Unmount cleanly<br>&gt; 5. Beep (audible warning when ready)<br>&gt;<br>&gt; Or:<br>&gt;<br>&gt; Add a button to the Frontend menu that will run proposed script in a
<br>&gt; terminal style window like the<br>&gt; mytharchive progress / log monitor.<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; mythtv-users mailing list<br>&gt; <a href="mailto:mythtv-users@mythtv.org">
mythtv-users@mythtv.org</a><br>&gt; <a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>&gt;<br>&gt;<br>&gt;<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>