Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Certaines clés sont mal récupérées #1

Open
cyprien-g opened this issue Jul 30, 2015 · 0 comments
Open

Certaines clés sont mal récupérées #1

cyprien-g opened this issue Jul 30, 2015 · 0 comments

Comments

@cyprien-g
Copy link
Contributor

Exemples :

LabelName :
 >>> p(ddex_dict['ReleaseList']['Release'][0]['ReleaseDetailsByTerritory'][0]['LabelName'])
[{'LabelNameType': None, 'LanguageAndScriptCode': None}]

Alors que la valeur est bien présente dans le fichier ddex.
Le même problème apparaît pour ParentalWarningType et ReleaseType.

ReleaseResourceReference :
>>> p(ddex_dict['ReleaseList']['Release'][0]['ReleaseResourceReferenceList'])
{'ReleaseResourceReference': [{'ReleaseResourceType': u'PrimaryResource'},
                              {'ReleaseResourceType': u'PrimaryResource'},
                              {'ReleaseResourceType': u'PrimaryResource'},
                              {'ReleaseResourceType': u'PrimaryResource'},
                              {'ReleaseResourceType': u'SecondaryResource'}]}

Alors que dans le ddex le xml est de la forme :

<ReleaseResourceReferenceList>
        <ReleaseResourceReference ReleaseResourceType="PrimaryResource">A1</ReleaseResourceReference>
        <ReleaseResourceReference ReleaseResourceType="PrimaryResource">A2</ReleaseResourceReference>
        <ReleaseResourceReference ReleaseResourceType="PrimaryResource">A3</ReleaseResourceReference>
        <ReleaseResourceReference ReleaseResourceType="PrimaryResource">A4</ReleaseResourceReference>
        <ReleaseResourceReference ReleaseResourceType="SecondaryResource">A5</ReleaseResourceReference>
</ReleaseResourceReferenceList>

ddexreader ne récupère pas la valeur des balises ReleaseResourceReference (A1, A2...).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant