Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with the scrip #7

Open
fynnit opened this issue Sep 10, 2022 · 0 comments
Open

Problem with the scrip #7

fynnit opened this issue Sep 10, 2022 · 0 comments

Comments

@fynnit
Copy link

fynnit commented Sep 10, 2022

Hi when I run the script, I get a couple of warnings and at the end
an error with the script so it seems

What can I do, can you help me?

DINGER-2:swinsian2itlxml-master dinger$ ./swinsian2itlxml.py -x fynn.xml
2022-09-10 13:33:53 INFO: Opening Swinsian database '/Users/dinger/Library/Application Support/Swinsian/Library.sqlite'...
2022-09-10 13:33:53 INFO: Generating track information...
2022-09-10 13:33:54 WARNING: Jandl, bierrmann / 09 Strickleiter (Jandl) has a play date earlier than date added, 2013-10-02 11:16:00 [play date] < 2013-11-09 01:41:44 [date added]
2022-09-10 13:33:54 WARNING: Retag! / Harry Rowohlt liest Flann O'Brien - has a play date earlier than date added, 2013-08-24 14:53:00 [play date] < 2013-11-09 01:49:14 [date added]
2022-09-10 13:33:54 WARNING: Nancy Sinatra / Theses Boots Ar has a play date earlier than date added, 2013-08-23 22:35:00 [play date] < 2013-11-09 01:50:00 [date added]
2022-09-10 13:33:54 WARNING: Jozif / Guitar Player (Original Mix) has a play date earlier than date added, 2013-04-20 02:22:00 [play date] < 2013-11-09 01:52:03 [date added]
2022-09-10 13:33:55 WARNING: Plastikman  / headcase has a play date earlier than date added, 2014-02-26 18:57:36 [play date] < 2014-07-09 20:53:02 [date added]
2022-09-10 13:33:55 WARNING: Plastikman  / i don't know has a play date earlier than date added, 2014-06-22 15:01:02 [play date] < 2014-07-09 20:55:28 [date added]
2022-09-10 13:33:55 WARNING: Amount / Weisshorn_URS004 has a play date earlier than date added, 2014-09-09 11:36:29 [play date] < 2014-10-11 01:23:28 [date added]
2022-09-10 13:33:55 WARNING: Walker & Royce / A Perfect Sound feat. Louisahhh! (Original Mix) has a play date earlier than date added, 2014-10-31 21:59:06 [play date] < 2015-01-05 21:00:34 [date added]
2022-09-10 13:33:55 WARNING: Cagedbaby / Forced (Full_Force_Idiotproof_Remix) has a play date earlier than date added, 2014-08-05 06:03:32 [play date] < 2015-01-11 12:20:42 [date added]
2022-09-10 13:33:55 WARNING: Rich Vom Dorf / Begin Gro (The Chosen Two Remix) has a play date earlier than date added, 2014-10-31 23:52:32 [play date] < 2015-04-12 01:39:49 [date added]
2022-09-10 13:33:55 WARNING: Slumber, Guada FX / Nightwalkers feat. Guada FX (Elia Crecchi Remix) has a play date earlier than date added, 2014-10-31 22:52:18 [play date] < 2015-04-12 01:39:49 [date added]
2022-09-10 13:33:55 WARNING: None / Golden Brown (The Apple Scruffs Edit) has a play date earlier than date added, 2014-09-22 07:44:37 [play date] < 2015-11-03 23:14:10 [date added]
2022-09-10 13:33:55 WARNING: None / Sedna lo to kullen3-- 1.mix 13.11   has a play date earlier than date added, 2015-02-19 19:19:08 [play date] < 2015-11-04 00:08:45 [date added]
2022-09-10 13:33:55 WARNING: None / morning walk (tadpole´s oriental mix) has a play date earlier than date added, 2015-02-24 16:10:23 [play date] < 2015-11-04 00:11:54 [date added]

Traceback (most recent call last):
  File "./swinsian2itlxml.py", line 352, in <module>
    main()
  File "./swinsian2itlxml.py", line 347, in main
    itunes_music_folder=args.itunes_music_folder)
  File "./swinsian2itlxml.py", line 174, in generate_xml
    total_time = int(math.ceil(row["length"] * 1000))
TypeError: unsupported operand type(s) for *: 'NoneType' and 'int'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant