[Tutor] accessing the CD rom
nathan tech
nathan-tech at hotmail.com
Tue Nov 24 21:02:49 EST 2020
Heya,
Ironically, just after I sent the message to this list I also stumbled
across the stackoverflow answer you referenced in that link.
I also however found out that CDA files are just windows way of, for
lack of a better word, they are shortcuts to the actual audio tracks on
the disk.
This has left me stumped and slightly frustrated as I'm not sure where
to go from here in my research in so far as accessing the actual track
files from python for examination in terms of their tags, or for backup
purposes.
Thanks for any tips,
Nathan
On 25/11/2020 01:51, dn via Tutor wrote:
>> I was wondering if anyone has any recommendations for modules or
>> methods for accessing the disk drive?
>>
>> I am using windows and have had very little luck installing the
>> pycdio library and it appears the cd module was taken out in python 2.6?
>>
>>
>> To be clear I'm looking to:
>>
>> 1. Check if there is a CD is the drive.
>>
>> 2. Eject the drive.
>>
>> 3. Play the tracks from the drive.
>>
>>
>> The third I'm able to handle already, the thing I'm not sure is how
>> to check for the drive and, then, to eject it.
>
> From the choice of language above, MS-Win is assumed. I don't use it,
> so won't make a specific recommendation. However, a quick web-search
> offered several alternatives:
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fduckduckgo.com%2F%3Fq%3Dpython%2Beject&data=04%7C01%7C%7C2a83eb9dd0b943b6275808d890e4d699%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637418659819134023%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=gSEfEGUj3Ip1mMi%2BWvkbmqo0PFtRKmiJun9%2FXM1ueGM%3D&reserved=0+(cd+OR+dvd)
More information about the Tutor
mailing list