mythexport does not create unique filenames

Bug #719505 reported by Malcolm Parsons
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MythExport
New
Wishlist
Unassigned
mythexport (Ubuntu)
New
Undecided
Unassigned

Bug Description

Some of my recordings have long subtitles.

mythexport creates filenames for these that do not include the recording date and time.

Some examples:
BBC-Radio-4-Bleak_Expectations-Six_part_comedy_Victorian_ad.mp3
BBC-Radio-4-Bleak_Expectations-Comedy_Victorian_adventure_b.mp3
BBC-Radio-4-Just_a_Minute-Comedy_panel_game_chaired_by_Nico.mp3
FIVE-Massive_Speed-Chris_Barrie_examines_the_evolution_of_s.m4v

As these subtitles are generic, these filenames are not unique.

My RSS reader thinks I've already seen these recordings.

Can the filename be shortened in a way that retains the whole date and time?

Tags: patch
description: updated
rhpot1991 (rhpot1991)
Changed in mythexport:
importance: Undecided → Wishlist
Revision history for this message
Malcolm Parsons (malcolm-parsons) wrote :

I've been using this patch for a while.

Revision history for this message
rhpot1991 (rhpot1991) wrote :

Thanks for the patch, this already missed 12.04 release, I'll re-visit it for the 12.10 release.

Some of the code around this area changed for the 12.04 release, to fix: https://bugs.launchpad.net/ubuntu/+source/mythexport/+bug/688049

So you will need to re-adjust your fix once you upgrade.

Revision history for this message
Malcolm Parsons (malcolm-parsons) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Truncate before adding start time" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
John Veness (pelago) wrote :

I was also affected by this issue. The patch in #3 fixes this for me.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.