2006-01-27, 19:02
hello xbmc team,
first off thanks for your great job. i want to implement a feature where xbmc reads the title for a file from a xml with the same name. (say stream.ts and stream.xml).
i get those combinations as output from my xbox.
here's what i got:
1) i wrote a parsing function that gets the titles from the xml
2) i wrote a filter function cfileitemlist::filterxmlitems() (works like filtercueitems for audio) that does the label replacement
now i'm not sure where exactly i have to call it from. i had it working in an earlier version but it was more or less patchwork: i called it in
please, i'd be very glad im someone could let me know where to launch a filter like that and if replacing the labels of the .ts file is enough.
first off thanks for your great job. i want to implement a feature where xbmc reads the title for a file from a xml with the same name. (say stream.ts and stream.xml).
i get those combinations as output from my xbox.
here's what i got:
1) i wrote a parsing function that gets the titles from the xml
2) i wrote a filter function cfileitemlist::filterxmlitems() (works like filtercueitems for audio) that does the label replacement
now i'm not sure where exactly i have to call it from. i had it working in an earlier version but it was more or less patchwork: i called it in
Quote:cguiwindowvideofiles::oninfobut it doesn't work like that anymore.
cguiwindowvideofiles::getstackeddirectory
cguiwindowvideofiles::getdirectory
please, i'd be very glad im someone could let me know where to launch a filter like that and if replacing the labels of the .ts file is enough.