TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
John Riker
NA
85
15.8k
Best way to collect and use groups of data.
Dec 11 2020 5:07 PM
So I have data that is similar and want to group it so I can loop thru and find the one I want to use for some video content.. So for example:
- ContentType: audio
- _bandwidth: 1234567
- _media_path: c:\blablabla\joe.ac3
- ContentType: audio
- _bandwidth: 435435345
- _media_path: c:\blablabla\joe.eac3
- ContentType: video
- _bandwidth: 43534543545
- _width: 1920
- _height: 800
- _media_path: c:\blablabla\pete_1.mpg
-ContentType: video
- _bandwidth: 345345435
- _width: 1280
- _height: 1024
- _media_path: c:\blablabla\pete_2.mpg
-ContentType: video
- _bandwidth: 5435345
- _width: 640
- _height: 480
- _media_path: c:\blablabla\pete_3.mpg
I'd share the actual XML but it's massive and a lot of garbage in it. So basically I'm trying to pull all the audio info together and then all the video info together. Assume separately since they have different data but technically they don't have to be as some of the fields on the audio side could be blank which I'm fine with to keep it all together.
What is the best way to store this kind of data. Essentially in the end I'm going to find out which video has the most bandwidth and pick that one as the highest quality video and do something similar with the audio, however need to collect it all into one place and then compare.
EDIT: And should probably say, be able to sanely be able to keep track of what is what.
Thoughts?
Thanks.
JR
Reply
Answers (
2
)
ListView1 View.List
Filewatcher tools