Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Music listed twice in the database
« previous next »
  • Print
Pages: [1]

Author Topic: Music listed twice in the database  (Read 1991 times)

Offline pdedecker

  • Member
  • *
  • Posts: 15
Music listed twice in the database
« on: March 26, 2007, 08:07:47 AM »
When I go to - for example - Database > Artist > Black Lab > Passion Leaves a Trace, this is what I see:
Quote
01. Mine Again
01. Mine Again
03. The Real You
03. The Real You
Why is each song listed twice? Does it have something to do with my tagnavi file?
Quote
#! rockbox/tagbrowser/2.0
# ^ Version header must be the first line of every file

# Tag Browser configuration file, do not edit as changes will be lost!
# Instead, you can modify "/.rockbox/tagnavi_custom.config" which will never
# get overwritten automatically.

# Basic format declarations
%format "fmt_title"       "%02d. %s" tracknum title ? tracknum > "0"
%format "fmt_title"       "%s" title
%format "fmt_mostplayed"  "(%3d) %s - %s" playcount artist title %sort = "inverse" %limit = "100"
%format "fmt_lastplayed"  "%06d%s - %s" lastplayed artist title %sort = "inverse" %limit = "99" %strip = "6"
%format "fmt_best_tracks" "%02d. %s (%3d)" tracknum title autoscore
%format "fmt_played"      "(%3d/%d) %s" autoscore playcount title
%format "fmt_score"       "(%3d) %s" autoscore title

# MANUALLY ADDED FORMATTING RULES
%format "fmt_podcast" "%08d%s (%s)" length title filename %strip = "8"
%format "fmt_podcast_old" "%06d%s (%s)" length title filename %sort = "inverse" %strip = "6"
# END OF MANUALLY ADDED FORMATTING RULES

# Include our custom menu
%include "/.rockbox/tagnavi_custom.config"

#
# === Begin of "Search by..." sub menu
#

# Define the search sub menu
%menu_start "search" "Search by..."
"Artist" -> artist ? artist ~ "" & filename !~ "/Podcasts/" & filename !~ "/Other/" -> title = "fmt_title"
"Album" -> album ? album ~ "" & filename !~ "/Podcasts/" -> title = "fmt_title"
"Title" -> title ? title ~ "" & filename !~ "/Podcasts/"
"Filename" -> filename ? filename ~ "" & filename !~ "/Podcasts/"
"Score" -> title = "fmt_score" ? autoscore > "" & filename !~ "/Podcasts/"

# START OF EXTRA MENUS
%menu_start "newPods" "New podcasts"
"Audiobooks Package" -> title ? filename ~ "/Podcasts/- Audiobooks Package - A PodShow Channel" & playcount == "0"
"Comedy Package" -> title ? filename ~ "/Podcasts/- Comedy Package - A PodShow Channel" & playcount == "0"
"Entertainment Package" -> title ? filename ~ "/Podcasts/- Entertainment Package - A PodShow Channel" & playcount == "0"
"Essential Package" -> title ? filename ~ "/Podcasts/- Essential Package - A PodShow Channel" & playcount == "0"
"Music Package" -> title ? filename ~ "/Podcasts/- Music Package - A PodShow Channel" & playcount == "0"
"Stories Package" -> title ? filename ~ "/Podcasts/- Stories Package - A PodShow Channel" & playcount == "0"
"Talk Package" -> title ? filename ~ "/Podcasts/- Talk Package - A PodShow Channel" & playcount == "0"
"Technology Package" -> title ? filename ~ "/Podcasts/- Technology Package - A PodShow Channel" & playcount == "0"
"---"
"Goombah Picks" -> title ? filename ~ "/Podcasts/Goombah Free Music Fridays - with downloadable tracks" & playcount == "0"
"StuBru PVdV Ochtendshow" -> title ? filename ~ "/Podcasts/StuBru - De Grote PVdV Ochtendshow" & playcount == "0"

%menu_start "oldPods" "Archived podcasts"
"Audiobooks Package" -> title ? filename ~ "/Podcasts/- Audiobooks Package - A PodShow Channel" & playcount != "0"
"Comedy Package" -> title ? filename ~ "/Podcasts/- Comedy Package - A PodShow Channel" & playcount != "0"
"Entertainment Package" -> title ? filename ~ "/Podcasts/- Entertainment Package - A PodShow Channel" & playcount != "0"
"Essential Package" -> title ? filename ~ "/Podcasts/- Essential Package - A PodShow Channel" & playcount != "0"
"Music Package" -> title ? filename ~ "/Podcasts/- Music Package - A PodShow Channel" & playcount != "0"
"Stories Package" -> title ? filename ~ "/Podcasts/- Stories Package - A PodShow Channel" & playcount != "0"
"Talk Package" -> title ? filename ~ "/Podcasts/- Talk Package - A PodShow Channel" & playcount != "0"
"Technology Package" -> title ? filename ~ "/Podcasts/- Technology Package - A PodShow Channel" & playcount != "0"
"---"
"Goombah Picks" -> title ? filename ~ "/Podcasts/Goombah Free Music Fridays - with downloadable tracks" & playcount != "0"
"StuBru PVdV Ochtendshow" -> title ? filename ~ "/Podcasts/StuBru - De Grote PVdV Ochtendshow" & playcount != "0"
# END OF EXTRA MENUS

# ^ An empy line ends the menu

#
# === Begin of main menu
#

# Define the title of the main menu
%menu_start "main" "Rockbox Database"
"Artist"   -> artist ? filename !~ "/Podcasts/" & filename !~ "/Other/" -> album  -> title = "fmt_title"
"Album"    -> album ? filename !~ "/Podcasts/" & filename !~ "/Other/" -> title = "fmt_title"
"Genre"    -> genre ? filename !~ "/Podcasts/" & filename !~ "/Other/" -> artist -> album -> title = "fmt_title"
"Composer" -> composer ? filename !~ "/Podcasts/" & filename !~ "/Other/" -> album -> title = "fmt_title"
"Track"    -> title ? filename !~ "/Podcasts/" & filename !~ "/Other/"
"Year"     -> year ? year > "1000" & year < "2008" & filename !~ "/Podcasts/" & filename !~ "/Other/" -> artist -> album -> title = "fmt_title"
"Search..." ==> "search"
"New podcasts" ==> "newPods"
"Archived podcasts" ==> "oldPods"
"Most played tracks" -> title = "fmt_mostplayed" ? playcount > "0" & filename !~ "/Podcasts/" & filename !~ "/Other/"
"Last played" -> title = "fmt_lastplayed" ? playcount > "0"
"Never played tracks" -> artist ? playcount == "0" & filename !~ "/Podcasts/" & filename !~ "/Other/" -> album -> title = "fmt_title"
"Best tracks" -> artist ? playcount > "1" & autoscore > "85" & filename !~ "/Podcasts/" & filename !~ "/Other/" -> album -> title = "fmt_best_tracks"
"List played" -> title = "fmt_played" ? playcount > "0"
"Last added tracks" -> artist ? entryage == "0" & filename !~ "/Podcasts/" & filename !~ "/Other/" -> album -> title = "fmt_title"
"Custom view..."  ==> "custom"

# And finally set main menu as our root menu
%root_menu "main"
Logged

Offline Toxikator

  • Member
  • *
  • Posts: 78
  • Superior Sound (inferior slogan)
    • Big Black Nothing
Re: Music listed twice in the database
« Reply #1 on: March 26, 2007, 10:17:51 AM »
Do all songs do this? When I get these sort of goofy errors I just reboot and they go away.
Logged

Buy Big Black Nothing's "Afraid of Sleep" now!

Offline pdedecker

  • Member
  • *
  • Posts: 15
Re: Music listed twice in the database
« Reply #2 on: March 26, 2007, 01:22:40 PM »
Quote
Do all songs do this?
No, not all artist menus show every song twice.
Quote
I just reboot and they go away.
Didn't fix my problem. :(
Logged

Offline xlarge

  • Member
  • *
  • Posts: 191
Re: Music listed twice in the database
« Reply #3 on: March 26, 2007, 01:30:28 PM »
Common error;
You have them twice on your harddrive (don't forget to check the hidden folder 'recycled' if you are on windows)

Your database is shot;
 export modifications
 delete the database files under .rockbox (exclusive the modifications textfile)
 reinitialize the database
 reboot
Logged

Offline pdedecker

  • Member
  • *
  • Posts: 15
Re: Music listed twice in the database
« Reply #4 on: March 26, 2007, 02:18:46 PM »
Quote
(don't forget to check the hidden folder 'recycled' if you are on windows)
I'm on Linux, so that directory cannot be the cause of the problem. I did check the root directory for hidden folders though, I found nothing interesting.



I also checked the properties of the duplicated database entries. Both were stored in the directory /Music/Black Lab with filename Mine Again.mp3.

[Update] Reinitializing the database worked.
« Last Edit: March 26, 2007, 02:23:54 PM by pdedecker »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Music listed twice in the database
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.072 seconds with 15 queries.