getmusicbee.com

Support => Developers' Area => TheaterMode => Topic started by: redwing on October 12, 2013, 06:14:43 PM

Title: Movie title field
Post by: redwing on October 12, 2013, 06:14:43 PM
I'm working on a TM view for soundtracks. Can you support a TM "field" that can populate "movie title" saved in the user's soundtrack mapping file?
Title: Re: Movie title field
Post by: redwing on October 13, 2013, 10:37:29 AM
I wish it would populate <album> instead when <movie title> is null, for the TM view to work for non-soundtracks as well.
Title: Re: Movie title field
Post by: Steven on October 13, 2013, 04:52:13 PM
will it work as you want if it only returns a value if MB is treating the file as a soundtrack?
Title: Re: Movie title field
Post by: redwing on October 13, 2013, 05:00:17 PM
You mean otherwise it returns null? Then it won't be able to retrieve <album> field for non-soundtrack files.
Title: Re: Movie title field
Post by: Steven on October 13, 2013, 05:15:21 PM
so you want it to behave like <Album> except if there is a movie title, and if so then use that
Title: Re: Movie title field
Post by: redwing on October 13, 2013, 05:43:27 PM
Thanks!
Title: Re: Movie title field
Post by: Steven on October 13, 2013, 05:46:45 PM
i have added "movieOrAlbum" as a supported field
Title: Re: Movie title field
Post by: Steven on October 13, 2013, 07:32:32 PM
http://musicbee.niblseed.com/V2_2/MusicBee_Exe_Patched.zip
Title: Re: Movie title field
Post by: redwing on October 13, 2013, 07:45:46 PM
Tried <element type="Field" id="movieOrAlbum">, but it populates nothing both for soundtracks and for non-soundtracks.
Title: Re: Movie title field
Post by: Steven on October 13, 2013, 07:51:40 PM
i have re-uploaded the files
Title: Re: Movie title field
Post by: redwing on October 13, 2013, 07:57:01 PM
Tried again with the new files, but still no luck.
Title: Re: Movie title field
Post by: Steven on October 13, 2013, 08:07:44 PM
i have re-compiled all the programs and re-uploaded again. Its working fine for me and should work
Title: Re: Movie title field
Post by: redwing on October 13, 2013, 08:12:52 PM
Yes, now it works. Thanks!
But it returns null when used as child element for next track(Tracks[1]). Can you support that?
Title: Re: Movie title field
Post by: Steven on October 13, 2013, 08:26:16 PM
there is no obvious reason why it wouldnt work as its the same code as the main field. I dont really have time to dig into it so it will stay unsolved
Title: Re: Movie title field
Post by: Steven on October 13, 2013, 08:33:45 PM
dont worry - i figured it out but wont post an update just yet
Title: Re: Movie title field
Post by: redwing on October 13, 2013, 08:36:15 PM
Great!

BTW during my test, I noticed lots of wrong pictures are retrieved especially for obscure artists like classical musicians. They are coming from Flickr, right? What if the site's removed from TM gallery sources since there's no way to control it with TM?
Title: Re: Movie title field
Post by: redwing on October 14, 2013, 01:34:12 AM
Now the new field's working perfect. Thanks!