margro / TVServerXBMC

Kodi/XBMC pvr backend plugin for MediaPortal's TVServer
http://www.scintilla.utwente.nl/~marcelg/xbmc/tvserverxbmc.html
20 stars 18 forks source link

Recordings don't have a title but only an episode name #4

Closed margro closed 11 years ago

margro commented 12 years ago

Commit 42016f3829816cac7d6d4fbacf070d57ac7be4a4 introduces a features to prevent duplicate information, but this only works fine if you store the recordings in a subfolder with the series name. The current implementation just filters out the title when it has episode information.

It is better to move this to the pvr addon side and make this behavior configurable and only filter when we have a subfolder.

jajoflo commented 12 years ago

I agree it should be move to the addon.

TVServer should provide the info and not agragate it. The addon would group recordings based on user configuration. Basically simply setup the director to the field to group by. i.e: cPVRClientMediaPortal::GetRecordings...() ... strDirectory.Format("%s", recording.ChannelName(), GetRecordingGroupBy(tag)); ...

Question: On which fields does it make sense to group on? Program, Channel Name, Should it be possible to combine (Group by Channel + Program)

If the above is done should it still be possible to use the Flattened backend directory structure?

margro commented 11 years ago

Original issue was fixed with: 7da6cb47792ba43a1d2cbfa598dabdb766435a01