Example #1
0
        private void LoadVanillaSongs(RadioContentInfo.ContentType type)
        {
            String path = Path.Combine(Path.Combine(DataLocation.gameContentPath, "Radio"), type.ToString());

            // The content determination algorithm will always return "Music". Set it manually.
            foreach (var content in LoadSongsFromCollection("Vanilla Legacy " + type.ToString(), type.ToString() + ": ", path)) //!! Breaks adding custom songs to vanilla content if changed!
            {
                content.m_isVanilla   = true;
                content.m_ContentType = type;
            }
        }