Opened 13 years ago

Closed 9 years ago

#10450 closed Bug Report - General (Fixed)

Media Monitor not detecting type of media

Reported by: Nigel Owned by: Nigel
Priority: minor Milestone: unknown
Component: MythTV - General Version: Unspecified
Severity: low Keywords:
Cc: Ticket locked: no

Description

% ./mythfrontend -v media
...
2012-03-14 21:14:22.124558 I  diskAppearedCallback() - No volume name for dev disk1s1
2012-03-14 21:14:22.158941 I  Found disk disk1s2 - volume name 'Attache_1.015'.
2012-03-14 21:14:22.159013 I  MythHDD::MythHDD disk1s2
2012-03-14 21:14:22.244019 I  Disk inserted on a supermount device
2012-03-14 21:14:22.244134 N  No files with extensions found in '/Volumes/Attache_1.015'
2012-03-14 21:14:22.244139 I  Detected MediaType MEDIATYPE_DATA

where there are lots of .png files under /Volumes/Attache_1.015.

Change History (4)

comment:1 Changed 13 years ago by Nigel

Status: newassigned

MythMediaDevice::ScanMediaType?() returns false if the mount is not available. It looks like there is some threading issue - delaying a while with sleep(1) makes it recurse and count file extensions.

comment:2 Changed 13 years ago by Github

Ensure mount is available before MythMediaDevice::ScanMediaType?(). Refs #10450

Seems to only be a problem on Mac OS X, so I put this here, instead of MythMediaDevice::ScanMediaType?().

sleep()ing is a bit of a hack, but should be harmless. Not sure when this started acting up - maybe 10.6?

Branch: master Changeset: 3cb4b6a3b44c8e6b0906d926c6dc992339064d96

comment:3 Changed 13 years ago by Mario Limonciello <Mario_Limonciello@…>

In 47bed8ed5e6ee58876df6b04cda84a853b257f48/packaging:

  • Update to 0.25 gold release.
  • New upstream checkout (1f5962a)
  • >>Upstream changes since last upload (041ecad):
  • [1f5962a] RingBuffer?: Make a few more attempts to read when oldfile=true.
  • [cffed2b] Merge branch 'master' of github.com:MythTV/mythtv
  • [4f16846] Update the Danish translation of mythfrontend and all plugins.
  • [31fa9dd] Revert "Fix popup windows from disappearing in MythCenter?- wide when using the"
  • [d824ea2] Fix issues with 805453a6 and df8548e7.
  • [4b28a57] Remove the MythArchive? date/time formats from the Hong Kong Chinese locale file.
  • [df8548e] Add a null pointer check on 'screen'
  • [805453a] Don't trigger hide/show animations if the screens should still be visible because the foreground screen isn't fullscreen.
  • [d1b081e] Updated Czech MythFrontend translation
  • [e6c4aa0] Updated Polish MythFrontend and alll plugins translation from Warpme
  • [39695b2] Revert "Fixes #10490. Don't return from safe_read() early on stopreads if we haven't read any bytes, this looks like an eof to higher levels of code."
  • [28db6ca] Merge branch 'master' of github.com:MythTV/mythtv
  • [e6d3ecb] Updated French MythFrontend, MythMusic, MythNetvision? and MythNews? translation from the French Language Translation Team
  • [6473241] Update the Danish translation of mythfrontend.
  • [c52a7cf] Updated Czech MythFrontend and MythMusic translation
  • [8c6c8cd] Updated German MythFrontend and MythZoneMinder? translation from Florian Bittner
  • [aa2762f] Fix popup windows from disappearing in MythCenter?-wide when using the virtual keyboard.
  • [393295c] Fixes #10490. Don't return from safe_read() early on stopreads if we haven't read any bytes, this looks like an eof to higher levels of code.
  • [81e72c8] Clear the UI object stores when deleting MythThemeBase?, fixes themes using the wrong base window and fonts after displaying the locale/database prompts. This was already done implicitly when shutting down and explicitly when reloading themes but not in the third case, where we construct a temporary main window and MythMainWindow? is torn down instead of being re-initialised.
  • [a970d72] Fixes #10545. Populate the Switch Input menu with all available cards.
  • [d80e54b] Fix #10558
  • [14ca636] Bump binary version
  • [00bd9eb] Fix compilation following previous commit
  • [e84a9a8] Fix compilation following previous commit
  • [4c5b039] Initialise locale if it's not been done already by the time we call GetQLocale()
  • [9c73366] Translate dates/times in the DateFormat? settings
  • [a0ae652] Move Setup Wizard at the top of settings menu (part #2)
  • [02216ca] Fix video setup wizard if audio test wasn't stopped in the previous screen
  • [13652d7] Fix audio setup and add handling of extra cases.
  • [b36827e] Better handling of unmounted volumes. Refs #10450.
  • [83671d5] Revert "Better handling of unmounted volumes. Refs #10450"
  • [58e8506] Better handling of unmounted volumes. Refs #10450
  • [71a024d] Fix LoadFromOldRecorded? query in ProgList?.
  • [957917c] Replicate the spelling change I had done in 3740d7dda16b2a082f8d833f4459294202cb2687
  • [8df36ec] Translate missed string.
  • [82f9818] Improve audio setup

comment:4 Changed 9 years ago by paulh

Resolution: Fixed
Status: assignedclosed

This is a very old ticket and there have been some changes to the media monitor recently so I'm going to assume this is fixed.

Note: See TracTickets for help on using tickets.