This provides a way for users who use inappropriate data to construct a link name (such as a description) to specify a maximum length of the link name to work around limitations imposed by the file system. Note that the names will be truncated and a count variable added to them to keep within the --maxlength specified. The names aren't necessarily useful or descriptive, but the feature was requested and was easy enough to add--and may actually convince those users to choose more approrpiate data for use in creating file names.
The wiki page used the --link argument for examples, but it was not shown in --help output. This just updates the help output to show alternative names for the argument. Also remove the redundant "dest" name for "destination" (as "dest" is a sufficiently unique portion of "destination" to qualify as the destination argument) and "h" for "help". Thanks to Xipmix for noticing the discrepancy in the wiki page.
Sometimes Miro metadata has no video filename. Skip and remove these invalid Miro items.
Sometimes Miro metadata has no video filename. Skip these invalid videos.
Change Log: 1) Utilize the new metadata functionality in recordings. Now users can specify graphics for Miro Channels or set the Miro Channel name to match an entry in ttvdb.com and MythTV will download the artwork automatically. 2) Added support for Miro v4.0.2 or higher. 3) Automatically convert any copied Miro videos with an inetref of '99999999'. This was only required for the defunct Jamu script. The category is changed to 'Video Cast" and the inetref is removed unless there is one in an associated Recording rule. 4) Silenced verbose output from ffmpeg when creating a screenshot. 5) Fixed delOldRecording abort when a Channel sends two videos with identical published date and time. All starttimes are now unique. 6) Fixed aborts caused by bad metadata in Miro (videoFilename). 7) Fixed a minor bug when a video is marked as watched within Miro but was not being removed from "Watched Recordings" until the video expired. 8) Removed creation of "folder.png" graphics when creating directories as that is no longer used by MythVideo.
Farewell, old friend. All the functionality of this script has been moved into the UI. The UI can now mass update metadata, perform backend video scans, download artwork for recordings, display them without guessing, etc. A huge thanks to Doug Vaughan for all the joy this script has brought our users as I shambled, hemmed and hawed, waffled, and dragged my feet to getting this all working without the need for an external script.
Modify QUERY_RECORDINGS to allow retrieving sorted or unsorted lists. The argument may be one of Recording (for in-progress recordings only, unsorted), or Unsorted, Ascending, or Descending (where the latter 3 request all recordings and specify sort order, based on starttime). This allows code that needs to sort the recording list itself, like the PlaybackBox code, to request and unsorted list, while still allowing bindings and MythXML users to get sorted lists. Change includes a binary version change, so plugin rebuild is required. Also includes a protocol version change, so all clients--frontends, backends, MythWeb--need updating.
…if it is already unicode. Closes #9279 for now. Refs #8768. If this is going to be a recurring issue, it may be better to for all strings outputted by the MySQLdb module to unicode as well for consistency, and deal with whatever code needs to be fixed as a result. git-svn-id: http://svn.mythtv.org/svn/trunk@27327 7dbf422c-18fa-0310-86e9-fd20926502f2
…om Doug Vaughan. git-svn-id: http://svn.mythtv.org/svn/trunk@27161 7dbf422c-18fa-0310-86e9-fd20926502f2
…ng in Ubuntu 10.10, so versions for .24-fixes and .23-fixes will follow in the next few days. git-svn-id: http://svn.mythtv.org/svn/trunk@27066 7dbf422c-18fa-0310-86e9-fd20926502f2
…anges, courtesy of Doug Vaughan. git-svn-id: http://svn.mythtv.org/svn/trunk@27063 7dbf422c-18fa-0310-86e9-fd20926502f2
… and r26179, the Video class no longer takes an id keyword. Adjust mirobridge to provide such data as the first argument to the constructor method. Fixes #8922. git-svn-id: http://svn.mythtv.org/svn/trunk@26438 7dbf422c-18fa-0310-86e9-fd20926502f2
These scripts have bitrotted over the years and can cause problems with data (including inserting invalid data into the database) and have resulted in more than one user having lost a bunch of (or all) recordings due to the script's failing to detect appropriate configuration. Though I haven't yet finished the replacement functionality, the use of these scripts isn't recommended, so I'm removing them from the distribution. They still exist in the repository for anyone who wants to roll the dice with them. All the functionality provided by these scripts will be incorporated into mythbackend, with interfaces in mythfrontend and MythWeb (or any other user of MythXML, including the bindings). git-svn-id: http://svn.mythtv.org/svn/trunk@26216 7dbf422c-18fa-0310-86e9-fd20926502f2
git-svn-id: http://svn.mythtv.org/svn/trunk@26135 7dbf422c-18fa-0310-86e9-fd20926502f2
Users who previously used the smartfill script should use --dd-grab-all, instead, and will get all available data every day without stressing the DataDirect servers the way the smartfill script does. See . This script is not being moved to the wiki since no one should run it, or any script like it, anymore. Instead, please use --dd-grab-all. git-svn-id: http://svn.mythtv.org/svn/trunk@26034 7dbf422c-18fa-0310-86e9-fd20926502f2
…s, following r25490. git-svn-id: http://svn.mythtv.org/svn/trunk@25492 7dbf422c-18fa-0310-86e9-fd20926502f2
…ions and classes intended for normal use. Lower level stuff can still be accessed through the individual modules that contain them. Update JAMU and MiroBridge to match. git-svn-id: http://svn.mythtv.org/svn/trunk@25446 7dbf422c-18fa-0310-86e9-fd20926502f2
… from Doug Vaughan. git-svn-id: http://svn.mythtv.org/svn/trunk@25395 7dbf422c-18fa-0310-86e9-fd20926502f2
…y mythlink.pl. Previously, it was impossible to have mythlink.pl create a directory with group write permissions. This change allows directories to be created with up to 0775 permissions (but permissions will be modified by umask, so may be more restrictive if desired). Note that this change only affects directories created by mythlink.pl and will not affect already-existing directories (and has no effect on symlinks). git-svn-id: http://svn.mythtv.org/svn/trunk@25391 7dbf422c-18fa-0310-86e9-fd20926502f2