Re: [Banshee-List] Compiling under windows



I just tried the updated instructions on Banshee >> Development
(http://banshee.fm/download/development/) and found that the build
errors (around 190 I think) persist.

Shouldn't the code changes be listed also?

Maybe windows building should have it's own page with more detailed
instructions including changes to code...

On 15 January 2011 19:02, Gabriel Burt <gabriel burt gmail com> wrote:
> Hrm, or maybe the project isn't set to target .NET 3.5 and so the
> System.Linq stuff is ifdef'd out?
>
> Gabriel
>
> On Sat, Jan 15, 2011 at 7:43 AM, Jensen Somers <jensen jsomers be> wrote:
>> On Fri, Jan 14, 2011 at 6:50 AM, Dustin C. Hatch <admiralnemo gmail com> wrote:
>>>
>>> I still have not completely solved the Linq extension method problem I
>>> mentioned earlier, so I replaced the ``GetSubtitleDescription`` method of
>>> the ``Banshee.GStreamerSharp.PlayerEngine`` class to::
>>>
>>>    Gst.List tag_list = playbin.GetTextTags (index)
>>>        .GetTag (Gst.Tag.LanguageCode);
>>>    foreach(string tag in tag_list)
>>>    {
>>>         if (tag != null)
>>>         {
>>>             return tag;
>>>         }
>>>    }
>>>    return default(string);
>>>
>>
>> Since Gst.List is a custom list implementation it is possible the
>> windows version does not implement the same features as the Linux
>> builds.
>> Another issue might be with the Mono implementation as adding a cast
>> to a string seems to fix the issue too. Maybe Mono is looser and
>> allows this.
>>
>> return playbin.GetTextTags(index)
>>                        .GetTag(Gst.Tag.LanguageCode)
>>                        .Cast<string>()
>>                        .FirstOrDefault(t => t != null);
>>
>> - Jensen
>> _______________________________________________
>> banshee-list mailing list
>> banshee-list gnome org
>> http://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)
>>
> _______________________________________________
> banshee-list mailing list
> banshee-list gnome org
> http://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]