Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello Community.
I try to get metadata of mp3 files with Getid3 module in views. For this I created a relationship to my content file.
When I add a related field in views like "duration" , the display of the fiels is empty.
When I try with another related field like MIME type it work.
It seems that I can access to all of the metadata of the primary array but nothing of the sub arrays ? I am sure the metadata exists, I can see it with Devel.
Is every one can help me and maybe the Community.
Thanks in advance.
Jérôme
Comment | File | Size | Author |
---|---|---|---|
#5 | 2612060-5-file_metadata_views_relationship.patch | 1.22 KB | braindrift |
getid3_views.JPG | 122.71 KB | jcligny |
Comments
Comment #2
elamanI can confirm this issue. When displaying data through the relationship, you will get this error:
Comment #3
elamanThis issue is a symptom of unfinished views integration: #2333077: getID3 shouldn't modify weight.
I will mark it as a duplicate and start posting patches in parent issue.
Comment #4
mglamanPlease keep this open. That is a closed ticket.
Comment #5
braindrift CreditAttribution: braindrift commentedHi,
here is a patch that allows to access the file metadata via a relationship.
Comment #6
braindrift CreditAttribution: braindrift commentedComment #7
Rob_Feature CreditAttribution: Rob_Feature commentedI was having this same issue...applied the patch and now I can get duration from my relationship-based file. Thanks!
Comment #9
mglamanThanks, everyone!