I think I have to answer my own question or at least point out what I had to do.
I compared the file XMLConverter.py from 0.3 with the one from 0.4.
I moved these lines (420-421)
elif PMSroot.get('viewGroup','')=="secondary" and (PMSroot.get('art','').find('video') != -1 or PMSroot.get('thumb','').find('video') != -1):
XMLtemplate = 'HomeVideoSectionTopLevel.xml'
below these lines (423-424)
elif PMSroot.get('viewGroup','')=="secondary" and (PMSroot.get('art','').find('movie') != -1 or PMSroot.get('thumb','').find('movie') != -1):
XMLtemplate = 'MovieSectionTopLevel.xml'
"MovieSectionTopLevel.xml" is now on top of "HomeVideoSectionTopLevel.xml"
When I restarted PlexConnect and choose library Movies I get the correct section.
This is my new order in XMLConverter.py
# XMLtemplate defined by PMS XML content
if path=='':
pass # nothing to load
elif not XMLtemplate=='':
pass # template already selected
elif PMSroot.get('viewGroup','')=="secondary" and (PMSroot.get('art','').find('movie') != -1 or PMSroot.get('thumb','').find('movie') != -1):
XMLtemplate = 'MovieSectionTopLevel.xml'
elif PMSroot.get('viewGroup','')=="secondary" and (PMSroot.get('art','').find('video') != -1 or PMSroot.get('thumb','').find('video') != -1):
XMLtemplate = 'HomeVideoSectionTopLevel.xml'
elif PMSroot.get('viewGroup','')=="secondary" and (PMSroot.get('art','').find('show') != -1 or PMSroot.get('thumb','').find('show') != -1):
XMLtemplate = 'TVSectionTopLevel.xml'
elif PMSroot.get('viewGroup','')=="secondary" and (PMSroot.get('art','').find('photo') != -1 or PMSroot.get('thumb','').find('photo') != -1):
XMLtemplate = 'PhotoSectionTopLevel.xml'